以下是halo linux 官方部署文档
https://docs.halo.run/getting-started/install/linux
yum install java-11-openjdk -y
查看版本[root@localhost ~]# java --version
openjdk 11.0.14.1 2022-02-08 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.14.1+1-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.14.1+1-LTS, mixed mode, sharing)
wget https://dl.halo.run/release/halo-1.5.2.jar -O /opt/halo.jar下载一个启动服务
wget https://dl.halo.run/config/halo.service -O /etc/systemd/system/halo.service
vim /etc/systemd/system/halo.service
[root@localhost ~]# cat /etc/systemd/system/halo.service [Unit] Description=Halo Service Documentation=https://docs.halo.run After=network-online.target Wants=network-online.target [Service] Type=simple User=root ExecStart=/usr/bin/java -server -Xms4096m -Xmx4096m -jar /opt/halo.jar ExecStop=/bin/kill -s QUIT $MAINPID Restart=always StandOutput=syslog StandError=inherit [Install] WantedBy=multi-user.target启动服务
systemctl daemon-reload systemctl start halo systemctl enable halo journalctl -n 20 -u halo设置评论
https://github.com/halo-dev/halo-comment-yu
https://npm.elemecdn.com/halo-comment-yu@latest/dist/halo-comment.min.js
主题下载https://github.com/halo-dev
markdown 使用文档https://docs.halo.run/user-guide/markdown



