Skip to content

Instantly share code, notes, and snippets.

@rocel
Created November 12, 2014 13:24
Show Gist options
  • Save rocel/fdcaf939ef0d48ea5c98 to your computer and use it in GitHub Desktop.
Save rocel/fdcaf939ef0d48ea5c98 to your computer and use it in GitHub Desktop.
Server install script
# HOW TO INSTALL THE PREPROD SERVER #
## TOOLS INSTALATION ##
#### update repositories ####
sudo apt-get update -y
#### update system ####
sudo apt-get upgrade -y
#### Install Node ####
sudo apt-get install nodejs -y
#copy nodejs to node in /usr/bin/ since ubuntu repositories keeps the "nodejs" name
sudo cp /usr/bin/nodejs /usr/bin/node
#### Install NPM ####
sudo apt-get install npm -y
#### Install forever ####
sudo npm install -g forever
#### Install Bower ####
sudo npm install -g bower
#### Install Grunt ####
sudo npm install -g grunt-cli
#### Install Ruby ####
sudo apt-get install ruby -y
sudo apt-get install ruby-dev -y
#### Install Gem ####
sudo apt-get install gem -y
#### Install JSDuck ####
sudo gem install jsduck
#### Install Compass ####
sudo gem install compass
#### Install MongoDB ####
sudo apt-get install mongodb -y
#### Install nginx ####
sudo apt-get install nginx -y
#### Install Zip ####
sudo apt-get install zip
#### Install GIT ####
sudo apt-get install git -y
#### Create the SSH RSA KEY ####
ssh-keygen -t rsa
#Copy the key in [bitbucket account](https://bitbucket.org/account/user/speecheo/ssh-keys/)
cat ~/.ssh/id_rsa.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment