The Journey of fogserv.cloud
WIP
Our friend DewDrop started on porkbun, adventured to Racknerd and ended on Ghost.
the racknerd links are Affiliate links, click knowing that you are supporting us
This is that story
- Every website needs a domain, Porkbun has that covered, I would recommend being lazy and just register the domain through nerdrack, but trust me, you do NOT want to take that journey,.. it's one of the worst forms of Lock in. That said, once registered, skip to step 4.
- Register an account on racknerd, for a small site just getting started for testing purposes and getting your feet wet, i recommend Racknerd.
- Having procured the Domain and Host, it's time to move into the host.. setting up various basic bits, like security and getting the first set of app packages we need installed. We say basic, because as with any journey, the threats shift and change with time, we can't cover all possible scenarios, but we can cover some sane essentials in the security side of things.
- Having the Host setup, it's time to install ghost itself.
- Gongratulations! Ghost is Installed... As with any journey, once one is done, another begins... Lets customize and finish moving into Ghost. Maingun, and more..
- more...
If you are truly curious and want to look under the curtain, here is the full bash history for the server itself.
cd ~/
pwd
ls
ls -a
mkdir ./.ssh
touch ./.ssh/authorized_keys
nano ./.ssh/authorized_keys
chmod 600 ./.ssh/authorized_keys
exit
sudo apt update
sudo nano /etc/ssh/sshd_config
sudo systemctl restart sshd
exit
su -
su -
su
exit
less /etc/caddy/Caddyfile
cd /usr/share/caddy/
ls
mkdir org
sudo mkdir org
ls
cd org/
touch index.html
sudo touch index.html
sudo nano index.html
cd ..
ls
sudo rm index.html
sudo touch index.html
sudo nano index.html
exit
cd /usr/share/caddy/
cd org/
ls
sudo rm index.html
sudo touch index.html
sudo nano index.html
top
less ./.bash_history
ls
pwd
ls /var/www
sudo apt install btop
btop
ls /var/www
cd /usr/share/caddy/
ls
ls org/
exit
ls
cd /usr/share/caddy/
ls
mkdir bujo
sudo mkdir bujo
cd bujo/
touch index.html
sudo touch index.html
sudo nano index.html
exit
cd /usr/share/caddy/
ls
mk ht
sudo mkdir ht
cd ht/
sudo touch index.html
sudo nano index.html
sudo truncate -s 0 index.html
sudo nano index.html
sudo truncate -s 0 index.html
sudo nano index.html
sudo truncate -s 0 index.html
sudo nano index.html
sudo truncate -s 0 index.html
sudo nano index.html
sudo truncate -s 0 index.html
sudo nano index.html
sudo truncate -s 0 index.html
sudo nano index.html
cd ..
ls
sudo nano index.html
cd ht/
sudo nano index.html
sudo truncate -s 0 index.html
sudo nano index.html
cd ..
sudo nano index.html
exit
cd /usr/share/caddy/ht/
sudo truncate -s 0 index.html
sudo nano index.html
exit
ls
less /etc/caddy/Caddyfile
cd /usr/share/caddy/
ls
mkdir pass
sudo mkdir pass
cd pass
touch index.html
sudo touch index.html
sudo nano index.html
sudo truncate -s 0 index.html
sudo nano index.html
cd ..
ls
sudo nano index.html
ls
cd ~/
ls
pwd
less ./.bash_history
cd /usr/share/caddy/
ls
rm -rf bujo/
sudo rm -rf bujo/
sudo rm -rf ht/
ls
sudo nano index.html
cd /usr/share/caddy/
ls
cd pass
sudo truncate -s 0 index.html
sudo nano index.html
sudo truncate -s 0 index.html
sudo nano index.html
sudo truncate -s 0 index.html
sudo nano index.html
exit
cd /usr/share/caddy/
cd pass
sudo truncate -s 0 index.html
sudo nano index.html
sudo truncate -s 0 index.html
sudo nano index.html
sudo truncate -s 0 index.html
sudo nano index.html
sudo truncate -s 0 index.html
sudo nano index.html
exit
cd /usr/share/caddy/
cd pass
sudo truncate -s 0 index.html
sudo nano index.html
exit
sudo apt update
sudo apt upgrade
sudo dpkg --configure -a
sudo apt update
sudo apt upgrade
sudo apt autoremove
sudo nano /etc/apt/sources.list
sudo apt update
sudo apt upgrade
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt update
sudo apt upgrade
sudo apt autoremove
sudo reboot now
sudo apt update
less ./.bash_history
exut
exit
less ./.bash_history
less /etc/caddy/Caddyfile
exit
less /etc/hostname
sudo nano /etc/hostname
exit
sudo reboot
less ./.bash_history
cd /usr/share/caddy/
ls
sudo truncate -s 0 index.html
nano index.html
sudo nano index.html
exit
npm install ghost-cli@latest -g
sudo apt update
sudo apt upgrade
sudo apt install nodejs npm sqlite3
mkdir ghost
cd ghost/
sudo npm install ghost-cli@latest -g
ghost install local
npm update nodejs
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
source ~/.bashrc
nvm install 22
nvm use 22
sudo npm install ghost-cli@latest -g
ghost install local
ls
rm package-lock.json
ghost install local
sudo apt install python3-setuptools
ls
ghost install local
ip addr
ls
nano config.development.json
ghost status
ghost restaRT
ghost restart
ls
nano config.development.json
ghost restart
ghost doctor
pwd
chmod o+rx /home/user/ghost/
ghost doctor
chmod o+rx /home/user/
ghost doctor
ghost status
ghost start
ls
ls con
ls content/
ls content/data/
ls -a content/data/
ls -s content/data/
sqlite3 content/data/ghost-local.db
ghost doctor
ghost start
less /home/user/.ghost/logs/ghost-cli-debug-2025-11-18T17_08_12_371Z.log
sqlite3 content/data/ghost-local.db
ghost start
sudo nano /etc/caddy/Caddyfile
sudo systemctl restart caddy
ghost doctor
ghost stop
ghost doctor
ghost start
ghost stop
sqlite3 content/data/ghost-local.db
ghost doct
ghost start
sudo nano /etc/caddy/Caddyfile
sudo systemctl restart caddy
ghost restart
sudo nano /etc/caddy/Caddyfile
ls
ls con
ls content/
ls content/public/
ghost stop
nano config.develop
sudo nano /etc/caddy/Caddyfile
sudo systemctl restart caddy
ghost restart
sudo nano /etc/caddy/Caddyfile
sudo systemctl restart caddy
ghost restart
sudo nano /etc/caddy/Caddyfile
exit
sudo systemctl stop caddy
sudo nano /etc/caddy/Caddyfile
sudo systemctl start caddy
sudo nano /etc/caddy/Caddyfile
sudo systemctl stop caddy
sudo systemctl start caddy
exit
sudo nano /etc/caddy/Caddyfile
sudo systemctl restart caddy
sudo nano /etc/caddy/Caddyfile
sudo systemctl start caddy
sudo systemctl status caddy
ghost restart
cd ghost/
ghost restart
nano config.development.json
ghost setup caddy
exit
cd ghost/
ls
nano config.development.json
less ./.bash_history
ip addr
cd ghost/
nano config.development.json
sudo nano /etc/caddy/Caddyfile
ghost restart
sudo systemctl restart caddy
ghost status
sudo nano /etc/caddy/Caddyfile
ghost status
ghost stop
ghost start
cd ghost/
nano config.development.json
ghost restart
nano config.development.json
ghost restart
exit
cd ghost/
cd ..
tar -zcvf backup-demo.tar.gz /home/user/ghost/
ls -w
ls -s
df -m
exit
mkdir gh_bak
cp ./ghost/config.development.json ./gh_bak/
cp ./ghost/content/ ./gh_bak/
cp -r ./ghost/content/ ./gh_bak/
cp -r ./ghost/current ./gh_bak/
cp -r ./ghost/versions/ ./gh_bak/
exit