Ghost博客平台指南:[1]在MacOS安装Ghost

 时间:2024-10-14 19:28:54

本篇教程带你在Mac OS X 上安装Ghost博客平台。

Ghost博客平台指南:[1]在MacOS安装Ghost

工具/原料

Mac OS X 系统

Node.js 平台

Ghost 最新版

安装Node.js

1、进入Node.js官网。下载适用于Mac OS X的‘.pkg’安装包,进行安装。如果是.tar.gz包,则将Node拷灌稹笛黛贝到/usr/local/bin/node,再将npm 拷贝到/usr/local/bin/npm。

Ghost博客平台指南:[1]在MacOS安装Ghost

安装Ghost博客

1、从Ghost官方网站下载压缩包。解压后放到Ghost文件夹里面(比如 /ghost/)。

Ghost博客平台指南:[1]在MacOS安装Ghost

2、进入Ghost安装目录,在命令行输入下面的命令来安装Ghost。 cd /ghost/ sudo npm install --production cp config.example.js config.js

Ghost博客平台指南:[1]在MacOS安装Ghost

运行Ghost博客

1、启动Ghost博客程序 npm start --production

Ghost博客平台指南:[1]在MacOS安装Ghost

2、浏览 127.0.0.1:2368,查看新安装的Ghost博客。

Ghost博客平台指南:[1]在MacOS安装Ghost

3、进入 127.0.0.1:2368/ghost 填写登录信息。开始写博客!

Ghost博客平台指南:[1]在MacOS安装Ghost
  • SQL Server如何设置处理器
  • AMI BIOS怎样设置BIOS从U盘或光盘启动
  • Windows Server 2012 R2将MBR磁盘转换为GPT磁盘
  • vb中如何将字符串数组部分合并
  • 怎么把win10里的svchost禁止访问网络
  • 热门搜索
    怎么ps图片 济宁旅游 兔子可以喝水吗 意大利面酱怎么做 乡村旅游 大理洱海旅游攻略 九寨沟旅游要多少钱 鼠标失灵不能动怎么办 分封制的特点 怎么学英语口语