Posts from 10 November 2012

All Posts from 10 November 2012

How to restart MySQL as a service on Linux (Ubuntu)

On Ubuntu Linux, if MySQL is running as a service and you need to restart it:

# sudo service mysql restart

The command needed may vary on other Linux distributions.

*

How to restart Apache server on Linux (Ubuntu)

If you edit or update an Apache configuration file, you need to restart it for the changes to take effect. Use this command on Ubuntu:

# sudo apache2ctl graceful

On some distributions this may be slightly different, so if you get a comman...

*