Last active
August 29, 2015 14:15
-
-
Save dgershman/7979803aa48d5af9e110 to your computer and use it in GitHub Desktop.
installing arch
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
curl -sL https://deb.nodesource.com/setup | sudo bash - | |
sudo apt-get install -y nodejs | |
hash -r | |
sudo apt-get install -y npm git openjdk-7-jre-headless | |
wget -qO - https://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add - | |
sudo add-apt-repository "deb http://packages.elasticsearch.org/elasticsearch/1.4/debian stable main" | |
sudo apt-get update && sudo apt-get install elasticsearch | |
sudo update-rc.d elasticsearch defaults 95 10 | |
cd /opt | |
git clone https://github.com/radius314/arch.git | |
git clone https://github.com/radius314/arch.engine.git | |
cd /opt/arch.engine | |
sudo rm -r node_modules/ && npm install | |
service elasticsearch start | |
node /opt/arch.engine/app.js | |
node /opt/arch/app.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment