Installation Environment: CENTOS7
Kettle Version: Pdi-ce-7.1.0.0-12.zip
Requires a JDK environment of 1.8
Need to uninstall your own JDK
First, install JDK1.8, my path is/usr/local under
Configuring Java Environment variables
[Email protected] 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
[Email protected] local]# Source/etc/profile
Second, install a variety of dependencies, to solve various errors
[Email protected] local]# yum-y install Epel-release
[Email protected] local]# yum-y install WEBKITGTK
[Email protected] local]# yum-y install REDHAT-LSB
Download Xulrunner-1.9.2.28pre.en-us.linux-x86_64.tar
[Email protected] local]# TAR-XVF Xulrunner-1.9.2.28pre.en-us.linux-x86_64.tar
[[Email protected] local]# CD./xulrunner
[Email protected] local]#./xulrunner-register-global
Third, installation kettle
[Email protected] local]# Unzip Pdi-ce-7.1.0.0-12.zip
[Email protected] local]# CD data-integration/
[Email protected] data-integration]# chmod +x-r *.sh
[Email protected] data-integration]#./kitchen.sh
Go back to the Linux GUI to open the terminal and perform the operation
[Email protected] data-integration]#./spoon.sh &
[1] 16805
[[email protected] data-integration]# Java HotSpot (TM) 64-bit Server VM Warning: ignoring option maxpermsize=256 M Support is 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 * * *
*******************************************************************************
Here, with the exception of the first warning warning, there is no error in the following, which means it is possible.
Install to this end.
The hole to be trampled on during installation:
First, when the error encountered is:
2017/09/25 13:52:55-[email protected]-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-[email protected]-ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by Buildguy): ORG.E Clipse.swt.SWTError:No more handles [mozilla_five_home= "] (java.lang.UnsatisfiedLinkError:Could not load SWT library. Reasons:
2017/09/25 13:52:56-[email protected]-no swt-mozilla-gtk-4335 in Java.library.path
2017/09/25 13:52:56-[email protected]-no SWT-MOZILLA-GTK in Java.library.path
2017/09/25 13:52:56-[email protected]-/root/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4335.so:libxpcom.so: Unable to open the shared object file: No file or directory
2017/09/25 13:52:56-[email protected]-Can ' t load library:/root/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so
It is necessary to install Xulrunner-1.9.2.28pre.en-us.linux-x86_64.tar to solve.
Second, encountered this error:
2017/09/25 13:41:04-[email protected]-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-[email protected]-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, no file or directory
Just need to yum-y install REDHAT-LSB to solve.
This article is from the "Vernacular" blog, please be sure to keep this source http://feature09.blog.51cto.com/12614993/1968437
Install kettle7.1 under Linux