kettle安装
短信预约 -IT技能 免费直播动态提醒
kettle安装
-
安装java环境
mkdir /data/javaln -s /data/java/ /opt/cd /opt/javatar zxvf jdk-8u171-linux-x64.tar.gz
#javaexport JAVA_HOME=/opt/java/jdk1.8.0_171export JRE_HOME=$JAVA_HOME/jreexport CLASSPATH=$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATHexport PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
source /etc/profilejava -version
-
解压安装kettle
#下载安装webkitgtk(二选一)#外网下载wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/matthewdva:/build:/EPEL:/el7/RHEL_7/x86_64/webkitgtk-2.4.9-1.el7.x86_64.rpmyum -y install webkitgtk-2.4.9-1.el7.x86_64.rpm
cd /optunzip pdi-ce-9.4.0.0-343.zipmkdir /data/kettlemv data-integration/ /data/kettle/ln -s /data/kettle/data-integration/ /opt/kettle/# 生成加密密码cd /opt/kettle/data-integration./encr.sh -carte asd123456# 修改密码配置文件vim /opt/kettle/data-integration/pwd# Please note that the default password (cluster) is obfuscated using the Encr script provided in this release# Passwords can also be entered in plain text as before# #cluster: OBF:1v8w1uh21z7k1ym71z7i1ugo1v9q cluster: OBF:thhdhdfhafasdfagaghfhgfjfkghggdfgdfe
-
设置开机自启
cat /usr/lib/systemd/system/kettle.service[Unit]Description=kettleAfter=network.target syslog.target[Service]PrivateTmp=trueRestart=alwaysType=simpleEnvironment="JAVA_HOME=/opt/java/jdk1.8.0_171"#WorkingDirectory=/data/cyxnsyh/ExecStart=/opt/kettle/data-integration/carte.sh 192.168.2.186 8080#ExecStop=/usr/bin/kill -15 [Install]WantedBy=multi-user.target
systemctl daemon-reloadsystemctl start kettle
-
防火墙放行
firewall-cmd --zone=public --permanent --add-port=8080/tcpfirewall-cmd --reload
来源地址:https://blog.csdn.net/lx_1314/article/details/133635706
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341