linux下搭建ghost 4.2

来源:互联网 发布:计算器java程序代码 编辑:程序博客网 时间:2024/05/01 12:19

ghost 真吭

我在CentOS6.4 x64还没有搭成功


2个参考URL

http://www.howtoinstallghost.com/how-to-install-ghost-on-centos-server-6-4/

http://www.centosblog.com/install-ghost-blog-platform-centos-linux/


1. 安装nodejs

wget http://nodejs.org/dist/v0.11.12/node-v0.11.12.tar.gz
最新版本可以在http://nodejs.org/dist 查看
tar zxvf node-v0.11.12.tar.gz  解压
cd node-v0.11.12 进入解压目录
./configure 检查所需要配置
make install 进行安装(时间比较长)
node -v 检查是否成功安装

2. 安装ghost
解压ghost压缩包

unzip ghost...zip -d ghost

cd ghost

npm install --production

npm start

Visit `http://localhost:2368/` in your web browser or go to `http://localhost:2368/ghost` to log in


0 0