search
LoginSignup
5

More than 1 year has passed since last update.

posted at

Apache & CentOS 7 超シンプル早見表

root ユーザー or sudo コマンドで実行の必要があります。

起動

systemctl start httpd

停止

systemctl stop httpd

再起動

systemctl restart httpd

システム起動時の自動起動の設定

systemctl enable httpd

システム起動時の自動起動を解除

systemctl disable httpd

Configtest

service httpd configtest
apachectl configtest
apachectl -t

Graceful

service httpd graceful
systemctl reload httpd
apachectl -k graceful

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
5