在github中创建一个名字为 xxx.github.io 的仓库,xxx为github为账号。
- 安装Node.js node.js官网
- 安装Hexo
$ npm install -g hexo-cli
$ git clone https://github.com/wuchong/jacman.git themes/jacman
在freenom->My DoMains->Manage Domain->Manage Freenom DNS->Add Record 添加2条 Target:192.30.252.154 Target:192.30.252.153
在xxx.github.io仓库中添加没有后缀的CNAME文件,内容为域名URL