Automated Install Ghost With Nginx as Reverse Proxy on Ubuntu 14.04 LTS

  • Last Created On Dec 08, 2024
  • 12
0 0

Introduction

Ghost is a free and open source blogging platform written in node.js, completely customizable and dedicated for publishing. For a manual install, read this tutorial.

The Script

The script is hosted on GitHub Gist. For a fully automated install, you will need the file install.sh. If you do not want to use an encrypted connection, then you will also need to replace https with http.

#!/bin/bash

###
# AUTHOR: Jonathan Zhang
# GitHub: @bbs4us
# Gist URL: https://gist.githubusercontent.com/bbs4us/58809c6ddbbbe960af9b/raw/install.sh
#           https://gist.github.com/bbs4us/58809c6ddbbbe960af9b
# LICENSE: GPL v3
#
## Fetch the "Phantom" Ghost installation script and run it.
###

apt-get update
apt-get install wget -y

wget -O - https://gist.githubusercontent.com/bbs4us/58809c6ddbbbe960af9b/raw/phantom.sh | bash >> /tmp/phantom.log
sleep 5
wget -N https://gist.githubusercontent.com/bbs4us/58809c6ddbbbe960af9b/raw/ghostly.sh && bash ghostly.sh https yoursite.tld # replace me
sleep 1

Now you can create a new instance with the script. After installation, go to https://yoursite.tld/ghost/setup/ to setup user login credentials. You will see a warning about certificate not trusted, ignore that as the certificate is self-signed.

Views: 12

Recent Articles

  • How to Install JAX with ROCm Acceleratio...
    96
  • Deploy a PyTorch Workspace on a Vultr Cl...
    71
  • Managing Backup Storage
    83
  • Automating FTP Backups in Windows Server
    71
  • Automating FTP Backups in Linux
    75

Popular Articles

  • Our General Terms & Conditions
    2631
  • Our Privacy Policy
    2477
  • Our Cookies Policy
    275
  • Our Terms of Use
    152
  • How to Install JAX with ROCm Acceleratio...
    96