Last active
September 2, 2017 04:27
-
-
Save vaibhavmule/295420b38385612adf3c to your computer and use it in GitHub Desktop.
ohhdl-ubuntu-install.sh
This file contains 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 git | |
sudo apt get install git | |
# install elasticsearch | |
sudo apt-get install build-essential libssl-dev | |
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | |
echo "deb http://packages.elastic.co/elasticsearch/2.x/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-2.x.list | |
sudo apt-get update && sudo apt-get install elasticsearch | |
# install java | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update && sudo apt-get install oracle-java8-installer | |
# install nvm node and npm | |
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash | |
source ~/.profile | |
nvm install stable | |
nvm use stable | |
nvm alias default stable | |
nvm use default | |
# install pm2 | |
npm install -g pm2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment