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
相关推荐
友莘居士5 天前
Apache DolphinScheduler:数据治理中数据质检利器
apache·数据治理·dolphin·数据质量·scheduler·数据质检
意法半导体STM325 天前
STM32 USBx Device MSC standalone 移植示例 LAT1488
单片机·嵌入式硬件·device·msc·standalone·usbx
友莘居士9 天前
springbootr如何调用dolphinshceduler
spring boot·restful·dolphin·shceduler
百锦再16 天前
一文精通 Swagger 在 .NET 中的全方位配置与应用
后端·ui·.net·接口·配置·swagger·访问
CodeCraft Studio1 个月前
DHTMLX重磅发布React Scheduler组件,赋能日程管理开发!
前端·react.js·前端框架·dhtmlx·调度·scheduler·排程
胡西风_foxww1 个月前
Vue2 项目实现 Gzip 压缩全攻略:从配置到部署避坑指南
nginx·部署·vue2·配置·gzip·压缩·攻略
初级代码游戏2 个月前
Maui劝退:用windows直接真机调试iOS,无须和Mac配对
macos·ios·配置·maui·热重载
胡斌附体2 个月前
ruoyi-flowable-plus中satoken的配置使用
ruoyi·配置·登录·拦截器·satoken
笨手笨脚の3 个月前
Redis 常用配置实践
数据库·redis·配置·spring runner
林多3 个月前
【性能优化】启用zram
配置·swap·zram·启用zram·zram0·disk