CentOS base 0
10 May 2018OS Installation: Do this by selecting Install <distro> but instead of pressing Enter, press Tab and add nomodeset text to the end of the boot command line.
/etc/sysconfig/network-scripts/ifcfg-ens192
1 2
DEVICE=ens192 ONBOOT=yes
Packages Installation
1
yum -y install vim-enhanced tree wget pciutils lshw
/etc/bashrc
1 2 3 4 5 6 7
alias vi=vim alias tree='tree -C' export LC_ALL=en_US.UTF-8 eval "$(dircolors /etc/DIR_COLORS)" for file in /etc/bash_completion.d/* ; do source "$file" done
/etc/vimrc
1 2 3 4 5 6 7 8 9 10
set background=dark set expandtab set tabstop=4 set ai set hls map <C-n> :tabnext<CR> map <C-p> :tabprevious<CR> set tabpagemax=300 set fencs=utf-8,big5,cp932,ucs-bom,shift-jis,gb18030,gbk,gb2312,cp936 set laststatus=2 statusline=%<%f\ %h%m%r%=%{\"[\".(&fenc==\"\"?&enc:&fenc).((exists(\"+bomb\")\ &&\ &bomb)?\",B\":\"\").\"]\ \"}%k\ %-14.(%l,%c%V%)\ %P
Install kernel-ml
1 2 3 4 5 6
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org yum install elrepo-release yum --enablerepo=elrepo-kernel install kernel-ml grub2-mkconfig -o /boot/grub2/grub.cfg # yum --enablerepo=elrepo-kernel install kernel-ml kernel-ml-devel kernel-ml-headers kernel-ml-tools kernel-ml-tools-libs kernel-ml-tools-libs-devel
Yum commands
1 2 |
|
autossh
1 2 |
|
: