How to install Ghost on your Raspberry Pi

Here’s how I installed Ghost on my Raspberry Pi with a standard raspbmc installation.

Setting it up was not so difficult, but a problem with sqllite3 installation required some additional steps.

As reported in this forum post https://ghost.org/forum/installation/2583-install-failure-due-to-sqlite3/, you have to…

You need the SQLite development files: apt-get install libsqlite3-dev (on Debian/Ubuntu). Also make sure you have build-essential installed.

So installing Ghost on my Raspberri Pi (Raspbmc) required these steps:

  • Install node.js
  • Install SqlLite
  • Install build-essential and libsqlite3-dev
  • Install Ghost

##1. Install node.js

$ sudo apt-get install node 

##2. Install SqlLite3

$ sudo apt-get install sqlite3 

##3. Install build-essential and libsqlite3-dev

$ sudo apt-get install build-essential 
$ sudo apt-get install libsqlite3-dev 

Note this will take a while to complete, grab a coffee!

##4. Install Ghost

Install following instructions at http://docs.ghost.org/installation/linux/:

$ curl -L https://ghost.org/zip/ghost-latest.zip -o ghost.zip $ unzip -uo ghost.zip -d ghost 
$ cd /path/to/ghost $ npm install --production $ npm start 

To automate running I used forever as documented inhttp://docs.ghost.org/installation/deploy/, and it works perfectly.

Published: 2014-01-21
Tags: node.js ghost raspberrypi