Linux virtualbox setup notes
Linux setup notes
sudo apt-get install python3-pip
This command is used to solve the problem of no distutils when using pycharm in Ubuntu.
sudo apt-get install python3-distutils
For no setuptools module
sudo apt-get install python3-setuptools
Failed to load module “canberra-gtk-module”
sudo apt-get install libcanberra-gtk-module
This link is used to enable the ubuntu in virtual box to exchange files and folders with the hosting system. https://www.cnblogs.com/lidabo/p/5317024.html
This part is for resetting the setting variable if you have set wrong setting variables that forbit you to use the common commands.
共享掛載
設定好共享名後,進入Ubuntu系統,開啟終端,先執行命令sudo usermod -aG vboxsf ,最後一個引數是你的linux使用者名稱,把你的linux使用者加入到vboxsf組。
Add setting variables to sudo
> sudo visudo
for example:
Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin
You add "/usr/local/bin", then it would look like this:
Defaults secure_path = /sbin:/bin :/usr/sbin:/usr/bin:/usr/local/bin
The above part does not work, but the part below works:
alias pycharm=”/home/tar/Downloads/pycharm-2018.2.3/bin/pycharm.sh”
source .bashrc
reference :https://blog.csdn.net/vertor11/article/details/70799971