Last active
August 29, 2015 14:01
-
-
Save scmx/3b05cd80e530af0efe0a to your computer and use it in GitHub Desktop.
#ubuntu #14.04 #new #server #ruby #rails #nginx #unicorn
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
# Create a new server | |
# Always choose a LTS (Long Term Stable) ubuntu release, | |
# such as 12.04, 14.04 etc | |
apt-get update | |
# Pick and choose what you need | |
apt-get install tmux | |
apt-get install git-core | |
apt-get install imagemagick libmagickcore-dev libmagickwand-dev | |
apt-get install mysql-server mysql-client libmysqlclient-dev | |
# Create a deploy user or similar | |
adduser deploy | |
# Install ruby and dependencies | |
# https://gist.github.com/scmx/9489499 | |
# Install passenger if using apache | |
# http://www.modrails.com/documentation/Users%20guide%20Apache.html#install_on_debian_ubuntu | |
# Install unicorn + nginx otherwise | |
apt-get install nginx | |
# As deploy user | |
# Install unicorn | |
gem install unicorn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment