ファイアウォール2015/01/13 |
[1] | ネットワーク内の上位にファイアウォールがおり、ホスト側では必要ない場合は停止しておきます。 |
[root@dlp ~]# /etc/rc.d/init.d/iptables stop Flushing firewall rules: [ OK ] Setting chains to policy ACCEPT: filter [ OK ] Unloading iptables modules: Removing netfilter NETLINK layer. [ OK ] [root@dlp ~]# chkconfig iptables off [root@dlp ~]# chkconfig ip6tables off |
SELinux 無効化
|
[2] | SELinux (Security-Enhanced Linux)を無効にする場合は以下のように設定します。 |
[root@dlp ~]#
# This file controls the state of SELinux on the system.vi /etc/sysconfig/selinux # 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 # 修正 # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted |
Sponsored Link |
|