centos
- After centos is downloaded, there is no built-in gcc installation package, which needs to be downloaded online
ubuntu
- ubuntu has built-in gcc and g ++ installation packages, which can be used directly after installation
- ubuntu's default vim editor is vim-tiny, and using the arrow keys when editing text will cause problems.
To solve this problem, you first need to remove the default vim-tiny of v, and then download and install vim-full.
Install and download the code
vim-full installation package requires Internet download
sodu apt-get remove vim-common
sodo apt-get install vim
Link: http://m.blog.csdn.net/blog/zuisuozhe/37600293![Alt ]
The root password of root ubuntu needs to be set