惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V2EX - 技术
V2EX - 技术
酷 壳 – CoolShell
酷 壳 – CoolShell
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
阮一峰的网络日志
阮一峰的网络日志
GbyAI
GbyAI
The Cloudflare Blog
小众软件
小众软件
MyScale Blog
MyScale Blog
IT之家
IT之家
H
Help Net Security
宝玉的分享
宝玉的分享
V
Visual Studio Blog
Hugging Face - Blog
Hugging Face - Blog
F
Fortinet All Blogs
博客园_首页
S
SegmentFault 最新的问题
MongoDB | Blog
MongoDB | Blog
The Hacker News
The Hacker News
有赞技术团队
有赞技术团队
Microsoft Security Blog
Microsoft Security Blog
Know Your Adversary
Know Your Adversary
Project Zero
Project Zero
P
Palo Alto Networks Blog
博客园 - 聂微东
罗磊的独立博客
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Engineering at Meta
Engineering at Meta
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
U
Unit 42
Spread Privacy
Spread Privacy
NISL@THU
NISL@THU
Cisco Talos Blog
Cisco Talos Blog
Last Week in AI
Last Week in AI
L
Lohrmann on Cybersecurity
J
Java Code Geeks
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Cyberwarzone
Cyberwarzone
G
Google Developers Blog
C
Cybersecurity and Infrastructure Security Agency CISA
大猫的无限游戏
大猫的无限游戏
Microsoft Azure Blog
Microsoft Azure Blog
L
LangChain Blog
The GitHub Blog
The GitHub Blog
Jina AI
Jina AI
Blog — PlanetScale
Blog — PlanetScale
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LINUX DO - 热门话题
T
Tailwind CSS Blog
雷峰网
雷峰网
C
Cisco Blogs

Rat's Blog - Ghost

Ghost博客一键安装脚本,使用Caddy作为反向代理,并自动签发SSL证书 - Rat's Blog
Ubuntu/Debian/CentOS系统Ghost博客一键安装脚本 - Rat's Blog
博主: Rat's · 2017-06-29 · via Rat's Blog - Ghost

说明:我们现在常用的博客程序有WordPressTypechoZBLOG,本博客就使用的Typecho,很轻快,简洁,具体安装方法可以参考:lnmp1.4安装及部署typecho或其它博客教程,不过喜欢折腾的人还可以试试安装Ghost轻博客程序,该博客挺适合个人日志类或者技术网站记录使用。

简介

Ghost是一款个人博客系统,它是使用Node.js语言和MySQL数据库开发的,同时支持MySQLMariaDBSQLitePostgreSQL。用户可以在支持Node.js的服务器上使用自己的博客。它是由两位WordPress前工程师开发,特点就是轻、快、高效,并原生支持Markdown语法。

关于脚本

本脚本可以一键搭建你自己的Ghost博客平台。支持Ubuntu,DebianCentOS系统。为了达到更佳的性能与安全性,将同时安装Nginx(作为反向代理),以及Web应用防火墙ModSecurity或者Naxsi。并且可以在同一台服务器上安装多个博客!只需再次运行脚本,并指定新的完整域名作为参数。

Github地址:https://github.com/hwdsl2/setup-ghost-blog

安装

系统要求:Ubuntu 16.0414.0412.04Debian 89CentOS 67

1、更新系统

apt-get update && apt-get dist-upgrade  #Ubuntu/Debian系统
yum update  #CentOS系统

2、下载并运行Ghost一键脚本

选择ModSecurity防火墙:

wget --no-check-certificate https://git.io/ghost-nginx-modsecurity -O ghost-setup.sh
sh ghost-setup.sh www.moerats.com

选择Naxsi防火墙:

wget --no-check-certificate https://git.io/ghost-nginx-naxsi -O ghost-setup.sh
sh ghost-setup.sh www.moerats.com

安装时将域名修改成自己的,并解析到服务器ip即可!

2、安装及使用过程
(1)出现以下界面说明检测后系统是支持的,如果检测不支持会另有提示。输入y回车进行安装直到安装完成!
请输入图片描述

(2)浏览器访问http://your_domain/ghost配置Ghost基本设置,输入邮箱账号,密码,等等!
请输入图片描述
请输入图片描述

最后就可以使用了!我们还可以从网上找一些Ghost主题把博客打扮的漂亮些。


版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/195/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。