How to install Ghost blogging platform on Linux
-
How to install Ghost on linux
This tutorial will show you how to install and run Ghost on a Debian based Linux server.
This guide presumes you have Node.js and NPM installed and running correctly.
First of all you will need to download the Ghost software:
curl -L https://ghost.org/zip/ghost-latest.zip -o ghost.zip
Then you will need to unzip the Ghost software, we will unzip it to a
ghost
directory:unzip -uo ghost.zip -d ghost
Now you will need to go into the
ghost
directory:cd ghost
Once you are inside the ghost directory you will need to install all the dependencies that Ghost requires to run:
npm install --production
Once it has installed you can now go ahead and run the Ghost software:
npm start
To see your blog you will need to open http://127.0.0.1:2368 in your web browser.
You can sign in to your control panel by visiting http://127.0.0.1:2368/ghost.Hopefully this has been useful to someone. Ghost is extremely easy to set up and install. There are other configuration option available for Ghost, such as SSL, an Nginx reverse proxy and running Ghost forever. I will write a separate tutorial for these later on; they are just as easy to set up!