Last active
December 15, 2015 14:49
-
-
Save D3MZ/5277401 to your computer and use it in GitHub Desktop.
WIP
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
#!/bin/bash | |
export LC_ALL=en_US.UTF-8 | |
sudo apt-get --yes update | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 | |
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen | |
sudo apt-get --yes --fix-missing install lbzip2 pigz mongodb language-pack-en ruby-full build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config tcptrack | |
reboot | |
#While logged on | |
cd /usr/local/bin | |
sudo ln -s /usr/bin/lbzip2 bzip2 | |
sudo ln -s /usr/bin/lbzip2 bunzip2 | |
sudo ln -s /usr/bin/lbzip2 bzcat | |
sudo ln -s /usr/bin/pigz gzip | |
\curl -L https://get.rvm.io | bash -s stable --ruby --gems=mechanize,peach,mongo,rails,aws-sdk,bson_ext,httparty,typhoeus,parallel | |
source ~/.rvm/scripts/rvm | |
source ~/.profile | |
rvm autolibs 3 | |
rvm requirements | |
#source ~/.profile | |
#rvm install 2.0.0-p0 | |
#rvm --default use 2.0.0 | |
gem update --system | |
#gem i mechanize peach mongo rails aws-sdk bson_ext httparty typhoeus parallel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment