Updating Ghost

How I update Ghost blogging platform

First login to your server. Well really the first thing should be to make a backup of your blog but I'm way too lazy for that!

ssh yourserver.com
wget http://ghost.org/zip/ghost-latest.zip
sudo su -
cd /path/to/your/ghost/install

Stop ghost from running using whatever method you setup. For me I use an init script

/etc/rc.d/init.d/ghost stop
rm -fr core
unzip -uo /path/to/downloaded/file/ghost-latest.zip -d /path/to/your/ghost/install
npm install --production
/etc/rc.d/init.d/ghost start

Boom you're done. To confirm just login to the admin portal for your ghost blog and go to 'About'


by Joe Dunn

comments powered by Disqus