Difference between revisions of "Hudsonvalley"
From Wiki2
Line 9: | Line 9: | ||
$ sudo /usr/sbin/apache2ctl restart | $ sudo /usr/sbin/apache2ctl restart | ||
Mysql | Mysql | ||
Commented out # bind-address = 127.0.0.1 in /etc/mysql/my.cnf | :Commented out # bind-address = 127.0.0.1 in /etc/mysql/my.cnf so as to access db from any server | ||
$ restart mysql | $ restart mysql |
Revision as of 14:40, 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
- Commented out # bind-address = 127.0.0.1 in /etc/mysql/my.cnf so as to access db from any server
$ restart mysql