1、环境准备
jdk安装
/usr/local/jdk1.8.0_361/bin/java
mysql安装
create database dolphinscheduler default charset utf8;
zookeeper安装
启动zookeeper:
./bin/zkServer.sh start
mysql-connector-java-5.1.49.jar 需要放到每个组件的Lib目录下
2、准备 DolphinScheduler 启动环境
2.1、配置用户免密及权限
useradd dolphinscheduler
#/etc/sudoers 文件修改
%dolphinscheduler ALL=(ALL) NOPASSWD: ALL
chown -R dolphinscheduler:dolphinscheduler apache-dolphinscheduler-3.1.2-bin.tar.gz
#配置3台机器免密登录针对用户dolphinscheduler
#3台机器都要执行以下命令
ssh-keygen -t rsa
cd .ssh
ssh-copy-id -i id_rsa.pub dolphinscheduler@tidb1
ssh-copy-id -i id_rsa.pub dolphinscheduler@tidb2
ssh-copy-id -i id_rsa.pub dolphinscheduler@tidb3
标签:bin,部署,dolphinscheduler,rsa,pub,集群,copy,id From: https://www.cnblogs.com/52shaidan/p/17288800.html