ghost centos 安装一直不顺利,有没有简洁安装方案

2017-09-25 12:31:28 +08:00
 huafang
试验了几次,各种操作,挺复杂,最后还是没成功
3661 次点击
所在节点    程序员
21 条回复
TinyBBC
2017-09-25 12:50:52 +08:00
clonezilla
msg7086
2017-09-25 13:14:49 +08:00
你说的 ghost 是克隆软件还是博客?
defunct9
2017-09-25 13:16:22 +08:00
这玩意不需要克隆吧
momocraft
2017-09-25 13:25:52 +08:00
以为是 ghost 装 centos 惊了
expy
2017-09-25 13:36:06 +08:00
直接复制吧,复制完了改下 fstab 跟 grub。
huafang
2017-09-25 13:45:33 +08:00
我说的是 ghost blog。。。。。
joysir
2017-09-25 13:46:26 +08:00
@huafang 官方推荐使用 Ghost-CLI 安装,可以看一下这个文章
http://lyinlong.me/ghost_stable_installation_guide/
msg7086
2017-09-25 13:51:59 +08:00
你都用 CentOS 自己给自己双倍难度了,还来问简洁安装方案么。
likuku
2017-09-25 13:58:00 +08:00
live CD/USB + tar 就足够了。
Love4Taylor
2017-09-25 14:10:11 +08:00
https://blog.magentaize.net/how-to-install-ghost-on-centos/
https://blog.magentaize.net/update-ghost-to-1-0-stable/
另外 似乎 Ghost 在 CentOS 有开机启动失效的问题 朋友说是 Systemd 的锅
ivmm
2017-09-25 14:20:16 +08:00
www.mf8.biz/debian-ubuntu-install-ghost-1-0/

debian 和 ubuntu 就方便多了
xrr2016
2017-09-25 16:51:48 +08:00
我在搬瓦工 centos 主机上安装 Ghost 也一直没成功...
xratzh
2017-09-25 17:18:10 +08:00
这个问题我反馈过了,CentOS 有问题,debian 系的正常
https://github.com/TryGhost/Ghost-CLI/issues/447#issuecomment-327874503
所以暂时用的 Debian,你是遇到 Ghost 识别了俩 nodejs 版本这个问题吧???我也想知道原因
xratzh
2017-09-25 17:20:04 +08:00
顺便欢迎使用我写的一键脚本。CentOS 暂时用不了,前几个版本正常
https://github.com/xratzh/GhostBlog_SSL
superchijinpeng
2017-09-25 18:22:17 +08:00
可以使用 Docker。
ITOutsider
2017-09-25 18:37:12 +08:00
快速
curl -L https://github.com/TryGhost/Ghost/releases/download/1.x.0/Ghost-1.x.0.zip -o ghost.zip
unzip -uo ghost.zip -d ghost
cd ghost && npm install --production
npm install -g knex-migrator
knex-migrator init
npm start
yxwzaxns
2017-09-25 18:41:02 +08:00
zrj766
2017-09-25 18:53:37 +08:00
用 debian 吧,centos 经常破事多缺东西
mritd
2017-09-25 19:37:08 +08:00
Docker 啊,合计啥呢
huafang
2017-09-26 19:26:57 +08:00
@xratzh nvm 好像可以解决版本问题,我是死活安装失败

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/393409

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX