• This repository has been archived on 29/Jun/2020
  • Stars
    star
    140
  • Rank 261,473 (Top 6 %)
  • Language
    Shell
  • License
    Other
  • Created over 8 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.