标签: Ghost

5 篇文章
Ghost

macOS 安装配置 Ghost 5

环境检查 环境依赖 * Node.js v20 或者 v22( 支持的 Node.js 版本 ,推荐 node@20) * 包管理工具 pnpm / Yarn / npm 检查 Node.js 检查当前安装的 Node.js 版本: node -v v20.19.0 检查当前安装的 pnpm 版本: pnpm -v 10.12.1 安装 Ghost 安装 Ghost CLI 使用包管理工具全局安装 Ghost-CLI: # pnpm pnpm add -g ghost-cli@latest # Yarn yar…
阅读全文

Ghost 5 配置 SMTP 邮箱服务

邮箱服务 邮箱作用 Ghost 使用 Nodemailer 实现邮件发送服务,可以使用第三方邮箱的 SMTP 服务来发送邮件。 目前 Ghost 中邮箱的作用主要有以下几种: * 新设备登陆 Ghost 管理后需要邮箱验证码(默认开启,可关闭)。 * 邀请用户注册时时需要发送邀请邮件。 * 新用户注册时需要发送验证邮件。 * 文章发布时给订阅用户发动订阅邮件。 配置文件 development 环境下为 Ghost 安装目录下的 config.development.json 文件。 production 环境下为 Ghost…
阅读全文

Debian 12 安装配置 Ghost 5

环境检查 环境依赖 * Systemd (Debian12 自带) * 使用 SQLite3 作为数据库(无须安装 MySQL) * 至少 1 GB 物理内存(可设置 1GB 以上的 Swap 代替) * 一个非 root 且拥有 sudo 权限的用户来安装 Ghost(用户名不能为 ghost ) * nginx(如需使用 HTTPS 则需要 nginx >= 1.9.5) * Node.js( 支持的 Node.js 版本 ,推荐 node@20) 检查系统内存 系统内存信息: free total used fr…
阅读全文

CentOS 7 安装配置 Ghost 2

准备工作 环境依赖 * 至少 1 GB 物理内存(可设置 1GB 以上的 Swap 代替) * Systemd (CentOS 7 自带) * 一个非 root 且拥有 sudo 权限的用户(用户名不能为 ghost ) * NGINX(如需使用 HTTPS 则需要 NGINX >= 1.9.5) * Node.js( 支持的 Node.js 版本 ,推荐 node@10) * Yarn(替代 npm 管理 Node.js 软件包) 检查系统内存 查看当前系统内存: free total used f…
阅读全文

macOS 安装配置 Ghost 2

准备工作 * 支持的 Node.js 版本(推荐 node@12) * 安装 Yarn 并设置源为 taobao 镜像源 安装 Ghost CLI 使用 Yarn 全局安装 Ghost-CLI: yarn global add ghost-cli@latest 查看当前安装的 Ghost-CLI 版本: ghost -v Ghost-CLI version: 1.11.0 安装 Ghost 使用终端工具进入要安装 Ghost 的目录中: cd <path> 在当前目录安装 Gh…
阅读全文