LoginSignup
2
5

More than 3 years have passed since last update.

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

Posted at

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
2
5
0

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
  3. You can use dark theme
What you can do with signing up
2
5