Etheron Hosting

How do I install ghost on my VPS?

Back to VPS

How do I install ghost on my VPS?

Here’s How to Install Ghost on Your Linux VPS

Here’s How to Install Ghost on Your Linux VPS

  1. Go to the VPS panel and log in.

  2. Click Manage on your desired (Linux) server.

image

  1. Ensure your VPS is running and click the VNC logo.

image

  1. Log in.

Your username is likely "root," and your password can be found in your email.

image

  1. Begin by updating everything. Type: sudo apt update

image

  1. Install MySql, Nginx, and Node.js on your VPS.

  2. Now, install Ghost-CLI by typing:

sudo npm install ghost-cli@latest -g

image

  1. Create a directory for Ghost. Replace sitename with your desired site name:

sudo mkdir -p /var/www/sitename

image

  1. Create a new user. Type:

adduser

Choose a username (do not use "Ghost" to avoid issues) and set a password.

image

  1. Add the user to the superuser group by typing:

usermod -aG sudo

image

  1. Log in as the new user:

su -

image

  1. Set ownership of the directory to the new user:

sudo chown : /var/www/sitename

Replace with your username.

image

  1. Set the correct permissions for the directory:

sudo chmod 775 /var/www/sitename

image

  1. Navigate into the directory:

cd /var/www/sitename

image

  1. Install Ghost:

For a live site, type: ghost install

For local testing, type: ghost install local

image

  1. Follow the prompts and answer the questions. Once the process is complete, Ghost is installed!

If you encounter any issues, feel free to reach out via Discord or create a support ticket through this link.

Lars Volkers
Updated on: 03/13/2026
Was this article helpful?