Ghost 博客平台一键安装脚本steemCreated with Sketch.

in #blog6 years ago

使用 Linux 脚本一键搭建你自己的 Ghost 博客平台。支持 Ubuntu, Debian 和 CentOS 系统。为了达到更佳的性能与安全性,将同时安装 Nginx (作为反向代理),以及 Web 应用防火墙 ModSecurity 或者 Naxsi。

基于 Node.js 技术构建,Ghost 博客是一个简约并且现代的 WordPress 替代品。它设计精美,使用方便,完全开源,并且对所有人都是免费的。

新: 在同一台服务器上 安装多个博客!只需再次运行脚本,并指定新的完整域名作为参数。

系统要求

一个专用服务器或虚拟专用服务器 (VPS),全新安装 以下系统:

Ubuntu 16.04 (Xenial) or 14.04 (Trusty)
Debian 9 (Stretch) or 8 (Jessie)
CentOS 7 or 6
注: 需要至少 512 MB 内存。

注意: 不要 在你的 PC 或者 Mac 上运行这些脚本!它们只能用在服务器上!

安装说明

首先,更新你的系统: 运行 apt-get update && apt-get dist-upgrade (Ubuntu/Debian) 或者 yum update (CentOS) 并重启。这一步是可选的,但推荐。

选择 ModSecurity 防火墙:

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

选择 Naxsi 防火墙:

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

注: 请把上面的参数替换为你的博客的完整域名。将会安装最新的 0.11.x (LTS) 版本的 Ghost 博客。

原文链接:https://github.com/hwdsl2/setup-ghost-blog/blob/master/README-zh.md

Sort:  

Congratulations @jibunuo! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You made your First Comment

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Coin Marketplace

STEEM 0.27
TRX 0.13
JST 0.032
BTC 64693.66
ETH 2975.51
USDT 1.00
SBD 3.70