Ghost install on CentOS

Ghost failed to detect nginx running on CentOS

Issue Summary

Ghost install on CentOS 7.6 failed to detect nginx – see screenshot

To Reproduce

Install NGINX
yum install epel-release -y
yum install nginx -y
systemctl start nginx

Install MySQL
yum install mariadb-server -y
systemctl start mariadb && systemctl enable mariadb
mysql_secure_installation
Install NODEJS and NPM
yum install -y gcc-c++ make
curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash -
yum install nodejs -y
Install Ghost-CLI
sudo npm install ghost-cli@latest -g
Create a directory and Sudo account
useradd
usermod -aG wheel
sudo mkdir -p /var/www/ghost
sudo chown : /var/www/ghost
sudo chmod 775 /var/www/ghost
cd /var/www/ghost

Run the install process
ghost install

Technical details:

  • Ghost Version: 1.11.0
  • Node Version: 10.16.3
  • Browser/OS: Chrome
  • Database: MySQL

image

Hi there. Can you confirm that you’re able to install NGINX? It appears the problem is with NGINX and not Ghost itself. It’s recommended for Ghost installations:

NGINX is installed and running please check the steps above that I used to install ghost … I can also confirm that ghost doesnt think maria db is mysql though its installed and running

Ah I see now, you’re using Ghost-CLI which is only supported on an Ubuntu stack. You can find out more information here: https://github.com/TryGhost/Ghost-CLI#recommended-stack

1 Like

thank you

1 Like