ITPub博客

首页 > 数据库 > 数据库开发技术 > linux安装kettle

linux安装kettle

原创 数据库开发技术 作者:OGG-01161 时间:2015-09-18 14:38:55 0 删除 编辑

linux安装kettle

1.下载和安装JAVA

从ORACLE官网下载JAVA 包并安装。

2.下载kettle

从http://sourceforge.net/projects/pentaho/files/Data%20Integration/3.2.0-stable/下载kettle包,
kettle为绿色包,解压即可。
[root@dgdb soft]# ls
  jdk-8u60-linux-x64.rpm  pdi-ce-5.4.0.1-130.zip
[root@dgdb soft]# unzip pdi-ce-5.4.0.1-130.zip
.....
 inflating: data-integration/ui/import-rules-toolbar.xul  
  inflating: data-integration/ui/job-graph.xul  
  inflating: data-integration/ui/job-history-toolbar.xul  
  inflating: data-integration/ui/job-log-toolbar.xul  
  inflating: data-integration/ui/laf.properties  
  inflating: data-integration/ui/main_perspective_overlay.xul  
  inflating: data-integration/ui/menubar.xul  
  inflating: data-integration/ui/spoon.xul  
  inflating: data-integration/ui/trans-grid-toolbar.xul  
  inflating: data-integration/ui/trans-history-toolbar.xul  
  inflating: data-integration/ui/trans-log-toolbar.xul  
  inflating: data-integration/ui/trans-preview-toolbar.xul  
  inflating: data-integration/ui/trans-toolbar.xul  
[root@dgdb soft]# 




3.配置kettle
赋予sh执行权限
chmod a+x .sh
运行./kitchen.sh
[root@dgdb data-integration]# ./kitchen.sh
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Options:
  -rep            = Repository name
  -user           = Repository username
  -pass           = Repository password
  -job            = The name of the job to launch
  -dir            = The directory (dont forget the leading /)
  -file           = The filename (Job XML) to launch
  -level          = The logging level (Basic, Detailed, Debug, Rowlevel, Error, Nothing)
  -logfile        = The logging file to write to
  -listdir        = List the directories in the repository
  -listjobs       = List the jobs in the specified directory
  -listrep        = List the available repositories
  -norep          = Do not log into the repository
  -version        = show the version, revision and build date
  -param          = Set a named parameter <NAME>=<VALUE>. For example -param:FILE=customers.csv
  -listparam      = List information concerning the defined parameters in the specified job.
  -export         = Exports all linked resources of the specified job. The argument is the name of a ZIP file.
  -custom         = Set a custom plugin specific option as a String value in the job using <NAME>=<Value>, for example: -custom:COLOR=Red
  -maxloglines    = The maximum number of log lines that are kept internally by Kettle. Set to 0 to keep all rows (default)
  -maxlogtimeout  = The maximum age (in minutes) of a log line while being kept internally by Kettle. Set to 0 to keep all rows indefinitely (default)


[root@dgdb data-integration]# 

     上面显示表示安装成功。

   运行./spoon.sh打开图形界面

 












来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/27571661/viewspace-1803091/,如需转载,请注明出处,否则将追究法律责任。

上一篇: linux安装java
下一篇: linux管理rpm包
请登录后发表评论 登录
全部评论

注册时间:2012-08-11

  • 博文量
    55
  • 访问量
    129190