Skip to content

Instantly share code, notes, and snippets.

@niccolox
Last active December 30, 2015 16:09
Show Gist options
  • Save niccolox/7853237 to your computer and use it in GitHub Desktop.
Save niccolox/7853237 to your computer and use it in GitHub Desktop.
Ubuntu 12 install of MEAN from Linnovate
148 user@mean:~/mean⟫ history | cut -c 8-
cd ~/scripts
sudo chmod +x precise-desktop-tweaks.sh
sudo ./precise-desktop-tweaks.sh
mkdir ~/scripts
cd scripts
ls -alh
sudo nano /etc/hosts
sudo nano /etc/hostname
hostname -a
sudo apt-get install openssh-server
sudo shutdown now -r
cd ~/scripts
wget https://gist.github.com/niccolox/7587968/raw/6eb3cee600a34f98f8f92760690e6fbdf887a50f/precise-server-tweaks.sh
sudo chmod +x precise-server-tweaks.sh
sudo ./precise-server-tweaks.sh
wget https://gist.github.com/dwayne/2983873/raw/174305c76396c014b785729e941483cd6b558f0e/node-and-npm-in-30s.sh
sudo chmod +x node-and-npm-in-30s.sh
sudo ./node-and-npm-in-30s.sh
sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install curl
. node-and-npm-in-30s.sh
node -V
node -v
npm -v
mkdir ~/mongodb
cd ~/mongodb
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
sudo apt-get update
sudo apt-get install mongodb-10gen
sudo service mongodb start
cd ~
sudo apt-get install git
git clone https://github.com/linnovate/mean.git
cd ~/mean
ls -alh
npm install
grunt
npm install -g grunt-cli
grunt
history | cut -c 8-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment