LoginSignup
12
12

More than 5 years have passed since last update.

Ghostのインストール方法(CentOS編)

Posted at

Ghostはnode.js製のブログプラットフォームとして最近注目されています。
https://ghost.org/
http://docs.ghost.org/ja/

GhostをCentOS6.4にインストールしてみます。
まずはnode.jsのインストールから始めます。

$curl -O http://download-i2.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
$sudo rpm -ivh epel-release-6-8.noarch.rpm
$sudo yum install npm --enablerepo=epel
$node -v
$npm -v

バージョン番号が表示されれば成功です。
次にGhostの最新バージョンをインストール、起動します。

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

これでGhostの起動ができました。
http://127.0.0.1:2368
にアクセスして、ページが表示されていればOKです。

12
12
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
12