Ghost 开源博客的搭建

本文介绍了如何搭建Ghost开源博客,包括从官网获取资源到安装环境的详细步骤,涉及安装Node.js、Nginx以及配置Nginx作为Ghost的反向代理,并提到了启动Ghost和设置防火墙的相关事项。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Ghost 开源博客的搭建


简介

Ghost 是一个基于 NodeJs 完全开源的,用于构建和运行现代出版物的强大平台,平台支持博客、杂志、新闻等发布。
它由前 WordPress UI 部门主管 John O’Nolan 和 WordPress 高级工程师 Hannah Wolfe 创立,
目的是为了给用户提供一种更加纯粹的内容写作与发布平台,使命是为世界各地的独立记者和作家创建最好的开源工具。
Ghost 成立于 2013 年 4 月,在 2013 年 9 月份 Ghost 正式向公众发布。

官网

https://ghost.org/

https://ghost.org/docs/install/local/#install-ghost


安装环境

CentOS-7

- Ghost
- Nginx
- Node.js
- Python
- MySQL

 安装要求

- Intel x86 or compatible processor
- Minimum of 256 MB RAM 
- Minimum of 150 MB hard drive space
- TCP/IP protocol support
- Compatible operantig systems:
  - An x86 or x64 Linux operating system.
  - A Windows operating system such as Windows Vista, Windows 7, Windows 8, Windows 10, Windows Server 2008 or Windows Server 2012.
  - An OS X operating system.

安装 nginx

# 安装
yum install nginx -y
 
# 配置 nginx 开机启动
systemctl enable nginx
 
# 启动 nginx 服务
systemctl start nginx
 
# 查看 nginx 服务是否启动成功
ps -ef | grep nginx

安装 Node.js

# 更新系统

yum -y update

# 安装 EPEL

yum install epel-release -y

# 安装 Node.js 和 npm

yum install nodejs npm --enablerepo=epel

#
#
#
========================================================================================================================================
 Package                    架构                       版本                                           源                           大小

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值