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
相关推荐
格桑阿sir5 天前
Kubernetes控制平面组件:调度器Scheduler(一)
kubernetes·requests·调度器·scheduler·kube-scheduler·cgroups·pod资源
H.ZWei10 天前
鸿蒙应用开发—鸿蒙app一键安装脚本
python·华为·harmonyos·安装·hdc
hn_tzy11 天前
MATLAB2022b安装
matlab·安装·2022b
Tee xm18 天前
清晰易懂的跨平台 MySQL 安装与配置教程
linux·windows·mysql·macos·安装
Tee xm18 天前
清晰易懂的 Flutter 开发环境搭建教程
linux·windows·flutter·macos·安装
Tee xm23 天前
清晰易懂的VSCode加Cline插件使用不同API提供商实现AI编程
vscode·ai编程·安装
遇码23 天前
单机快速部署开源、免费的分布式任务调度系统——DolphinScheduler
大数据·运维·分布式·开源·定时任务·dolphin·scheduler
伊织code1 个月前
uv - 配置 [官方文档翻译]
pip·配置·环境变量·索引·uv·configure·.env
Hadoop_Liang1 个月前
openEuler24.03 LTS下安装Hive3
linux·hive·hadoop·mysql·安装·openeuler
伊织code1 个月前
macOS 安装 LibreOffice
macos·安装·libreoffice·soffice