0
点赞
收藏
分享

微信扫一扫

centos安装后需要关闭一些的程序以及更新程序


1. chkconfig sendmail off(查看:chkconfig --list)


2.service sendmail stop


3.yum update(以后就只要update安全方面的安装:yum install yum-security 使用:  yum update --security)



4.编辑/etc/sudoers文件。也就是输入命令"vim /etc/sudoers",输入"i"进入编辑模式,找到这一 行:"root ALL=(ALL) ALL"在起下面添加"xxx ALL=(ALL) ALL"(这里的xxx是你的用户名),然后保存(就是先一 下Esc键,然后输入":wq!"退出。

举报

相关推荐

0 条评论