Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
After the make install step, when I run npm it said npm:command not found. Do I have to start node somehow before that?
To those having problems with ‘command not found’ when executing ‘sudo npm -g install express supervisor’:
After half an hour of troubleshooting with guys on #node.js (thanks!) we managed to identify the source of the problem.
http://www.elroyjetson.org/dev-notes/centos/install-node-js-on-centos-6-2
So basically you need to add: /usr/local/bin to your secure_path using visudo.
sudo visudo Add to secure path: /usr/local/bin
sudo npm -g install express supervisor should work now.
Thanks for a great tutorial. One problem though, after starting the app using “supervisor app”, and if I closed that terminal window, how to I stop the process without restarting my server?
@phacer you can run “pgrep supervisor” to get the PID of the process, and kill it by running “kill PID” (replacing PID with the actual PID).
the nodejs wiki recommends installing through epel:
Node.js and npm are available from the Fedora Extra Packages for Enterprise Linux (EPEL) repository. If you haven’t already done so, first enable EPEL and then run the following command to install node and npm:
su -c 'yum install npm'
I cant run screen as example user on centos 6. I get cannot open terminal ‘/dev/pts/0’
@rparker: Did you ssh into the server as the user or did you run ‘su user’ as root?
You shouldn’t run screen as root anyway – create a user for the app:
https://www.digitalocean.com/community/articles/initial-server-setup-with-centos-6