Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.
/ setup-ghost-blog Public archive

Script to install your own Ghost blog, with Nginx and ModSecurity/Naxsi web application firewall. Supports multiple blogs.

License

Notifications You must be signed in to change notification settings

hwdsl2/setup-ghost-blog

Repository files navigation

Ghost Blog Auto Setup Scripts

Project archived

This project is deprecated and has been archived.

To learn more about the latest version of Ghost blog, see here.

Read this in other languages: English, 简体中文.

Scripts to install your own Ghost blog on Ubuntu, Debian or CentOS, with Nginx (as a reverse proxy) and ModSecurity or Naxsi web application firewall for optimal performance and security.

Powered by Node.js, Ghost blog is a simple and modern WordPress alternative which puts the excitement back into blogging. It's beautifully designed, easy to use, completely open source, and free for everyone.

New: Install multiple blogs on the same server! Simply re-run the script with a new full domain name.

» Related tutorial: Ghost Blog Auto Setup with Nginx and ModSecurity (or Naxsi)

Requirements

A dedicated server or virtual private server (VPS), freshly installed with:

  • Ubuntu 16.04 (Xenial) or 14.04 (Trusty)
  • Debian 9 (Stretch) or 8 (Jessie)
  • CentOS 7 or 6

Note: A minimum of 512 MB RAM is required.

⚠️ DO NOT run these scripts on your PC or Mac! They should only be used on a server!

Installation

This project is deprecated and has been archived.

To learn more about the latest version of Ghost blog, see here.

First, update your system with apt-get update && apt-get dist-upgrade (Ubuntu/Debian) or yum update (CentOS) and reboot. This is optional, but recommended.

Select ModSecurity WAF:

wget https://git.io/ghost-nginx-modsecurity -O ghost-setup.sh
sudo bash ghost-setup.sh BLOG_FULL_DOMAIN_NAME

Select Naxsi WAF:

wget https://git.io/ghost-nginx-naxsi -O ghost-setup.sh
sudo bash ghost-setup.sh BLOG_FULL_DOMAIN_NAME

Note: Replace the above with your blog's full domain name.

⚠️ Newer Ghost blog versions (such as 2.x) can be found in the official repo. However, if you wish to install the older 0.11.14 version, you may use these scripts.

License

Copyright (C) 2015-2018 Lin Song View my profile on LinkedIn
Based on the work of Herman Stevens (Copyright 2013)

Special thanks to Remy van Elst and Phil Bayfield for their helpful suggestions.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

About

Script to install your own Ghost blog, with Nginx and ModSecurity/Naxsi web application firewall. Supports multiple blogs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages