Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Install kettle7.1 under Linux

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Installation environment: centos7

Kettle version: pdi-ce-7.1.0.0-12.zip

JDK environment is required to be 1.8

Need to uninstall the built-in JDK

First, install JDK1.8. My path is / usr/local.

Configure Java environment variables

[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

Install all kinds of dependencies and solve all kinds of errors

[root@qkettle local] # yum-y install epel-release

[root@qkettle local] # yum-y install webkitgtk

[root@qkettle local] # yum-y install redhat-lsb

Download xulrunner-1.9.2.28pre.en-US.linux-x86_64.tar

[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

Third, install 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

Go back to the Linux graphical interface and open the terminal to perform the operation.

[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:11126 INFO [KarafBoot] Checking to see if org.pentaho.clean.karaf.cache is enabled

14:42:11477 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 * *

*

At this point, except for the first warning warning, there are no error errors below, which is fine.

This completes the installation.

Pits stepped on during installation:

First, when the mistakes encountered are:

13:52:55 on 2017-09-25-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

13:52:56 on 2017-09-25-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:

13:52:56 on 2017-09-25-org.pentaho.di.ui.util.EnvironmentUtils@51351f28-no swt-mozilla-gtk-4335 in java.library.path

13:52:56 on 2017-09-25-org.pentaho.di.ui.util.EnvironmentUtils@51351f28-no swt-mozilla-gtk in java.library.path

13:52:56 on 2017-09-25-org.pentaho.di.ui.util.EnvironmentUtils@51351f28-/ root/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4335.so: libxpcom.so: unable to open shared object file: no file or directory

13:52:56 on 2017-09-25-org.pentaho.di.ui.util.EnvironmentUtils@51351f28-Can't load library: / root/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so

You just need to install xulrunner-1.9.2.28pre.en-US.linux-x86_64.tar to solve the problem.

Second, encounter this error:

13:41:04 on 2017-09-25-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, there is no such file or directory

It just needs yum-y install redhat-lsb to solve it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report