Ghost blog is such a beautiful and clean blog that I am starting to love it. The installation of ghost is very easy, and you can deploy your blog in 10 minutes.

1.Install nodejs

curl -sL | sudo -E bash -
sudo apt-get install nodejs
sudo apt-get nginx

2.Install ghost

sudo npm i -g ghost-cli
sudo mkdir -p /var/www/ghost
sudo chown [user]:[user] /var/www/ghost
cd /var/www/ghost
ghost install --db=sqlite3

Follow setup guide
Change website url, install nginx and systemd.

3.Add nginx configuration mannually(optional)

vi /etc/nginc/conf.d/ghost.conf

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

    location /content/images {
       alias /var/www/ghost/content/images;

    location /assets {
        alias /var/www/ghost/content/themes/casper/assets;

    location /public {
        alias /var/www/ghost/current/core/server/public;

Reload nginx
sudo systemctl reload nginx

Enter in the browser and you will see the welcome words which means you have successfully deployed Ghost.