Last active
August 29, 2015 14:05
-
-
Save acuppy/bef0938a927384660ac2 to your computer and use it in GitHub Desktop.
Install Ruby, Imagemagick, Redis-server and Elasticsearch onto the development environment
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
#!/usr/bin/env bash | |
cd ~ | |
sudo apt-get update | |
sudo apt-get install curl wget | |
# install ruby | |
curl -sSL https://get.rvm.io | bash -s stable --ruby="2.0.0-p353" | |
# install imagemagick | |
sudo apt-get install imagemagick -y | |
# install Redis | |
sudo apt-get install redis-server -y | |
# install java | |
sudo apt-get install openjdk-7-jre-headless -y | |
### Expecting the argument for version to represent the elasticsearch version | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$1.deb | |
sudo dpkg -i elasticsearch-$1.deb | |
# start elasticsearch | |
sudo service elasticsearch start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment