新聞中心
安裝環(huán)境:centos 7

成都創(chuàng)新互聯(lián)公司堅(jiān)持“要么做到,要么別承諾”的工作理念,服務(wù)領(lǐng)域包括:成都網(wǎng)站制作、成都網(wǎng)站建設(shè)、外貿(mào)營(yíng)銷(xiāo)網(wǎng)站建設(shè)、企業(yè)官網(wǎng)、英文網(wǎng)站、手機(jī)端網(wǎng)站、網(wǎng)站推廣等服務(wù),滿(mǎn)足客戶(hù)于互聯(lián)網(wǎng)時(shí)代的安寧網(wǎng)站設(shè)計(jì)、移動(dòng)媒體設(shè)計(jì)的需求,幫助企業(yè)找到有效的互聯(lián)網(wǎng)解決方案。努力成為您成熟可靠的網(wǎng)絡(luò)建設(shè)合作伙伴!
kettle版本:pdi-ce-7.1.0.0-12.zip
需要JDK環(huán)境為1.8
需要卸載自帶JDK
一、安裝JDK1.8,我的路徑是/usr/local下
配置Java環(huán)境變量
[root@qkettle local]# vim /etc/profile
export JAVA_HOME=/usr/local/jdk1.8.0_11
export JAVA_BIN=/usr/local/jdk1.8.0_11/bin
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$PATH:$JAVA_HOME/bin
[root@qkettle local]# source /etc/profile
二、安裝各種依賴(lài),解決各種錯(cuò)誤
[root@qkettle local]# yum -y install epel-release
[root@qkettle local]# yum -y install webkitgtk
[root@qkettle local]# yum -y install RedHat-lsb
xulrunner-1.9.2.28pre.en-US.linux-x86_64.tar可從以下信息的得到下載:
如果取消關(guān)注主機(jī)寶貝公眾號(hào),即使再次關(guān)注,也將無(wú)法提供本服務(wù)!
鏈接:https://pan.baidu.com/s/1qXGWwDu 密碼:獲得見(jiàn)上面的方法,地址失效請(qǐng)?jiān)谙旅媪粞浴?/p>
也可以到主機(jī)寶貝1號(hào)FTP服務(wù)器下載
在 2017年LinuxIDC.com/10月/CentOS 7下安裝kettle7.1/
[root@qkettle local]# tar -xvf xulrunner-1.9.2.28pre.en-US.linux-x86_64.tar
[root@qkettle local]# cd ./xulrunner
[root@qkettle local]# ./xulrunner -register-global
三、安裝kettle
[root@qkettle local]# unzip pdi-ce-7.1.0.0-12.zip
[root@qkettle local]# cd data-integration/
[root@qkettle data-integration]# chmod +x -R *.sh
[root@qkettle data-integration]# ./kitchen.sh
回到Linux圖形界面中打開(kāi)終端,執(zhí)行操作
[root@qkettle data-integration]# ./spoon.sh &
[1] 16805
[root@qkettle data-integration]# Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
14:42:11,126 INFO [KarafBoot] Checking to see if org.pentaho.clean.karaf.cache is enabled
14:42:11,477 INFO [KarafInstance]
*******************************************************************************
*** Karaf Instance Number: 1 at /usr/local/data-integration/./system/karaf/ ***
*** caches/spoon/data-1 ***
*** FastBin Provider Port:52901 ***
*** Karaf Port:8802 ***
*** OSGI Service Port:9051 ***
*******************************************************************************
到這里,除去第一個(gè)warning警告之外,接下來(lái)下面沒(méi)有error的錯(cuò)誤了,說(shuō)明就可以了。
安裝到此結(jié)束。
安裝中踩到的坑:
一、當(dāng)遇到的錯(cuò)誤是:
2017/09/25 13:52:55 - org.pentaho.di.ui.util.EnvironmentUtils@51351f28 - ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : Could not open a browser
2017/09/25 13:52:56 - org.pentaho.di.ui.util.EnvironmentUtils@51351f28 - ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME=''] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
2017/09/25 13:52:56 - org.pentaho.di.ui.util.EnvironmentUtils@51351f28 - no swt-mozilla-gtk-4335 in java.library.path
2017/09/25 13:52:56 - org.pentaho.di.ui.util.EnvironmentUtils@51351f28 - no swt-mozilla-gtk in java.library.path
2017/09/25 13:52:56 - org.pentaho.di.ui.util.EnvironmentUtils@51351f28 - /root/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4335.so: libxpcom.so: 無(wú)法打開(kāi)共享對(duì)象文件: 沒(méi)有那個(gè)文件或目錄
2017/09/25 13:52:56 - org.pentaho.di.ui.util.EnvironmentUtils@51351f28 - Can't load library: /root/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so
就是需要安裝xulrunner-1.9.2.28pre.en-US.linux-x86_64.tar來(lái)解決。
二、遇到這個(gè)錯(cuò)誤:
2017/09/25 13:41:04 - org.pentaho.di.ui.util.EnvironmentUtils@3402b4c9 - ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : Could not execute command
2017/09/25 13:41:04 - org.pentaho.di.ui.util.EnvironmentUtils@3402b4c9 - ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : java.io.IOException: Cannot run program "lsb_release": error=2, 沒(méi)有那個(gè)文件或目錄
就是需要yum -y install redhat-lsb來(lái)解決。
網(wǎng)站欄目:CentOS7下安裝kettle7.1
網(wǎng)頁(yè)路徑:http://m.5511xx.com/article/dhcscps.html


咨詢(xún)
建站咨詢(xún)
