-
selinux 优化
vi /etc/selinux/configSELINUX=disabled 关闭selinux
需要重启生效- sestatus -v 查看selinux状态
-
防火墙优化
- systemctl stop firewalld 关闭防火墙
- systemctl disabled firewalld 禁止防火墙服务开机自启动。
-
自启动服务优化
- systemctl list-unit-files | grep enable 查看自启动服务
禁用自启动服务- systemctl stop bluetooth
- systemctl disable bluetooth 禁止蓝牙服务自启动。
- systemctl list-unit-files | grep enable 查看自启动服务
linux 基本优化
猜你喜欢
转载自www.cnblogs.com/woodware/p/12801163.html
今日推荐
周排行