Last active
August 29, 2015 14:14
-
-
Save khacanh/1bfe0f23f7c81ea91e6a to your computer and use it in GitHub Desktop.
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
adduser deploy -d | |
passwd deploy | |
adduser deploy sudo | |
sudo apt-get update | |
sudo apt-get install build-essential libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip | |
sudo apt-get install git | |
su deploy | |
ssh-keygen -t rsa | |
install nvm https://github.com/creationix/nvm | |
nvm install v0.10.35 | |
npm install | |
# EY | |
sudo emerge =nodejs-0.10.28 | |
sudo unlink /usr/bin/node | |
sudo unlink /usr/bin/npm | |
sudo ln -s /opt/nodejs/0.10.28/bin/npm /usr/bin/npm | |
sudo ln -s /opt/nodejs/0.10.28/bin/node /usr/bin/node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment