1)解壓
2)進入mysql建立azkaban庫,然後将解壓好的腳本導入
create database azkaban;
use azkaban;
source /root/hd/azkaban/azkaban-2.5.0/create-all-sql-2.5.0.sql;
3)生成證書
keytool -keystore keystore -alias jetty -genkey -keyalg RSA
将keystore移動到server檔案夾下
4)時間同步配置 任務排程,是以和本地時間保持一緻 開啟互動視窗:
sudo date -s ''
hwclock -w
5)修改server端配置檔案
azkaban.properties
azkaban-users.xml
6)修改excutor端配置檔案
azkaban.properties
7)啟動 azkaban服務
啟動executor伺服器
在executor伺服器目錄下執行啟動指令
[[email protected] executor]$ pwd
/opt/module/azkaban/executor
[[email protected] executor]$ bin/azkaban-executor-start.sh
啟動web伺服器
在azkaban web伺服器目錄下執行啟動指令
[[email protected] server]$ pwd
/opt/module/azkaban/server
[[email protected] server]$ bin/azkaban-web-start.sh
環境配置參考:
https://blog.csdn.net/Jerry_991/article/details/85237574