mariquit / setup-ghost-blog

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ghost Blog Auto Setup Scripts   Build Status

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

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. The latest 0.11.x version of Ghost blog will be installed.

License

Copyright (C) 2015-2017 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

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

License:Other


Languages

Language:Shell 100.0%