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-server

dolphinscheduler ui界面地址:http://master:12345/dolphinscheduler/ui
#默认账户
用户名:admin
密码:dolphinscheduler123

你可能感兴趣的:(数仓开发,资源调度,scheduler)