Webサーバのインストール

Apacheをインストールするにはhttpdパッケージをインストールします。

yum -y install httpd

でインストールします。


Apacheの起動
Apacheを起動するには

/etc/rc.d/init.d/httpd start

を実行します。


CentOS起動時に自動起動する
自動で起動するには

chkconfig httpd on

を実行します。



初版2008/11/21 :最終更新2008/11/21
HOME