ファイアウォール2015/05/27 |
[1] | ネットワーク内の上位にファイアウォールがおり、ホスト側ではファイアウォールは必要ない場合は、以下のようにして停止しておきます。 |
[root@localhost ~]# systemctl stop firewalld [ 9273.261909] Ebtables v2.0 unregistered [root@localhost ~]# systemctl disable firewalld Removed symlink /etc/systemd/system/basic.target.wants/firewalld.service. Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service. |
SELinux 無効化
|
[2] | SELinux (Security-Enhanced Linux)を無効にする場合は以下のように設定します。 |
[root@localhost ~]#
vi /etc/selinux/config # 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 - No SELinux policy is loaded.SELINUX= disabled # 変更 # SELINUXTYPE= can take one of these three values: # targeted - Targeted processes are protected, # minimum - Modification of targeted policy. Only selected processes are protected. # mls - Multi Level Security protection. SELINUXTYPE=targeted |
Sponsored Link |