2020开源交流-三步搭建halo开源博客
准备:
云主机 ctyun.cn (免费试用 2c4g 一个月)
链接云主机的工具 finalshell
1、安装docker
curl -fsSL https://get.docker.com/ | sh
systemctl start docker
systemctl status docker
2、拉取开源项目镜像
docker pull ruibaby/halo
3、启动动容器
docker run --rm -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo ruibaby/halo
主机ip:8090
47.93.199.47:8090
绑定域名