Created
May 21, 2014 04:44
-
-
Save holodigm/b1bba0ddc84754753c5c to your computer and use it in GitHub Desktop.
base run sheet
This file contains 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
apt-add-repository ppa:brightbox/ruby-ng | |
apt-get update | |
apt-get install python-software-properties -y | |
apt-get install ruby rubygems ruby-switch ruby2.1 ruby2.1-dev -y | |
ruby-switch --set ruby2.1 | |
gem install bundler | |
ruby -v | |
apt-get purge nginx* -y | |
echo "deb http://nginx.org/packages/ubuntu/ precise nginx" >> /etc/apt/sources.list | |
echo "deb-src http://nginx.org/packages/ubuntu/ precise nginx" >> /etc/apt/sources.list | |
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ABF5BD827BD9BF62 | |
apt-get update -y | |
apt-get install nginx -y | |
dpkg-reconfigure nginx | |
nginx -v | |
service apache2 stop | |
service nginx start | |
ls -la /etc/nginx/conf.d/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment