linux(centos_redhat)裸机配置

sudo yum upgrade
#sudo yum update

sudo yum -y install
# anaconda:
libXcomposite libXcursor libXi libXtst libXrandr alsa-lib mesa-libEGL libXdamage mesa-libGL libXScrnSaver
# vim:
gcc gcc-c++ ncurses-devel
# usual:
zip unzip git lrzsz zsh ruby
## 更新vim
wget https://github.com/vim/vim/archive/master.zip
#https://github.com/vim/vim/tags 在此下载最新版
unzip master.zip
cd vim-master
cd src/
./configure --with-features=huge --enable-rubyinterp=yes --enable-python3interp=yes --enable-multibyte=yes --with-python3-config-dir=/installpackages/anaconda3/lib/python3.7/config-3.7m-x86_64-linux-gnu
sudo make
sudo make install
vim
#yum源配置,nvidia10.2一些配置
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
yum install nvidia-detect
yum -y install kmod-nvidia-440.82

你可能感兴趣的:(Linux,tip)