2014-04-08 Setup Ghost blog system on Ubuntu

Installation

Make sure you have install all required package

sudo apt-get install npm nodejs

Goto https://ghost.org/download/ , download the latest zip file

$ wget https://ghost.org/zip/ghost-0.4.2.zip
$ unzip ../ghost-0.4.2.zip -d ghost
$ cd ghost
$ npm install --production
...
$ npm start

> [email protected] start /home/simon/downloads/ghost
> node index

Ghost is running in development...
Listening on 127.0.0.1:2368
Url configured as: http://my-ghost-blog.com
Ctrl+C to shut down

Now you can browse your own Ghost blog at http://127.0.0.1:2368

It's very possible that you got the below error when you run

[email protected] install /home/simon/downloads/ghost/node_modules/sqlite3 node-pre-gyp install --fallback-to-build

This error is caused by the wrong

command symblic link in your system. To fix this, run the following command, then run

again.

It should work now.

Configuration

After start the Ghost successfully, you need to go to administration page to configure your Blog or write a new post.

First, go to

. It will redirect to sign up page.

Then, type your inforamtion and 'Sign Up', you will be redirect to the administration page.

最后更新于

这有帮助吗?