知道的越多,不知道的就越多,業餘的像一棵小草!
編輯:業餘草
來源:https://www.xttblog.com/?p=4996
Halo 是一款現代化的個人獨立博客系統,給習慣寫博客的同學多一個選擇。
簡介
Halo [ˈheɪloʊ],意爲光環。當然,你也可以當成拼音讀(哈嘍)。
輕快,簡潔,功能強大,使用 Java 開發的博客系統。
快速開始
下載最新的 Halo 安裝包
curl -L https://github.com/halo-dev/halo/releases/download/v1.1.1/halo-1.1.1.jar --output halo-latest.jar
或者
wget https://github.com/halo-dev/halo/releases/download/v1.1.1/halo-1.1.1.jar -O halo-latest.jar
啓動 Halo
java -jar halo-latest.jar
詳細文檔請移步:
“https://halo.run/guide
博客示例
請移步:
“https://github.com/halo-dev/halo/issues/26。
周邊
後臺管理(halo-admin):
“https://github.com/halo-dev/halo-admin
獨立評論模塊(halo-comment):
“https://github.com/halo-dev/halo-comment
管理 APP(halo-app):
“https://github.com/halo-dev/halo-app
主題倉庫:
“https://halo.run/theme
預覽圖
視頻中忘記說的一點,更換 MySQL 數據庫,只需要在你係統 ~/.halo 目錄添加一個 yaml 配置文件即可。
“server:
port: 8090
# Response data gzip.
compression:
enabled: false
spring:
datasource:
# H2 database configuration.
driver-class-name: org.h2.Driver
url: jdbc:h2:file:~/.halo/db/halo
username: admin
password: 123456
# MySQL database configuration.
# driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://127.0.0.1:3306/halodb?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
# username: root
# password: 123456
# H2 database console configuration.
h2:
console:
settings:
web-allow-others: false
path: /h2-console
enabled: false
halo:
# Your admin client path is https://your-domain/{admin-path}
admin-path: admin
# memory or level
cache: memory
在使用過程中,如果遇到困難,可以加我微信溝通交流!