ubuntu环境搭建
1、 安装vm
2、 新建虚拟机
创建虚拟磁盘120G,使用单个文件
3、 安装Ubuntu
4、 配置环境
安装vmtools
Vim安装,配置vim环境
Git安装
Nfs安装
安装cmake
安装ctags
5、 配置vim开发环境
参考:
https://www.linuxidc.com/Linux/2017-09/147175.htm
https://blog.csdn.net/qq_41250354/article/details/90513598
Ubuntu16国内源
deb http://mirrors.aliyun.com/ubuntu/ xenial main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security universe
vim永久显示行号
vi /etc/vim/vimrc
后面加上
set nu