在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的通用配置流程,具体版本可能会有所不同,请参考官方文档进行相应调整。
辰迅云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读: 如何在CentOS中查找和安装一个软件包