尝试使用Halo写博客

昨天晚上刷抖音发现了这个神仙博客系统(我超爱的呢),今天趁着上班摸鱼时间,尝试一下。

Halo的安装

程序员要先学会百度,所以第一步就先去百度Halo官网地址https://halo.run/#google_vignette
搭建Halo官网写的很详细,

我选择使用docker部署因为docker很方便

  1. 先找到halo的镜像并且拉取镜像
    docker pull halohub/halo:latest

  2. 运行镜像
    docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo halohub/halo:latest

  3. 访问xxxxxx:8090找到初始化界面

  4. 创建用户什么的就可以使用这个神仙博客系统了呢

  5. 可以选择主题https://halo.run/themes.html里面有很多神仙主题,特别好看 但是安装主题的时候就有问题了 使用链接一直报错,网络链接不上因为使用Github的本来就很慢,所以推荐使用文件直接下载为.zip的文件比较好

  6. 在Nginx、Cabby上面配置域名转发就可以使用域名访问了呢!!是不是很方便哇

Creativity requires the courage to let go of certainties.