RHEL 关闭不必要服务的指令集

来源:互联网 发布:剑三成女捏脸数据最新 编辑:程序博客网 时间:2024/06/04 23:30

Redhat EnterpriseLinux,像我们用于内部网,主要做科学计算,安装一些专业软件,不是暴露在internet环境中的计算机,安装都要求模块装全,并关闭防火墙,以及其它一些不必要的服务。

一般安装完成后直接使用以下指令关闭:

chkconfig sendmail off

service iptables stop

service ip6tables stop

chkconfig iptables off

chkconfig ip6tables off

0 0