To start, stop, and restart the Apache Web Server (httpd) on Ubuntu, you can use the /etc/init.d/apache2 script.

You need to ssh to your Pod as root, or use sudo command. Here are each of the commands:

Start:

root@mypod:~# sudo /etc/init.d/apache2 start

Stop:

root@mypod:~# sudo /etc/init.d/apache2 stop

Restart:

root@mypod:~# sudo /etc/init.d/apache2 restart


Tags: , , , , , , ,

Spin up a cloud server in no time flat

Simple setup. Full root access. Straightforward pricing.


DEPLOY SERVER




Leave a Reply