初期設定

1.ファイアウォール

ネットワーク内の上位にファイアウォールがおり、ホスト側では必要なければ停止しておきます。
<pre class=”lang:default decode:true”># /etc/rc.d/init.d/iptables stop
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading iptables modules: [ OK ]
# chkconfig iptables off
# chkconfig ip6tables off</pre>
2.SELinux 無効化
SELinux (Security-Enhanced Linux)はここでは無効にしておきます。
<pre class=”lang:default decode:true “># vi /etc/sysconfig/selinux
1
2 # This file controls the state of SELinux on the system.
3 # SELINUX= can take one of these three values:
4 # enforcing – SELinux security policy is enforced.
5 # permissive – SELinux prints warnings instead of enforcing.
6 # disabled – No SELinux policy is loaded.
7 SELINUX=disabled
// disabled に変更
8 # SELINUXTYPE= can take one of these two values:
9 # targeted – Targeted processes are protected,
10 # mls – Multi Level Security protection.
11 SELINUXTYPE=targeted
12
# reboot
// 再起動</pre>

シェアする

  • このエントリーをはてなブックマークに追加

フォローする