# Install and deploy Ghost
# About
Ghost is an open-source blogging CMS built on Node.js.
# Prerequisites
- Node.js must be enabled on the user’s hosting package.
# Install and delpoy Ghost
This will install Ghost with a basic sqlite backend (no mysql) and in development mode. It is not intended to be a complete guide.
- On the website you would like to install Ghost on, run the following commands using website level SSH.
/usr/bin/install_nvm_and_node.sh
then
nvm install 22
then
nvm use 22
then
npm install ghost-cli -g
then
mkdir ghost
then
cd ghost
then
ghost install --local
then
npm install sqlite3 --save
Edit config.development.json and change 127.0.0.1 to 0.0.0.0 and http://localhost:2368/ to your real website URL.
Make a Node.js app in Enhance following this guide. Use the following settings while configuring your deployment:
- Proxy: Enable
- Path: Leave this field blank unset
- Port: 2368
- Node version: 22.x.x
- Working directory: ghost
- Start command: ghost run --development
- Go to https://yourdomain.com/ghost to complete the setup of your Ghost account.
*Replace yourdomain.com with your website domain.