在CentOS系統上配置DolphinScheduler的步驟如下:
/opt/dolphinscheduler
。bin/env/dolphinscheduler_env.sh
文件,設置數據庫連接信息和其他環境變量。例如:export DATABASE=mysql
export SPRING_PROFILES_ACTIVE=${DATABASE}
export SPRING_DATASOURCE_URL="jdbc:mysql://localhost:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8&useSSL=false"
export SPRING_DATASOURCE_USERNAME=root
export SPRING_DATASOURCE_PASSWORD=root
export JAVA_HOME=/path/to/your/jdk
sh script/create-dolphinscheduler.sh
bin
目錄,運行安裝腳本進行安裝:cd /opt/dolphinscheduler/bin
./install.sh
firewall-cmd --zone=public --add-port=12345/tcp --permanent
firewall-cmd --reload
http://your_server_ip:12345/dolphinscheduler
。以上步驟是基于CentOS 7和DolphinScheduler的通用配置流程,具體版本可能會有所不同,請參考官方文檔進行相應調整。