Blog

A place to find web related blog posts.

How to Start, Restart, Stop Apache and MySQL on Latest version of Ubuntu

Ubuntu is one of the most used Linux derivative. I also use Ubuntu to deploy websites on Cloud servers. Here are quick snippets to manage Apache http server and MySQL database server.

Managing Apache Server

Starting Apache

sudo service apache2 start

Restarting Apache

sudo service apache2 restart

Stopping Apache

sudo service apache2 stop

In same way MySQL Database server can also be managed.

Starting MySQL

sudo service mysql start

Restarting MySQL

sudo service mysql restart

Stopping MySQL

sudo service mysql stop
adminHow to Start, Restart, Stop Apache and MySQL on Latest version of Ubuntu
Share this post