幽灵不工作CentOs 7,尽pipe安装干净

我遵循本教程的大部分内容在CentOs 7上安装Ghost,但是,尽pipe安装完成,我无法看到欢迎页面。

以下是我使用的命令列表,如果我在某个地方犯了错误,请告诉我。

$ yum -y update $ yum -y install gcc-c++ openssl-devel $ cd /usr/local/src && wget -O node-latest.tar.gz http://nodejs.org/dist/node-latest.tar.gz $ tar -xzf node-latest.tar.gz $ cd node-v* # example: cd node-v0.10.33/ ./configure make && make install cp /usr/local/bin/node /usr/bin/node cp /usr/local/bin/npm /usr/bin/npm mkdir -p /var/www/ && cd /var/www/ curl -L -O https://ghost.org/zip/ghost-latest.zip unzip -d ghost ghost-latest.zip cd ghost useradd ghost chown -R ghost:ghost /var/www/ghost/ npm install --production npm start --production 

在这一点上,我可以看到成功的消息,并安装了鬼

 > [email protected] start /var/www/ghost > node index Migrations: Up to date at version 003 Ghost is running... Your blog is now available on http://my-ghost-blog.com Ctrl+C to shut down 

但是,我去了localhost:2368和127.0.0.1:2368,但没有显示出来。 只是一个浏览器404错误。

我以为这可能是一个端口问题,所以我试图打开一个端口

 firewall-cmd --zone=dmz --add-port=2368/tcp 

尝试永久,重新加载…仍然没有。