Last active
June 19, 2016 17:28
-
-
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.
This file contains hidden or 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
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