[1]It's unnecessarry to enable FireWall because it's enable on the Routers, so Change it to disabled.
[root@ns ~]# /etc/rc.d/init.d/iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: [ OK ]
[root@ns ~]# chkconfig iptables off
[root@ns ~]# chkconfig ip6tables off
Disable SELinux
[2]Change to disabled SELinux (Security-Enhanced Linux).
[root@ns ~]# vi /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#enforcing - SELinux security policy is enforced.
#permissive - SELinux prints warnings instead of enforcing.
#disabled - SELinux is fully disabled.
SELINUX=disabled# change
# SELINUXTYPE= type of policy in use. Possible values are:
#targeted - Only targeted network daemons are protected.
#strict - Full SELinux protection.
SELINUXTYPE=targeted
Tài liệu đọc thêm Linux basic
No comments:
Post a Comment