平成21年1月24日
Apacheの導入
-------------------------------------------------------
Apache(httpd) はインストールされています。
http://210.171.161.101 <- 外部からサーバーのIPで参照してみる(Apache画面)
# chkconfig --list
# yum update httpd <- 最新にする
# yum updeta <- 全体を最新にする
# service httpd stop <- 停止
# service httpd start <- 開始
Apache ルート (/var/www/html)
# yum install mod_perl <- Perlを追加する
/etc/httpd/conf/httpd.conf <- 編集する
ServerAdmin root@localhost
210.171.161.101 <- サーバーのIPを設定
#ServerName www.example.com:80
ServerName 210.171.161.101:80 <- サーバーのIPを設定