Jump to content

Welcome, Guest!

andyboutte

[How To] Install Ghost on Raspberry Pi Running Raspbian

Recommended Posts

For those of you who contributed to the Ghost Kickstarter Project Ghost will be released to you this coming Friday and publicly to everyone in the next month or two.  

 

If you need an environment to test Ghost or want to run your blog off a Raspberry Pi this article will show you how to get node.js, the web server that Ghost runs on, npm the package manager for node, and Ghost, the Kickstarter funded blogging platform, running on a Raspberry Pi with the Raspbian operating system.

 

Initial Setup

With a clean install of Raspbian run the following commands:

 


 sudo apt-get update
 sudo apt-get upgrade
 sudo apt-get install nodejs
 sudo apt-get install npm

Download and Install Ghost:

Go to the Ghost download page and download the latest nightly build.

 


 unzip -d ghost Ghost-Nightly-0.2.2-36.zip

 

You can place the ghost directory anywhere you like....I have mine in /home/username/sites/ghost

 

Execute the following commands:

 


 cd ghost/
 sudo npm install

Now you just need to edit the config.js file and replace the listening address and port to your Raspberry Pi’s IP address. For example replace "host: '127.0.0.1'" with "host: '192.168.0.10'" and "port: '2368'" to "port: '80'".

 

And finally run:
npm start
to start Ghost process.

 

Your new Ghost blog can be accessed at: http://192.168.0.10/ghost

 


Share this post


Link to post
Share on other sites

ok, I've got ghost set up with its local IP address, but for the life of me I'm totally stumped when it come to choosing a domain name?

do I have to buy one from GoDaddy or alike?

what next after that?

 

please help

 

thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

About Us

Bringing you the latest Raspberry Pi news, tutorials and user forum.

The Fruity Computer

×