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
相关推荐
CodeCraft Studio11 天前
DHTMLX重磅发布React Scheduler组件,赋能日程管理开发!
前端·react.js·前端框架·dhtmlx·调度·scheduler·排程
胡西风_foxww15 天前
Vue2 项目实现 Gzip 压缩全攻略:从配置到部署避坑指南
nginx·部署·vue2·配置·gzip·压缩·攻略
初级代码游戏1 个月前
Maui劝退:用windows直接真机调试iOS,无须和Mac配对
macos·ios·配置·maui·热重载
胡斌附体2 个月前
ruoyi-flowable-plus中satoken的配置使用
ruoyi·配置·登录·拦截器·satoken
笨手笨脚の2 个月前
Redis 常用配置实践
数据库·redis·配置·spring runner
林多2 个月前
【性能优化】启用zram
配置·swap·zram·启用zram·zram0·disk
叶 落2 个月前
Windows 下安装 NVM
windows·安装·nvm
叶 落2 个月前
ubuntu 安装 JDK8
java·ubuntu·jdk·安装·java8
有梦想的攻城狮3 个月前
Vert.x学习笔记-VertxOptions配置详解
笔记·学习·配置·vert.x·vertxoptions
伊织code3 个月前
macOS 安装 PostgreSQL
数据库·macos·postgresql·gui·安装·客户端·psql