本文主要是介绍dolphinscheduler独立集群部署文档(海豚调度),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
一、下载解压
服务器内下载(华为云镜像站网址):
wget https://mirrors.huaweicloud.com/apache/dolphinscheduler/3.2.0/apache-dolphinscheduler-3.2.0-bin.tar.gz解压:tar -xvf apache-dolphinscheduler-3.2.0-bin.tar.gz
改名:mv apache-dolphinscheduler-3.2.0-bin/ dolphinscheduler-3.2.0
二、配置mysql作为默认的数据库
#mysql-connector-java-8.0.16.jar下载地址:
https://mvnrepository.com/artifact/mysql/mysql-connector-java/8.0.16# 1、将mysql(mysql-connector-java-8.0.16.jar)驱动上传到以下目录
# api-server/libs/
# alert-server/libs/
# master-server/libs/
# standalone-server/libs/standalone-server/# 2、初始化数据库
mysql:mysql -uroot -p123456
CREATE DATABASE dolphinscheduler DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;# 3、在环境变量中配置mysql信息
vim /etc/profile
# for mysql
export DATABASE=${DATABASE:-mysql}
export SPRING_PROFILES_ACTIVE=${DATABASE}
export SPRING_DATASOURCE_URL="jdbc:mysql://master:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8&useSSL=false"
export SPRING_DATASOURCE_USERNAME=root
export SPRING_DATASOURCE_PASSWORD=123456
# source /etc/profile# 4、执行脚本初始化数据库
bash tools/bin/upgrade-schema.sh
三、启动dolphinscheduler与ui界面登录
# Start Standalone Server
bash ./bin/dolphinscheduler-daemon.sh start standalone-server
# Stop Standalone Server
bash ./bin/dolphinscheduler-daemon.sh stop standalone-server
# Check Standalone Server status
bash ./bin/dolphinscheduler-daemon.sh status standalone-serverdolphinscheduler ui界面地址:http://master:12345/dolphinscheduler/ui
#默认账户
用户名:admin
密码:dolphinscheduler123
这篇关于dolphinscheduler独立集群部署文档(海豚调度)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!