一丶准备工作
1.服务器
准备一台安装了Linux系统的服务器。这次搭建用的系统是CentOs7
阿里云:https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=3t6v5x0v
腾讯云:https://curl.qcloud.com/7VVMd37R
腾讯云在淘宝上会便宜很多,1核2G1M就可以,也可以自己选择配置
2.环境搭建
需要在服务器上安装java环境
可以参考这篇文章https://www.cnblogs.com/sxdcgaq8080/p/7492426.html
二丶博客安装
1.下载halo博客jar包
https://dl.halo.run/点击进入

点击release

点击最新版本即可下载
下载速度慢的可以右键复制下载链接到迅雷下载
2.xftp上传至服务器
利用xftp工具连接服务器