⛔ 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)
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.
⛔ 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.
wget https://git.io/ghost-nginx-modsecurity -O ghost-setup.sh
sudo bash ghost-setup.sh BLOG_FULL_DOMAIN_NAME
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.
Copyright (C) 2015-2018 Lin Song
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.