Skip to content

Instantly share code, notes, and snippets.

@cre-o
Created September 5, 2012 22:19
Show Gist options
  • Save cre-o/3646204 to your computer and use it in GitHub Desktop.
Save cre-o/3646204 to your computer and use it in GitHub Desktop.
Setup RVM, rails, nginx, git, mysql5 on ubuntu-10.04 lucid64
# update apt-get
sudo apt-get update
# if you have troubles with locale in console
sudo locale-gen en_US.UTF-8
# Install common libs
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config
# Installing rvm with rails
curl -L https://get.rvm.io | bash -s stable --rails
# Starting rvm
source ~/.rvm/scripts/rvm
# Installing mysql-server
sudo apt-get install mysql-server libmysqlclient-dev libmysql-ruby libmysqlclient16-dev
# Installing nginx
sudo apt-get install nginx
# Installing git
sudo apt-get install git-core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment