TechNote

事務屋のおぼえがき

【Ubuntu】UbuntuでApacheの起動・停止・再起動コマンド

UbuntuApacheの起動・停止・再起動コマンドのメモ。誰でもときどき忘れますよね。

Ubuntuapacheを起動

sudo service apache2 start

Ubuntuapacheを停止

sudo service apache2 stop

Ubuntuapacheを再起動

sudo service apache2 restart