Skip to content

Instantly share code, notes, and snippets.

@rafapolo
Last active June 19, 2016 17:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafapolo/5224641 to your computer and use it in GitHub Desktop.
Save rafapolo/5224641 to your computer and use it in GitHub Desktop.
Extrapolated script to get a raw debian-based UNIX server properly configured to play a RubyonRails app.
apt-get update
apt-get upgrade
apt-get install autoconf automake bison build-essential curl cmake gcc git git-core htop libc6-dev libcurl4-openssl-dev libffi-dev libgdbm-dev libreadline-dev libreadline6 libreadline6-dev libsqlite3-0 libsqlite3-dev libssl-dev libtool libxml2 libxml2-dev libxslt-dev libyaml-dev locate make ncurses-dev nmap openjdk-9-jre openssl patch python-software-properties rubygems-integration ruby-bundler ruby2.3-dev ruby2.3 sqlite3 vim zlib1g zlib1g-dev software-properties-common mysql-server mysql-client libmysqlclient-dev libmagickwand-dev
sudo ln -s /usr/bin/ruby2.3 /usr/bin/ruby
sudo adduser git
mkdir /home/git/.ssh
chown -R git /home/git/
chown -R git /usr/local
sudo echo "git ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment