• Compute
    Compute

    Configure a popular Linux OS or use popular developer Tools

  • Cloud hosting
    Cloud hosting

    Host a VPS in the Cloud in seconds

  • Collaborate, CMS, CRM`s
    Collaborate, CMS, CRM`s

    Collaborate with these popular CMS, CRM & collaboration tools

  • Database & E-Commerce
    Database & E-Commerce

    Create a database or an E-Commerce environment in seconds

How To: Install Ghost CMS on your Ubuntu 18.04 Linux VPS

Modified on Wed, May 27, 2020 at 11:52 AM


In this article, we're going to show you how to install Ghost CMS for a lightweight and sleek blogging experience.


Preparation

Prerequisites for Installation

These are the required installation requirements to follow along with this guide successfully:


We'll begin with an update.


apt update && apt upgrade -y


Next, we'll create a user for Ghost to use. Our new user cannot be named ghost due to conflicts, so please pick something different.


adduser blogmanager

usermod -aG sudo blogmanager


Now we will switch to our new user.


su - blogmanager


Installation

Installing our packages


We're going to install the packages that we will use to install and run Ghost CMS. These include CURL, NGINX, MySQL, Node.js, NVM, 


sudo apt install curl nginx mariadb-server npm


curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh -o install_nvm.sh


bash install_nvm.sh


source ~/.profile


nvm install 12


sudo mariadb

use mysql;
update user set authentication_string=password(''), plugin='mysql_native_password' where user='root';
exit;

sudo mysql_secure_installation


sudo npm install ghost-cli@latest -g


# We are going to name directory 'blogaway' in this example; you may use whatever name you'd like
sudo mkdir -p /var/www/blogaway

# Replace blogmanager with the name of your user we created earlier
sudo chown blogmanager:blogmanager /var/www/blogaway

# Set the correct permissions
sudo chmod 775 /var/www/blogaway

# Then navigate into it
cd /var/www/blogaway

# Run the installer
ghost install


Follow the prompts and fill in the questions with your site's information.



Testing


Now we'll visit our site URL that was defined during the Ghost setup.



Success! You have installed Ghost CMS and can now begin editing your site.


For more information, check out the official Ghost documentation over at: https://ghost.org/docs/ 


Join our Private Discord Chat to chat with, as well as find community assistance from other Verified SkySilk Users: https://invite.gg/SkySilk  


CLICK TO DEPLOY AN UBUNTU LINUX VPS

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article