crontab -e |
0 0 * * * yum update -y |
vim /etc/yum.conf |
installonly_limit = 2 |
visudo #修改SUDO的權限指令 |
使用者 ALL=(root) ALL |
vim /etc/ssh/sshd_config |
PermitRootLogin no |
yum install ntp systemctl start ntpd systemctl enable ntpd |
vim /etc/vimrc |
if &term=="xterm" set t_Co=256 set t_Sb=^[[4%dm set t_Sf=^[[3%dm hi Comment ctermfg=lightblue endif |