Last active
October 18, 2015 16:44
-
-
Save zouzias/f14c3ef8964a45905095 to your computer and use it in GitHub Desktop.
Install MongoDB 3.0, Elasticsearch 1.7 and Apache Nutch 2.0 (Ubuntu 14.04)
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
####################### | |
# Install Elasticsearch | |
####################### | |
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | |
echo "deb http://packages.elastic.co/elasticsearch/1.7/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-1.7.list | |
sudo apt-get update && sudo apt-get install -y elasticsearch | |
sudo update-rc.d elasticsearch defaults 95 10 | |
####################### | |
# Install mongoDB 3.0 | |
####################### | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | |
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list | |
sudo apt-get update | |
sudo apt-get install -y mongodb-org | |
sudo service mongod start | |
####################### | |
# Install Java and Apache Ant | |
####################### | |
sudo apt-get install openjdk-7-jdk ant |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment