Hello, I’m trying to spin up a Ghost 1.0 alpha installation. I was able to get it installed and running but it doesn’t want to open in a browser. Here is a detailed accounting of every process and command I used to get this far:
firstname.lastname@example.org sudo apt-get update sudo apt-get install nginx sudo ufw allow 'Nginx HTTP' sudo ufw allow 'Nginx HTTPS' sudo ufw allow http sudo ufw allow https sudo ufw allow ssh sudo ufw allow 2368 sudo ufw disable sudo ufw enable sudo apt-get install nodejs-legacy sudo apt-get install npm sudo apt-get install mysql-server sudo mysql_secure_installation
At this point, the root URL http://18.104.22.168 opens the nginx default page.
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add –
echo “deb https://dl.yarnpkg.com/debian/ stable main” | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn
yarn global add ghost-cli
npm i -g ghost-cli
npm install –production
sudo npm start –production
The Ghost installation was successful:
Running ghost ls shows that it is running. The database is running too.
The URL http://22.214.171.124:2368/ doesn’t work. (“ERR_CONNECTION_REFUSED”) Looking at the directory structure made by the ghost cli, you can see that there is no config.js in either the ghost root or in the version directory. Is this something that has changed in the alpha version? or is it missing? What is missing and how do I fix it? What are the recommended file permissions and commands to apply these permissions?
The digitalOcean one-click ghost structure is a lot different. Here is the structure from a working 0.11.4 Ghost install (with the .well-known directory for letsencrypt):
RE: Server stack
digitalocean 1GB droplet
Ubuntu 16.04.2 LTS
See if the install is listening:
netstat -an | grep :2368
See what’s there:
wget -O- HTTP://127.0.0.1:2368
It should show the default ghost welcome page in the terminal.