1 如果java没有安装,那么先安装java,步骤如下
sudo su – root
cd /usr
mkdir java
cd java
cp xxx/jdk-8u161-linux-x64.tar.gz ./
tar zxvf jdk-8u161-linux-x64.tar.gz
rm jdk-8u161-linux-x64.tar.gz
export JAVA_HOME=/usr/java/jdk1.8.0_161
cat >>/etc/profile <<EOF
export JAVA_HOME=/usr/java/jdk1.8.0_161
export JAVA_CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$PATH:$JAVA_HOME/bin
EOF
2 安装unzip
rpm -ivh unzip-6.0-5.el6.x86_64.rpm
3 下载安装包并解压缩
unzip pdi-ce-7.1.0.0-12.zip
4 设置DISPLAY
export DISPLAY={your IP}:0.0 # export DISPLAY=146.11.42.114:0.0
5 安装webkitgtk
yum install webkitgtk
6 执行如下命令,查找要安装的包
yum provides */lsb_release
7 依次安装上一步找到的包
yum install {result of previous command result}
8 安装libXtst
yum install libXtst
9 安装字体
yum install dejavu-lgc-sans-fonts
yum groupinstall "Japanese Support"
dbus-uuidgen > /var/lib/dbus/machine-id
10 运行
cd ~/data-integration
./spoon.sh
网友评论