• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
wjshan0808

Learn from yesterday, Live for today, For a better tomorrow.
 ————wjshan0808

博客园    首页    新随笔    联系   管理    订阅  订阅
2013年9月10日
CentOS 关闭暂不需要的系统服务
摘要: 需要保留的服务:crond、iptables、irqbalance、microcode_ctl、network、random、sshd、syslog、local一 。使用命令:ntsysv 打开选项窗口进行操作 Press to choice二 、脚本完成:for i in `ls /etc/rc3.d/S*`do CURSRV=`echo $i|cut -c 15-`echo $CURSRVcase $CURSRV in crond | iptables | irqbalance | microcode_ctl | network | random | sshd | sysl... 阅读全文
posted @ 2013-09-10 20:48 wjshan0808 阅读(409) 评论(0) 推荐(0)
命令 关闭SElinux
摘要: # sed -i 's/^SELINUX=.*$/SELINUX=disabled/g' /etc/selinux/config 阅读全文
posted @ 2013-09-10 20:41 wjshan0808 阅读(308) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3