Skip to content

Instantly share code, notes, and snippets.

@holodigm
Created May 21, 2014 04:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save holodigm/b1bba0ddc84754753c5c to your computer and use it in GitHub Desktop.
Save holodigm/b1bba0ddc84754753c5c to your computer and use it in GitHub Desktop.
base run sheet
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