You're viewing old version number 4. - Current version

1 min

Installing nodejs, nginx, and ghost on Digital Ocean Droplet

Week of November 10, 2013

- networksolutions.com
-- buy a domain name.

- digitalocean.com
-- create an account
-- purchase the $5 per month Droplet.
--- I used Ubuntu Linux.
-- Digital Ocean will e-mail the username and password for the Linux server. This info is used to log into the server with SSH.
-- while logged into the Digital Ocean dashboard:
--- click DNS and add the domain name purchased above. the domain name will be associated with the droplet created, but also need to add the domain name to the DNS setting.
--- add the Digital Ocean name servers to the Network Solutions account for the domain name.

- log into the Digital Ocean server and change the password.
- have root access to the server.
- it's clean, simple, bare-bones Linux install.
- need to install gcc.
- need to install unzip.
- need to isntall curl.

installing nodejs

https://www.digitalocean.com/community/articles/how-to-install-an-upstream-version-of-node-js-on-ubuntu-12-04

sudo apt-get update

sudo apt-get install build-essential

sudo apt-get install curl

echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc

. ~/.bashrc

mkdir ~/local
mkdir ~/node-latest-install

cd ~/node-latest-install

curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1

./configure --prefix=~/local

(this step takes a while)
make install

curl https://npmjs.org/install.sh | sh

node -v
(returns v0.10.21)

From JR's : articles
199 words - 1409 chars - 1 min read
created on
updated on - #
source - versions



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: May 6, 2024 - 6:03 a.m. EDT