CentOS7のApacheの再起動、起動、停止コマンドとログ

Linux

Apacheの設定ファイル

$ vi /etc/httpd/conf/httpd.conf

Apacheの起動まわり

Apacheの再起動
$systemctl restart httpd

Apacheの起動
$systemctl start httpd

Apacheの停止
$systemctl stop httpd

Apacheのログまわり

エラーログ

/var/log/httpd/error_log

私はよくこんな感じでエラーをみています。
$tail -100f /var/log/httpd/error_log
アクセスログ

/var/log/httpd/access_log

コメント

タイトルとURLをコピーしました