How to install đź‘» Ghost on Ubuntu 18.04 LTS + SSL

#1

20190515_194138_0000
What is Ghost?
Ghost is a light-weight open-source blogging platform. Ghost is fully customizable, with many themes available.

Server Requirements
*Ubuntu 18.04[Latest Version]
*NGINX
*Node.js
*MySQL

Note : Before proceeding please point your domain to the server’s IP.

Installation Procedure
Just keep entering the commands below

sudo npm i -g ghost-cli
ghost-cli downloaded

Now create a directory
mkdir /var/www/ghost

Check the ownership of directory
sudo chown $USER:$USER /var/www/ghost

Give read-write permission

sudo chmod 775 /var/www/ghost

Now go to the directory of ghost
cd /var/www/ghost/

Install Ghost
ghost install

Now the installation will start. When the process completed you will be asked for the following details fill them according to instructions :slight_smile:

? Enter your blog URL: http://example.com
? Enter your MySQL hostname: localhost
? Enter your MySQL username: root
? Enter your MySQL password: [hidden]
? Enter your Ghost database name: ghost_prod

After entering this. The process will complete and you’ll be asked for SSL install.
Just say yes and then enter your domain when asked along with the email which you want to use for SSL notif.

That’s it.
Ghost now entered to your server :ghost:

2 Likes

#2

Thanks for sharing this awesome tutorial @AbhishekVerma

0 Likes

#3

Thanks for letting the ghost innn… :joy::joy::joy:

1 Like