安装ubuntu虚拟环境
一. 安装
1. 准备:
1). Oracle VM VirtualBox https://www.virtualbox.org/ 2). Ubuntu 18.04.2 LTS https://ubuntu.com/download/desktop
2. 在VMBox上创建ubuntu虚拟机
注意:注意一下粘贴板和拖放就可以了
3.启动虚拟机
(1). 如果没选择虚拟盘片会让你选择
(2). 进去选中文,剩下的你都看的懂
4.更新虚拟机系统以及内置应用
(1). 右键打开终端 (2). 更新资源update: sudo apt-get update (3). 对软件进行升级: sudo apt-get upgrade (4). 安装上面的更新后重新启动一次系统: sudo reboot (5). 检测是否有ubuntu新版本: sudo update-manager -c -d (6). 看页面提示
5. 安装增强
二. Python环境IDE安装
1. ubuntu自带Python3.6和Python2.7
2. 安装ToolBox(开发IDE集成工具)
三. 更改ubuntu下载源
1. 备份:sudo cp /etc/apt/sources.list /etc/apt/sources_init.list
2. 更换:sudo vi /etc/apt/sources.list
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
3. 已经可以使用了