Skip to content

Instantly share code, notes, and snippets.

@yrezgui
Created July 19, 2013 11:48
Show Gist options
  • Select an option

  • Save yrezgui/6038586 to your computer and use it in GitHub Desktop.

Select an option

Save yrezgui/6038586 to your computer and use it in GitHub Desktop.
Install MEANR stack on Ubuntu
# Install NodeJS
sudo apt-get install python-software-properties python g++ make
sudo apt-add-repository ppa:chris-lea/node.js-legacy
sudo apt-get update
# Check the versions of NodeJS
sudo apt-cache show nodejs
# The last NodeJS version of 0.8 available in the repositery is 0.8.25
sudo apt-get install nodejs=0.8.25-1chl1~raring1
# Install NPM
sudo apt-get install npm
# Install MongoDB
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/10gen.list
sudo apt-get update
sudo apt-get install mongodb-10gen
# Install Redis
sudo apt-get install redis-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment