Command line examples for Apache Administration / Apacheの利用でよくやるコマンド一覧(随時更新)

公開: 2021-12-21 / 更新: 2025-07-16

apacheのステータスチェック

$ systemctl status apache2

configファイルの構文チェック

$ apachectl configtest

エラーログのチェック

$ tail -f /var/log/apache2/error.log