Connect with us

Hi, what are you looking for?


How to Install Ghost Blogging Platform on Ubuntu 16.04

How to Install Ghost Blogging Platform on Ubuntu 16.04 / Debian 8 / Linux mint 17. Ghost is a cross platform professional blogging application. It is powered by a Node.js and modern stacks. It is written in java-script and managed by the Ghost foundation. It has clean design that is focus only for bloggers with clean Interface makes it popular in blogging platform. It is a lightweight application and most important thing it is powerful blogging platform. It is a content management system that uses markdown like Github that makes it ideal for blogging.

Step-1 (Install the NodeSource Node.js)
# wget -qO- | bash -
Step-2 (Install Required Packages)
# apt-get install -y build-essential nginx nodejs
Step-3 (Configure Nginx Virtualhost)
# vi /etc/nginx/sites-enabled/default

Add the given lines

server {
listen 80;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;

Create Symbolic link

# ln -s /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default
Step-4 (Download the Ghost Packages)
# wget
Step-5 (Install the Ghost Blogging platform)

Unzip the Downloaded ghost packages to /usr/share/nginx/html/

Advertisement. Scroll to continue reading.
# unzip -uo -d /usr/share/nginx/html/

Now change the directory to installation location

# cd /usr/share/nginx/html/

Now install the Ghost packages in production environment

# npm install --production
Step-6 (Configure the Ghost blogging platform)

Copy the example configuration file

# cp -rv config.example.js config.js

Edit the configuration file

Advertisement. Scroll to continue reading.
# vi config.js

Edit the given lines

production: {
url: '',
mail: {
// Your mail settings
Step-7 (Run the Ghost blogging platform on Production Environment)

We need to run the server in production environment using NPM package Forever

# npm install forever -g

Start ghost using forever

# forever start index.js

Start Ghost blogging Platform on production environment

Advertisement. Scroll to continue reading.
# NODE_ENV=production forever start index.js

Final Words

Congratulations now you have Ghost Blogging Platform has been installed on respective Linux distribution. It will be running on production environment. Now you have free to publish your blog with a powerful blogging platform known as Ghost blogging Platform. If you have any issues regarding this tutorial you need to use the comment section below for answers.


You May Also Like


How to auto upgrade JioFi firmware for JioFi 2 / JioFi 3 / JioFi 4 / JioFi 5 / JioFi 6 and other JioFi...


Internet is the most important public network for connecting to the WEB. For internet connection requirement the ISP is required as well as it...


How to download and install the Mobile Intel 4 Series Express Chipset Graphics Drivers for Windows 10.  Windows 10 is the one of the...


How to Install and Configure PCSX2 on Windows 10. The Windows 10 is the most recommended operating system for the Games. In stream platform...