环境说明:
主机名:cmcc01为例
操作系统:centos7
kettle版本:9.3.0
1. 下载kettle
官网:https://sourceforge.net/projects/pentaho/files/
2.解压
unzip /opt/package/pdi-ce-9.3.0.0-428.zip -d /opt/software/
3、配置java环境变量
vim ~/.bash_profile
# 添加以下内容
# JDK
export JAVA_HOME=/opt/software/jdk1.8.0_321
export PATH=$PATH:${JAVA_HOME}/bin
使配置生效
source /etc/profile
4.给同组用户赋权
chmod g+x /opt/software/data-integration/kitchen.sh
5.执行命令
[root@cmcc01 data-integration]#
[root@cmcc01 data-integration]#
[root@cmcc01 data-integration]# ./kitchen.sh
#######################################################################
WARNING: no libwebkitgtk-1.0 detected, some features will be unavailable
Consider installing the package with apt-get or yum.
e.g. 'sudo apt-get install libwebkitgtk-1.0-0'
#######################################################################
Options:
-rep = Repository name
-user = Repository username
-trustuser = !Kitchen.ComdLine.RepUsername!
-pass = Repository password
-job = The name of the job to launch
-dir = The directory (dont forget the leading /)
-file = The filename (Job XML) to launch
-level = The logging level (Basic, Detailed, Debug, R


2386

被折叠的 条评论
为什么被折叠?



