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
相关推荐
qwfys20021 小时前
如何在Ubuntu 24.04上安装Cursor
ubuntu·安装·cursor·24.04
real向往1 天前
Ubuntu NVIDIA显卡驱动安装
ubuntu·安装·显卡驱动
弗锐土豆2 天前
使用ollama运行本地大模型
llm·大语言模型·安装·ollama
七夜zippoe3 天前
OpenClaw 配置文件全解析:openclaw.yaml 详解
配置·yaml·openclaw
爱听歌的周童鞋4 天前
Nano-vLLM深度解读(上)
llm·vllm·scheduler·inference·nano-vllm·block manager
wind5206 天前
差分包技术
开发语言·node.js·安装·web app·openclaw·龙虾
七夜zippoe7 天前
5分钟部署 OpenClaw:从零到运行的完整流程
部署·安装·配置·流程·openclaw
Sun 32858 天前
MyBatis-Plus 新版代码生成器的使用
java·spring boot·后端·spring·配置·mybatis-plus·代码生成器
蚕豆哥11 天前
Oracle Primavera P6 25.12(最新版)的安装要求
oracle·部署·安装·配置·primavera·p6·25.12
独断万古他化11 天前
Python YAML 模块使用教程:接口测试参数存储与配置
python·接口自动化·测试·配置·yaml