vmware新建虚拟机,安装18.04光盘映像文件,分配4G内存,4个处理器,内存40G。
简单配置:
vmware18默认安装Python3,无python2。
1. 先设置网络:sudo apt install net-tools
2. 更换软件源:
sudo vi /etc/apt/source.list
将内容用:%d全部删除,更换为中科大源:
###中科大源deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
3. 安装vim:
sudo apt-get install vim
4. 安装中文输入法:
点击settings->region&language->manage installed languages
至此打开了language support窗口,
然后install/remove languages->Chinese(simplified)->apply,关闭language support窗口,
在region&language窗口的Input Sources添加Chinese(Pinyin).
完成。
5. 安装ide(spyder)
sudo apt-get install spyder
6. 校正系统时间
点击settings->Details->Date&Time, 关闭Automatic Time Zone, 点击Time Zone选择shanghai。ok~
网友评论