http://ftp.jaist.ac.jp/pub/Linux/CentOS/6.6/isos/x86_64/CentOS-6.6-x86_64-netinstall.iso
からネットワークインストール用のisoをダウンロードして
インストールの時のURLに
http://ftp.jaist.ac.jp/pub/Linux/CentOS/6.6/os/x86_64/
を指定。
タイプをWebサーバーにして
インストールを終了。
その後にHTTP、HTTPSへ外部からアクセス出来るようにしました。
[FireWall設定ツールのインストール]
#yum install system-config-firewall-tui
[FireWallでhttp、httpsの通信を通す]
#system-config-firewall-tui
1.[カスタマイズ]を選択してEnter
2.[信頼したサービス]で
www(HTTP)
安全なwww(HTTPS)
にチェックを付けて「閉じる」
3.[ファイアウォールの設定]に戻るの[OK]
[iptablesの設定を確認]
# iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination