> ## Content Index
> Fetch the complete content index at: http://oomer.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# Ghost guide
- URL: http://oomer.org/g/
- Published: 2025-05-04T05:48:31.000Z
- Updated: 2025-12-15T05:39:02.000Z
- Author: Harvey Fong
- Tags: #Import 2026-09-09 04:19

Ubuntu 22.04 LTS Ghost

```
adduser juna
usermod -aG sudo juna
su - juna
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install nginx -y
sudo apt-get install mysql-server -y
sudo mysql	
ALTER USER 'root'@'localhost' IDENTIFIED WITH 'mysql_native_password' BY '<your-new-root-password>';
FLUSH PRIVILEGES;
exit

sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
NODE_MAJOR=22
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list

sudo apt-get update
sudo apt-get install nodejs -y

sudo npm install ghost-cli@latest -g

mkdir /mnt/blog.beantip.com
chown juna:juna /mnt/blog.beantip.com
cd /mnt/blog.beantip.com
ghost install

ghost config url https://blog.beantip.com
 

```