To be sure, let’s update ghost-cli
, and then create a folder for Ghost. Replace <user> with your user ID.
sudo npm install ghost-cli@latest -g
sudo mkdir boringdigital_com
sudo chown <user>:<user> /var/www/boringdigital_com
sudo chmod 775 /var/www/boringdigital_com
cd boringdigital_com
Okay, you’re all set to install Ghost.
ghost install 4.48.1
Note:
- Blog URL is `https://boringdigital.com
- MySQL hostname is
localhost
- Use MySQL database name, username, and password from earlier
- Enter
y
to set up Nginx, SSL,systemd
and start Ghost
You should be up and running once this is completed. Please let me know how this goes.