dolphinscheduler standalone安装

官方文档:https://dolphinscheduler.apache.org/en-us/docs/3.1.3/guide/installation/standalone

1.安装(以放在/home为例)

下载见:https://download.csdn.net/download/taotao_guiwang/89311365

powershell 复制代码
tar -xvzf apache-dolphinscheduler-3.2.1-bin.tar.gz
chmod -R 777 apache-dolphinscheduler-3.2.1-bin
cd apache-dolphinscheduler-3.2.1-bin
bash ./bin/dolphinscheduler-daemon.sh start standalone-server

2.数据库配置(以MySQL为例)

2.1 准备驱动

把MySQL驱动放在

/home/apache-dolphinscheduler-3.2.1-bin/standalone-server/libs/standalone-server(用于dolphinscheduler相关服务)

/home/apache-dolphinscheduler-3.2.1-bin/tools/libs(用于2.2初始化数据库)

mysql-connector-java-8.0.29.jar(要用8.x驱动)

2.2 初始化数据库

创建数据库:

powershell 复制代码
CREATE DATABASE dolphinscheduler DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;

初始化数据:

powershell 复制代码
bash /home/apache-dolphinscheduler-3.2.1-bin/tools/bin/upgrade-schema.sh

2.3 修改yaml配置

powershell 复制代码
vi /home/apache-dolphinscheduler-3.2.1-bin/standalone-server/conf/application.yaml

3. 启动&停止

powershell 复制代码
# Start Standalone Server
bash /home/apache-dolphinscheduler-3.2.1-bin/bin/dolphinscheduler-daemon.sh start standalone-server
# Stop Standalone Server
bash /home/apache-dolphinscheduler-3.2.1-bin/bin/dolphinscheduler-daemon.sh stop standalone-server

4. 访问

地址:http://IP:12345/dolphinscheduler/ui/login

账号:admin

密码:dolphinscheduler123

5.配置Flink环境

下载见:https://download.csdn.net/download/taotao_guiwang/89334980

配置到系统环境变量:

powershell 复制代码
echo 'export FLINK_HOME=/home/flink-1.19.0' >> ~/.bashrc
echo 'export PATH=$FLINK_HOME/bin:$PATH' >> ~/.bashrc
source ~/.bashrc

查看

powershell 复制代码
flink --version
相关推荐
那我掉的头发算什么10 小时前
【Mybatis】动态SQL与留言板小项目
数据库·spring boot·sql·spring·mybatis·配置
嗯嗯**2 天前
Neo4j学习1:概述、安装
学习·neo4j·概述·安装·图数据库·jdk21
椰汁菠萝6 天前
apt命令安装docker
docker·容器·apt·安装
千寻技术帮6 天前
10410_基于Springboot的文化旅游宣传网站
spring boot·后端·vue·源码·旅游·安装·在线旅游
YMWM_7 天前
lerobot_train中scheduler具体实现
调度器·scheduler·pi05
走遍西兰花.jpg7 天前
dolphinscheduler海豚调度器
scheduler
千寻技术帮8 天前
10368_基于SpringBoot的共享租车管理系统
源码·springboot·安装·文档·共享单车·单车租赁
老陈聊架构9 天前
『AI编程工具』OpenCode 保姆级安装教程:开源 AI 编程代理入门教程
人工智能·部署·ai编程·安装·oepncode
特立独行的猫a12 天前
claude code 在windows下的最简单安装方法
windows·claude·安装
千寻技术帮12 天前
10399_基于SpringBoot的智慧养老院管理系统
java·spring boot·后端·源码·安装·代码