GHOST INSTALL ============= sudo apt-get update sudo apt-get install nodejs sudo apt-get install npm sudo apt-get update sudo aptitude install zip wget sudo npm install npm@2.5.0 -g sudo mkdir -p /var/www/ cd /var/www/ sudo wget https://ghost.org/zip/ghost-latest.zip sudo unzip -d ghost ghost-latest.zip cd ghost/ sudo npm install --production sudo cp config.example.js config.js sudo nano config.js # url: 'http://yourdomain.com' # host: '127.0.0.1', # port: '2368' sudo npm start --production # http://yourdomain.com:2368 # =========== https://www.thefanclub.co.za/how-to/how-secure-ubuntu-1604-lts-server-part-1-basics # =========== sudo apt-get install nginx cd /etc/nginx/ sudo rm sites-enabled/default sudo touch /etc/nginx/sites-available/ghost sudo nano /etc/nginx/sites-available/ghost server { listen 80; server_name your_domain.tld; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $http_host; proxy_pass http://127.0.0.1:2368; } }