Created
March 10, 2017 20:10
-
-
Save peteralcock/1c6b198cbe26ac4a5cdb658db402e764 to your computer and use it in GitHub Desktop.
ruby prewar
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 -y | |
| apt-get upgrade -y | |
| apt-get install -y ntp | |
| apt-get install -y build-essential | |
| apt-get install -y g++ gcc | |
| apt-get install -y make libqt4-dev libpq-dev cmake | |
| apt-get install -y curl libcurl3 libcurl4-gnutls-dev | |
| apt-get install -y zlib1g-dev unzip wget curl | |
| apt-get install -y libssh2-php libicu-dev libkrb5-dev libreadline-dev libffi-dev | |
| apt-get install -y bison mcrypt libssl-dev libyaml-dev libreadline-dev openssl zlib1g-dev libxml2-dev libxslt1-dev libcurl4-openssl-dev | |
| apt-get install -y libsqlite3-dev sqlite3 | |
| apt-get install -y git | |
| apt-get install -y monit | |
| apt-get install -y apache2 | |
| apt-get install -y libtcltk-ruby | |
| cd /tmp | |
| wget https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.4.tar.gz | |
| tar xvf ruby-2.1.4.tar.gz | |
| cd ruby-2.1.4 | |
| ./configure && make && make install | |
| gem install bundler | |
| cp /vagrant/etc/monit/conf.d/foreman.conf /etc/monit/conf.d/foreman.conf | |
| cd /vagrant/app | |
| bundle install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment