Created
August 15, 2010 03:14
-
-
Save marshluca/525012 to your computer and use it in GitHub Desktop.
configure file on ec2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EC2 softwares configure file: | |
1.Mysql | |
/etc/mysql/my.cnf | |
sudo /etc/init.d/mysql start|stop|restart | |
2.MongoDB | |
/etc/init.d/MongoDB | |
sudo /etc/init.d/MongoDB start|stop|restart | |
sudo mongod --dbpath /mnt/mongo/data/ --logpath /mnt/mongo/log/mongodb.log --fork --logappend | |
3.Nginx | |
sudo /etc/init.d/nginx start|stop|restart | |
/etc/nginx/nginx.conf | |
4.Apache | |
sudo /etc/init.d/apache2 start|stop|restart | |
sudo apachectl start|stop|restart (for Mac OS) | |
/etc/apache2/apache2.conf | |
5.Lighttpd | |
sudo /etc/init.d/lighttpd start|stop|restart | |
/etc/lighttpd/lighttpd.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment