BLOG

 

apacheの再起動

29 12月 2013, Posted by Teppei Tokikawa in サーバー管理

 

[promo_text customclass=””]apacheの設定を変更した場合は[bold_text]apacheの再起動[/bold_text]が必要です。[/promo_text]

再起動を行う前に、設定ファイルが正しく記載されているかチェックします。

 

 

1,apacheの設定構文チェック

# /etc/init.d/httpd configtest
Syntax OK

 

 

2,apache再起動

# /etc/init.d/httpd restart
httpd を停止中: [ OK ]
httpd を起動中: [ OK ]

 

Post a comment