首页 > 系统服务 > 详细

linux 基本优化

时间:2020-04-29 12:40:18      阅读:68      评论:0      收藏:0      [点我收藏+]
  • selinux 优化

             vi /etc/selinux/config
             SELINUX=disabled   关闭selinux
             需要重启生效
    • sestatus -v    查看selinux状态
  • 防火墙优化

    • systemctl stop firewalld             关闭防火墙
    • systemctl disabled firewalld       禁止防火墙服务开机自启动。
  • 自启动服务优化

    • systemctl list-unit-files | grep enable    查看自启动服务
      禁用自启动服务
      • systemctl stop bluetooth
      • systemctl disable bluetooth    禁止蓝牙服务自启动。

linux 基本优化

原文:https://www.cnblogs.com/woodware/p/12801163.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!