
用 ubuntu 安装博客,前面都通顺,但执行了 install ghost 就会提示
ost@VM-0-10-ubuntu:/var/www/ghost$ ghost install
Checking system Node.js version
Checking logged in user
Checking current folder permissions
Checking operating system compatibility
Checking for a MySQL installation
Checking memory availability
One or more errors occurred.
1) Checking logged in user
Message: You can't install Ghost with a user called ghost. Please use a different user(name).
Help: https://docs.ghost.org/docs/install#section-create-a-new-user
Debug Information:
OS: Ubuntu, v16.04
Node Version: v6.14.1
Ghost-CLI Version: 1.7.1
Environment: production
Command: 'ghost install'
Try running ghost doctor to check your system for known issues.
Please refer to https://docs.ghost.org/v1/docs/troubleshooting#section-cli-errors for troubleshooting.
我创建了一个非 root 用户的 ghost 用户,第一次授权了 root 权限,依旧提示上面的错误问题,第二次没有授权 root 可依旧提示上面的问题,真的无法解决了,求帮助
1 ericls 2018-04-17 00:21:02 +08:00 gai yong hu ming. |
3 Lentin 2018-04-17 00:41:37 +08:00 via iPhone 用户名不能为 ghost …神奇… 你把 ghost 用户删了试试? 顺便安利一发 docker 大法好… |
4 klii OP @Lentin #3 改了用户名又提示 user is not in the sudoers file. This incident will be reported. 这 ghost 真是神奇,我不会用 docker 要不然直接用容器了 |
6 Showfom PRO 这就是我放弃用 ghost 的原因 更新的换来换去 太烦了 |
7 klii OP @ericls #5 添加到 sudoer 又提示 install: missing destination file operand after 'ghost' Try 'install --help' for more information,这东西好难用 |
10 klii OP @Showfom #9 无语,我还是学习 docker 安装 ghost 算了。这个 ghost 真的难安装 |
13 haozi1986 2018-04-17 07:22:41 +08:00 我记得后来新版本安装或者升级 Ghost 都不能用 ghost 用户了,需要再新建一个用户用来安装…… 用 Ghost 也有很长时间了,后来感觉官方的升级改动越来越不合我心意,烦了,所以我后来换了 hexo |