How To Install Ghost On Ubuntu

Article By: steve


Install ghost Port 80 VPS BIP media hosting

Install Ghost

This Tutorial will show you how to install Ghost on Ubuntu. These steps will work for Ubuntu 12.04 and 13.10, both the server and desktop versions.

Update Ubuntu

The first step will be to run through the Ubuntu software updates and install a couple of extra packages that will be needed.
sudo apt-get update
sudo apt-get upgrade -y
sudo aptitude install -y zip vim wget

Download / Install the Node.js Source Code

Install Node.js

curl -sL | sudo bash -
sudo apt-get install -y nodejs

Download and Install Ghost

sudo mkdir -p /var/www/
cd /var/www/
sudo wget
sudo unzip -d ghost
cd ghost/
sudo npm install --production

Configure Ghost

sudo vi config.example.js

In the "Production" section, change the following:
host: '',

host: '',

Create Ghost User

sudo adduser --shell /bin/bash --gecos 'Ghost application' ghost
sudo chown -R ghost:ghost /var/www/ghost/

Now to start Ghost, you will need to log into your "ghost" user.
su - ghost
cd /var/www/ghost/

Now that you are logged in with your "ghost" user you can start Ghost:
npm start --production
Browse to

Proxying to Port 80 and keep Ghost running

All Done! Node.js is installed, the Ghost files are located in /var/www/ghost, and Ghost has been started. You can keep Ghost the way it is currently setup if using for a development environment and do not mind adding :2368 to the end of your url.

Tags: , , , , , ,

Welcome to the healthcare-only HIPAA - GDPR compliant cloud. Exclusively hosted on a HPC environment!

Learn more or start today by choosing your secure HIPAA - GDPR compliant server's Operating System bellow and pick the package that's best for you.

BIPmd makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine, thousand or more.

Windows VPS options and add ons
Linux VPS options and add ons


Looking for a custom solution?

Our technicians can provide you with the best custom-made solutionss on the market, no matter whether you're a small business or large enterprise.

Get in touch

Leave a Reply