ファイアウォール2011/11/09 |
[1] | ネットワーク内の上位にファイアウォールがおり、ホスト側では必要なければ停止しておきます。 |
[root@dlp ~]# systemctl stop iptables.service [root@dlp ~]# systemctl stop ip6tables.service [root@dlp ~]# systemctl disable iptables.service rm '/etc/systemd/system/basic.target.wants/iptables.service' [root@dlp ~]# systemctl disable ip6tables.service rm '/etc/systemd/system/basic.target.wants/ip6tables.service' |
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 |