Forked from mikermcneil/Node.js installation on Rackspace
Last active
December 19, 2022 11:32
-
-
Save clockwork189/7128717 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
############################################################################ | |
# Installing nodejs, npm, and all their pals on a Rackspace Ubuntu Server | |
############################################################################ | |
# First get your tools together | |
sudo apt-get update | |
sudo apt-get install build-essential | |
sudo apt-get install vim | |
sudo apt-get install emacs | |
sudo apt-get install git | |
sudo apt-get install curl | |
sudo apt-get install libssl-dev | |
sudo apt-get install make | |
sudo apt-get install nginx | |
# Sometimes you have to get stuff so you can compile stuff | |
sudo apt-get install gcc | |
sudo apt-get install g++ | |
sudo apt-get install lib32z1-dev | |
sudo apt-get install pkg-config | |
# Install NPM and node.js | |
sudo apt-get install python-software-properties | |
sudo add-apt-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install nodejs | |
# Get NPM and forever, install globally | |
sudo npm install -g pm2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment