apache コマンド

Apacheの起動

[root@tl01 bin]# ./apachectl start
./apachectl start: httpd started
[root@tl01 bin]#


Apacheの停止

[root@tl01 bin]# ./apachectl stop
./apachectl stop: httpd stopped
[root@tl01 bin]#


Apacheの再起動

[root@tl01 bin]# ./apachectl restart
./apachectl restart: httpd restarted
[root@tl01 bin]#


Apacheの状態表示

[root@tl01 bin]# ./apachectl status

Apacheの再起動

[root@tl01 bin]# ./apachectl graceful
./apachectl graceful: httpd gracefully restarted
[root@tl01 bin]#


Apacheコンフィギュレーションファイルの文法チェック

[root@tl01 bin]# ./apachectl configtest
Syntax OK
[root@tl01 bin]#