标签:配置 mysql 添加 database cut localhost oca server 数据库
git clone https://github.com/azkaban/azkaban.git
cd azkaban; ./gradlew build installDist
CREATE DATABASE azkaban;
use azkaban;
source /home/azkaban/azkaban-db/build/sql/create-all-sql-3.82.0-2-gd8a86ee.sql;
vi /etc/my.cnf #在mysqld之后添加 max_allowed_packet=1024M
#重启
sudo /sbin/service mysqld restart
vi /home/azkaban/azkaban-exec-server/build/install/azkaban-exec-server/conf/azkaban.properties #时区 default.timezone.id=Asia/Shanghai # 改为自己IP azkaban.webserver.url=http://${azkaban.web.ip}:8081 # 修改链接和账号密码 database.type=mysql mysql.port=3306 mysql.host=${mysql.host} mysql.database=azkaban mysql.user=${username} mysql.password=${password}
vi /home/azkaban/azkaban-exec-server/build/install/azkaban-exec-server/bin/start-exec.sh #文件后面添加激活服务 sleep 5s curl -G "localhost:$(<./executor.port)/executor?action=activate" && echo
cd azkaban-exec-server/build/install/azkaban-exec-server ./bin/start-exec.sh
标签:配置 mysql 添加 database cut localhost oca server 数据库
原文地址:https://www.cnblogs.com/CGCong/p/12085215.html