ChildOfCode


Code, Maker, Robotic, Open Source. Knowledge Bases


DigitalOcean Update Ghost to Latest Vesion

*Before Update Remember Export the blog settings and data at "http://YouWebSites.com/ghost/settings/labs/" *

1)Login to Server Terminal, go to Ghost Folder Root

cd /var/www/  

2) Download the Latest Ghost form ghost.org

wget http://ghost.org/zip/ghost-latest.zip  

3) Remove the core directory completely

rm -rf ghost/core  

4) Unzip the Latest Ghost zip files

unzip -uo ghost-latest.zip -d ghost  

5)change the Permission

chown -R ghost:ghost ghost/*  

6)Go to Ghost Folder

cd ghost  

7)Install the New Update

npm install --production  

8)Restart the Ghost

service ghost restart