1. 程式人生 > 實用技巧 >1#安裝Ghost部落格

1#安裝Ghost部落格

How to install Ghost on Ubuntu

A full guide for installing, configuring and running Ghost on your Ubuntu 16.04 or 18.04 server, for use in production

Prerequisites

  • A server with at least 1GB memory「阿里雲 1核1G1M」

  • A registered domain name「先把域名解析到伺服器IP弄好」

  • Ubuntu 16.04 or Ubuntu 18.04

  • NGINX (minimum of 1.9.5 for SSL)

  • A supported version of Node.js「Ghost版本和Node.js版本要匹配」

  • MySQL 5.5, 5.6, or 5.7 (not >= 8.0)

  • Systemd

1️⃣Server Setup

1.Create a new user