Created
July 17, 2013 08:58
-
-
Save kelmandor/6018958 to your computer and use it in GitHub Desktop.
these are the steps i take to create a new vm with all the services i know and love.
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
| new VM!! | |
| first of all to set the command prompt, add this to ~/.profile and change the text needed to change: | |
| PS1="\u@\e[0;31mTHISTEXTCHANGE\e[m \w $ \e[m" | |
| next, install avahi: sudo apt-get install avahi-daemon | |
| now you can log in by the hostname dot local!! | |
| sudo apt-get install build-essential | |
| git dependencies: sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev | |
| sudo apt-get install git | |
| install rbenv!! (another page) | |
| install redis: | |
| wget http://redis.googlecode.com/files/redis-2.6.12.tar.gz | |
| tar -xvf redis-2.6.12.tar.gz | |
| cd redis-2.6.12/ | |
| make | |
| sudo make install | |
| cd utils/ | |
| sudo ./install_server.sh | |
| install mongo: | |
| http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ | |
| for rails: | |
| sudo apt-get install libxslt-dev libxml2-dev | |
| sudo apt-get install libmysqlclient15-dev | |
| ============================== | |
| getting passenger with nginx going: | |
| sudo apt-get remove nginx nginx-full nginx-light nginx-naxsi nginx-common | |
| get the full by doing: which passenger-install-nginx-module | |
| and run with sudo: | |
| sudo /home/deploy/.rbenv/shims/passenger-install-nginx-module | |
| instructions for the nginx init.d script (https://library.linode.com/web-servers/nginx/installation/ubuntu-12.04-precise-pangolin#sph_create-an-init-script-to-manage-nginx): | |
| wget -O init-deb.sh http://library.linode.com/assets/1139-init-deb.sh | |
| mv init-deb.sh /etc/init.d/nginx | |
| chmod +x /etc/init.d/nginx | |
| /usr/sbin/update-rc.d -f nginx defaults | |
| ======================================= | |
| when it says its missing a java runtime install node js: | |
| sudo apt-get update | |
| sudo apt-get install python-software-properties python g++ make | |
| sudo add-apt-repository ppa:chris-lea/node.js | |
| sudo apt-get update | |
| sudo apt-get install nodejs | |
| =========================== | |
| install imagemagick | |
| ======================================================= | |
| remote access for mysql: | |
| GRANT ALL ON crossrider.* TO deploy@'172.30.30.137' IDENTIFIED BY 'volvo850'; | |
| GRANT ALL ON monetization_backoffice.* TO deploy@'172.30.30.110' IDENTIFIED BY 'volvo850'; | |
| GRANT ALL ON stats.* TO deploy@'172.30.30.110' IDENTIFIED BY 'volvo850'; | |
| GRANT ALL ON crossrider.* TO deploy@'67.214.223.28' IDENTIFIED BY 'jiljul7340'; | |
| GRANT ALL ON monetization_backoffice.* TO deploy@'67.214.223.28' IDENTIFIED BY 'jiljul7340'; | |
| GRANT ALL ON crossrider.* TO deploy@'67.214.223.27' IDENTIFIED BY 'jiljul7340'; | |
| GRANT ALL ON monetization_backoffice.* TO deploy@'67.214.223.27' IDENTIFIED BY 'jiljul7340'; | |
| http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html | |
| ======================================================= | |
| for nsis: | |
| sudo apt-get install nsis | |
| ========================================================== | |
| where i got the shared/cache rule working: | |
| http://matharvard.ca/posts/2011/jul/21/my-nginx-config/ | |
| ======================================================= | |
| osslsigncode - i removed the sudos when calling this and it fixed it. | |
| http://sourceforge.net/projects/osslsigncode/?source=dlp | |
| ======================================================== | |
| ssl migration to nginx | |
| http://www.geocerts.com/install/nginx | |
| http://blog.robodomain.com/post/3698910833/godaddy-ssl-certificates-and-nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment