1.

Apacheの起動・停止コマンド(Linux)

編集

Apacheの起動・停止コマンド(Linux)です。

 

起動

Redhat系

service httpd start

/etc/init.d/httpd start

Ubuntu

service apache2 start

 

停止

Redhat系

service httpd stop

/etc/init.d/httpd stop

Ubuntu

service apache2 stop

 

再起動

Redhat系

service httpd restart

Ubuntu

service apache2 restart

 

ステータス確認

Redhat系

service httpd status

/etc/init.d/httpd status

Ubuntu

service apache2 status

 

 

編集
Post Share
子ページ

子ページはありません

同階層のページ
  1. 起動・停止(Linux)
  2. 起動・停止(macOS)