Difference between revisions of "Hudsonvalley"

From Wiki2
(Replaced content with "installed lamp stack using https://help.ubuntu.com/community/ApacheMySQLPHP Run, Stop, Test, And Restart Apache Use the following command to run Apache : $ sudo /usr/sbin...")
Line 4: Line 4:
Run, Stop, Test, And Restart Apache
Run, Stop, Test, And Restart Apache
Use the following command to run Apache :
Use the following command to run Apache :
  $ sudo /usr/sbin/apache2ctl start
  $ sudo /usr/sbin/apache2ctl start
To stop it, use :
  $ sudo /usr/sbin/apache2ctl stop
  $ sudo /usr/sbin/apache2ctl stop
To test configuration changes, use :
  $ sudo /usr/sbin/apache2ctl configtest
  $ sudo /usr/sbin/apache2ctl configtest
Finally, to restart it, run :
  $ sudo /usr/sbin/apache2ctl restart
  $ sudo /usr/sbin/apache2ctl restart
Mysql
$ restart mysql

Revision as of 14:24, 27 November 2012

installed lamp stack using https://help.ubuntu.com/community/ApacheMySQLPHP


Run, Stop, Test, And Restart Apache Use the following command to run Apache :

$ sudo /usr/sbin/apache2ctl start
$ sudo /usr/sbin/apache2ctl stop
$ sudo /usr/sbin/apache2ctl configtest
$ sudo /usr/sbin/apache2ctl restart

Mysql

$ restart mysql