I followed most of this tutorial to install Ghost on CentOs 7 but, despite the install going perfectly I am unable to see the welcome page.
Here are a list of commands I used, let me know if I made a mistake somewhere.
$ 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
At this point I can see the success message, and that ghost is installed
> ghost@0.5.6 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
But, I went to localhost:2368 and 127.0.0.1:2368 but nothing shows up. just an browser 404 error.
I thought this might be a port issue so, I tried to open a port
firewall-cmd --zone=dmz --add-port=2368/tcp
tried permanent, reload ... still nothing.