Skip to content

Instantly share code, notes, and snippets.

@thisivan
Created September 10, 2011 18:23
Show Gist options
  • Save thisivan/1208606 to your computer and use it in GitHub Desktop.
Save thisivan/1208606 to your computer and use it in GitHub Desktop.
Install Ubuntu 11.04 server
# Update to the latest version
sudo apt-get update && sudo apt-get upgrade && sudo shutdown -r now
# Install SSH server
sudo apt-get install openssh-server
# Install basic tools
sudo apt-get install build-essential vim-nox curl git-core subversion
# Install RVM (as root, system wide)
sudo -i
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
# Add your user to the RVM group (and open a new session)
adduser ivan rvm
# Install MRI, REE dependencies
sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake
# Install rmagick dependencies
sudo apt-get install libdjvulibre-dev libjpeg-dev libtiff-dev libwmf-dev libmagickcore-dev libmagickwand-dev libmagick++-dev
# MySQL Server/Dependencies
sudo apt-get install mysql-server libmysqlclient-dev libmysql-ruby mysql-admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment