1. 程式人生 > >linux下kettle安裝部署

linux下kettle安裝部署

登陸-linux-(切換到kettle部署的使用者下面)

第一:產看系統的java環境,cat .bash_profile 檔案

從上面可以看到,在cognos使用者下已經安裝了java jdk,版本是1.6.0_20,我們看一下kettle的最低版本要求,編輯檢視spoon.bat可以看到

java的版本需求為1.6.0_17,cognos使用者下的jdk版本在此之上,說明java環境已經符合。

第二:上傳檔案,開始部署

1. 將data-integration.zip上傳到linux伺服器(利用SSH將解壓過的整個資料夾上傳也可以)

2. 使用unzip命令解壓data-integration.zip   unzip data-integration.zip -d "/mnt/kettle"(如果上傳的是資料夾,忽略此步驟)

3.進入解壓目錄,找到./kitchen.sh

鍵入./kitchen.sh,看輸入資訊

BASH:/ kitchen.sh的:許可權被拒絕

從上面可以看出kitchen.sh缺少執行許可權,我們再次進入看看檔案盒資料夾的許可權

從上面可以看出,此目錄下面的.sh檔案都沒有執行許可權(X),接下來我們給這個資料夾下面的所有.sh檔案賦執行的許可權

由上面的我們可以看出,賦權成功!

再次./kitchen.sh,回車 看輸出資訊--

可以看到上面出現 -rep,-user,-pass 這些kettle中的幫助資訊,說明kettle部署成功!

第三:調出spoon介面

在windows系統上面是執行spoon.bat 同理在linux系統上面執行spoon.sh調出spoon的介面進行開發。

執行./spoon.sh,檢視資訊

這裡說一下,調出spoon介面需要linux客戶端支援圖形化服務。我們這裡採用的是SecureCRT_CN,只支援命令後臺。這個時候就需要用tvnviewer,需要在linux服務端裝tvnviewer服務端。

在命令客戶端執行:vncserver 開啟vnc服務

從上面的資訊可以看出,服務已經啟動,我們可以登陸tvnviewer

登陸成功 --

在終端執行調出spoon介面的命令!執行 xhost +(xhost + 是使所有使用者都能訪問Xserver.)

OK ,所有host使用者都可以訪問圖形服務了。

進入目錄,執行spoon.sh

彈出下面的資訊

解決上面的問題,jdk已經沒問題了到網上搜了一下

  從英文的大概可以看出來是需要編輯.kettle目錄下的一個檔案,於是發現linux上面cognos根目錄下沒有.kettle檔案

  於是從window上面把C:\Users\Administrator\.kettle中的檔案.spoonrc.kettle編輯修改

儲存,然後把.kettle整個資料夾賦值到cognos根目錄下,檢視是否存在(使用 ls -a顯示所有物件,因為.XX的物件預設是隱藏的)

再次執行./spoon.sh

[[email protected] data-integration]$ ./spoon.sh


/home/cognos/pdi-ce-4.2.0-stable/data-integration
INFO  11-11 14:56:34,164 - Spoon - Logging goes to file:///tmp/spoon_66d28e63-4a9e-11e3-a301-7b09d1d32e5b.log
INFO  11-11 14:56:35,641 - Logging to org.slf4j.impl.JCLLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
INFO  11-11 14:56:35,646 - class org.pentaho.agilebi.platform.JettyServer - WebServer.Log.CreateListener localhost:10000
INFO  11-11 14:56:35,647 - jetty-6.1.21
INFO  11-11 14:56:35,703 - NO JSP Support for /pentaho, did not find org.apache.jasper.servlet.JspServlet
INFO  11-11 14:56:39,221 - Initializing Spring root WebApplicationContext
INFO  11-11 14:56:39,221 - Root WebApplicationContext: initialization started
INFO  11-11 14:56:39,242 - Refreshing org.pentaho.pl[email protected]e73783: display name [Root WebApplicationContext]; startup date [Mon Nov 11 14:56:39 CST 2013]; root of context hierarchy
INFO  11-11 14:56:39,271 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/pentaho-spring-beans.xml]
INFO  11-11 14:56:39,285 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/pentahoSystemConfig.xml]
INFO  11-11 14:56:39,298 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/adminPlugins.xml]
INFO  11-11 14:56:39,305 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/systemListeners.xml]
INFO  11-11 14:56:39,310 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/sessionStartupActions.xml]
INFO  11-11 14:56:39,316 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/applicationContext-spring-security.xml]
INFO  11-11 14:56:39,331 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/applicationContext-common-authorization.xml]
INFO  11-11 14:56:39,336 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/applicationContext-spring-security-memory.xml]
INFO  11-11 14:56:39,343 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/applicationContext-pentaho-security-memory.xml]
INFO  11-11 14:56:39,351 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/pentahoObjects.spring.xml]
INFO  11-11 14:56:39,527 - Bean factory for application context [org.pentaho.pl[email protected]e73783]: org.s[email protected]da52a1
INFO  11-11 14:56:39,607 - Pre-instantiating singletons in org.s[email protected]da52a1: defining beans [systemSettingsService,org.pentaho.platform.engine.core.system.SpringPentahoSystemProxy#0,administrationPluginsList,systemListenersList,sessionStartupActionsList,filterChainProxy,authenticationManager,loggerListener,basicProcessingFilter,basicProcessingFilterEntryPoint,requestParameterProcessingFilter,requestParameterProcessingFilterEntryPoint,pentahoSecurityStartupFilter,anonymousProcessingFilter,anonymousAuthenticationProvider,httpSessionContextIntegrationFilter,logoutFilter,securityContextHolderAwareRequestFilter,httpSessionReuseDetectionFilter,exceptionTranslationFilter,authenticationProcessingFilter,authenticationProcessingFilterEntryPoint,httpRequestAccessDecisionManager,filterInvocationInterceptor,roleVoter,daoAuthenticationProvider,userDetailsService,userMap,userMapFactoryBean,passwordEncoder,userRoleListEnhancedUserMapFactoryBean,inMemoryUserRoleListService,pentahoUserRoleListService,ISolutionEngine,ISolutionRepository,ISolutionRepositoryService,IContentRepository,IAuditEntry,IUITemplater,file,vfs-ftp,contentrepo,IAclPublisher,IAclVoter,IVersionHelper,ICacheManager,IConditionalExecution,IMessageFormatter,IDatasourceService,IPasswordService,IPluginProvider,IPluginManager,IPluginResourceLoader,IMenuProvider,IServiceManager,ITempFileDeleter,gwtServiceManager,IChartBeansGenerator,systemStartupSession,connection-SQL,connection-MDX,connection-XML,connection-HQL,IThemeManager]; root of factory hierarchy
INFO  11-11 14:56:39,687 - Adding user [[email protected]: Username: suzy; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: Authenticated, User, cto, is]
INFO  11-11 14:56:39,688 - Adding user [[email protected]: Username: pat; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: Authenticated, User, dev]
INFO  11-11 14:56:39,688 - Adding user [[email protected]: Username: joe; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: Admin, Authenticated, User, ceo]
INFO  11-11 14:56:39,688 - Adding user [[email protected]: Username: tiffany; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: Authenticated, User, dev, devmgr]
INFO  11-11 14:56:39,745 - Validated configuration attributes
INFO  11-11 14:56:39,749 - Adding user [[email protected]: Username: suzy; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: Authenticated, User, cto, is]
INFO  11-11 14:56:39,749 - Adding user [[email protected]: Username: pat; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: Authenticated, User, dev]
INFO  11-11 14:56:39,749 - Adding user [[email protected]: Username: joe; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: Admin, Authenticated, User, ceo]
INFO  11-11 14:56:39,749 - Adding user [[email protected]: Username: tiffany; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: Authenticated, User, dev, devmgr]
INFO  11-11 14:56:39,761 - Root WebApplicationContext: initialization completed in 539 ms
INFO  11-11 14:56:39,778 - misc-org.pentaho.platform.engine.core.system.PentahoSystem: Could not detemine implementor for IRuntimeRepository
INFO  11-11 14:56:39,778 - misc-org.pentaho.platform.engine.core.system.PentahoSystem: Could not detemine implementor for ISubscriptionScheduler
INFO  11-11 14:56:39,778 - misc-org.pentaho.platform.engine.core.system.PentahoSystem: Could not detemine implementor for ISubscriptionRepository
INFO  11-11 14:56:39,778 - misc-org.pentaho.platform.engine.core.system.PentahoSystem: Could not detemine implementor for IUserFilesComponent
INFO  11-11 14:56:39,778 - misc-org.pentaho.platform.engine.core.system.PentahoSystem: Could not detemine implementor for IBackgroundExecution
INFO  11-11 14:56:39,778 - misc-org.pentaho.platform.engine.core.system.PentahoSystem: Could not detemine implementor for IScheduler
INFO  11-11 14:56:39,778 - misc-org.pentaho.platform.engine.core.system.PentahoSystem: Could not detemine implementor for INavigationComponent
INFO  11-11 14:56:39,778 - misc-org.pentaho.platform.engine.core.system.PentahoSystem: Could not detemine implementor for IUserSettingService
INFO  11-11 14:56:39,810 - Mondrian: properties loaded from 'file:/home/cognos/pdi-ce-4.2.0-stable/data-integration/libext/mondrian/config/mondrian.properties'
INFO  11-11 14:56:39,810 - Mondrian: loaded 0 system properties
INFO  11-11 14:56:39,884 - Refreshing [email protected]: display name [[email protected]]; startup date [Mon Nov 11 14:56:39 CST 2013]; root of context hierarchy
INFO  11-11 14:56:39,885 - Loading XML bean definitions from class path resource [beans.xml]
INFO  11-11 14:56:39,921 - Bean factory for application context [[email protected]]: org.s[email protected]f67d81
INFO  11-11 14:56:39,940 - Loading properties file from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/analyzer/analyzer.properties]
INFO  11-11 14:56:39,944 - Pre-instantiating singletons in org.s[email protected]f67d81: defining beans [propertyConfigurer,properties,analysisAreaManager,olapMetaDataManager,olapConnectionManager,reportManager,reportRequestService,usageTracker,localizationService,CVAppContext]; root of factory hierarchy
INFO  11-11 14:56:39,948 - Loading properties file from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/analyzer/analyzer.properties]
Pentaho BI Platform server is ready. (Pentaho Platform Engine Core 3.9.0-stable.47240) Fully Qualified Server Url = http://localhost:8080/pentaho/, Solution Path = /home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions
INFO  11-11 14:56:40,048 - Started [email protected]:10000
INFO  11-11 14:56:40,054 - Refreshing org.[email protected]bf1a4a: display name [org.[email protected]bf1a4a]; startup date [Mon Nov 11 14:56:40 CST 2013]; root of context hierarchy
INFO  11-11 14:56:40,054 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/visualizations/prpt/plugin.xml]
INFO  11-11 14:56:40,070 - Bean factory for application context [org.[email protected]bf1a4a]: org.s[email protected]9e4dc0
INFO  11-11 14:56:40,071 - Pre-instantiating singletons in org.s[email protected]9e4dc0: defining beans [visualizationBean]; root of factory hierarchy
INFO  11-11 14:56:40,079 - Refreshing org.[email protected]7348e: display name [org.[email protected]7348e]; startup date [Mon Nov 11 14:56:40 CST 2013]; root of context hierarchy
INFO  11-11 14:56:40,080 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/visualizations/report-wizard/plugin.xml]
INFO  11-11 14:56:40,094 - Bean factory for application context [org.[email protected]7348e]: org.s[email protected]ffb35e
INFO  11-11 14:56:40,095 - Pre-instantiating singletons in org.s[email protected]ffb35e: defining beans [visualizationBean]; root of factory hierarchy
INFO  11-11 14:56:40,097 - Refreshing org.[email protected]153c9c7: display name [org.[email protected]153c9c7]; startup date [Mon Nov 11 14:56:40 CST 2013]; root of context hierarchy
INFO  11-11 14:56:40,098 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/visualizations/analyzer/plugin.xml]
INFO  11-11 14:56:40,123 - Bean factory for application context [org.[email protected]153c9c7]: org.s[email protected]3eeab3
INFO  11-11 14:56:40,125 - Pre-instantiating singletons in org.s[email protected]3eeab3: defining beans [visualizationBean]; root of factory hierarchy
INFO  11-11 14:56:40,224 - Spoon - Asking for repository
INFO  11-11 14:56:40,347 - RepositoriesMeta - Reading repositories XML file: /home/cognos/.kettle/repositories.xml
INFO  11-11 14:56:41,118 - Version checker - OK

--------------------------------------------出現上面的載入資訊,圖形介面成功調出------------------------------------------------------------------------------

相關推薦

linuxkettle安裝部署

登陸-linux-(切換到kettle部署的使用者下面) 第一:產看系統的java環境,cat .bash_profile 檔案 從上面可以看到,在cognos使用者下已經安裝了java jdk,版本是1.6.0_20,我們看一下kettle的最低版本要求,編

Linuxvmware安裝部署

linux vmware 安裝部署 Linux下vmware下載:地址-Linux vmware : http://www.vmware.com/products/workstation/workstation-evaluation安裝依賴:yum -y install perl gcc kern

Linux單機安裝部署kafka及代碼實現

{} edt serial integer exc height 復制 有一個 images 技術交流群:233513714 這幾天研究了kafka的安裝及使用,在網上找了很多教程但是均以失敗告終,直到最後想起網絡方面的問題最終才安裝部署成功,下面就介紹一下kaf

LINUXsvn安裝部署

rc.d -- 版本 mit sta 密碼 secret all ner 1.#安裝yum install subversion 2.#測試svnserve --version3.#創建庫根路徑mkdir /usr/local/svn4.#創建一個項目庫svnadmin c

Linuxredis安裝部署

1、下載原始碼 http://code.google.com/p/redis/downloads/list 下載redis-1.2.6.tar.gz 將下載包拷貝到/usr/local/webserver/redis-1.2.6/下

linuxElasticSearch安裝部署

1、安裝部署 在安裝部署elasticsearch之前,需要先安裝好Java JDK。 1.1 下載安裝 https://download.elastic.co 將軟體下載後解壓。 1.1.2修改elasticsearcy.yml 檔案:

Linuxredis安裝部署

1.基礎知識  redis是用C語言開發的一個開源的高效能鍵值對(key-value)資料庫。它通過提供多種鍵值資料型別來適應不同場景下的儲存需求,目前為止redis支援的鍵值資料型別如下 字串、列表(lists)、集合(sets)、有序集合(sorts sets)、雜湊表(hashs) 2.red

Linux-Ubuntu14.04mongodb安裝部署

  mongo 下載:https://www.mongodb.com/download-center/community?jmp=nav 建立目錄,將下載的檔案放在如下位置 [email protected]:/usr/local$ sudo mkdir mongo [emai

Linux centOS 7.2 命令列 靜默安裝部署oracle11g資料庫

Linux  centOS命令列下 安裝部署oracle11g資料庫       小編今天給大家帶來Linux系統,Linux命令列下部署 oracle安裝部署資料庫,因為在Linux命令列來部署,所以在安裝部署oracle資料庫前,我們得進行檢查和設定,有以下步驟:一、檢查

linux yum安裝

下載 ges mage ima 雲服務 url install 公司 服務器 背景:   公司的阿裏雲服務器上總是報這個錯 網上百度無果後 打算重裝一下yum 1.下載 wget http://yum.baseurl.org/download/3.2/yum-3.2.

linuxjenkins安裝

結果 style content 下載地址 文件夾 csdn get clas http 在安裝jenkins之前。首先確認jdk和tomcat,maven已經配置好 詳細配置方法,請看的我博客。 jdk:jdk的安裝與配置 tomcat:tomcat的安裝與配置 ma

linuxmemcached安裝以及啟動

啟動參數 actor 是否 設置 查看 解決 bsp rem 內存 1.下載memcached服務器端安裝文件 版本: memcached-1.4.2.tar.gz 下載地址:http://www.danga.com/memcached/download.

Linux MySQL 安裝與卸載

word stat client int etc dpkg init net 是否 參考博客:http://www.cnblogs.com/steven_oyj/archive/2010/05/24/1742808.html http://www.linuxidc.com/

Linux安裝完mysql 修改密碼

itl root密碼 date 修改 b- text password pda tex 在Centos中安裝MySQL後默認的是沒有root密碼的,默認的是回車, 那麽為了方便需要修改密碼。 沒有密碼為MYSQL加密碼: mysql -uroot -p 回車 提示輸入密

LinuxMongoDB安裝

pan b- oca 命令行 export spa $path cal -c 1. 下載壓縮包 wget -c http://downloads.mongodb.org/linux/mongodb-linux-i686-2.4.9.tgz 2. 解壓 tar -xzvf m

Db2數據庫在Linux安裝和配置

fig 用戶密碼 oca authent linux token reat local ken 一.DB2數據庫的安裝和配置: 1.安裝完成後,需要增加三個操作系統的組和三個操作系統用戶,如下: groupadd -g 999 db2iadm1 #(管理實例的組) gro

Linuxphp安裝Redis擴展

centos 6 end pecl php.ini restart ext 目錄 安裝完成 con http://pecl.php.net/package/redis 安裝環境:CentOS 6.4 1、下載 下載地址:http://pecl.php.n

Linux編譯安裝memcached

linux memcache 一.在編譯安裝之前,先安裝系統所需要的相關庫文件#yum -y install gcc gcc-c++ make cmake libtool autoconf libaio二.下載相應的依賴庫和memcached源碼包1.從http://libevent.org/下載li

centos/linux安裝Tomcat

con utf src jdk 關閉 配置 class 快速 star 1.啟動tomcat時候需要JDK依賴   如果沒有安裝的請移步到該鏈接Centos/linux下的JDK安裝 2.從官網上下載tomcat壓縮包    wget -c http://apache.f

centos/linux安裝Maven

環境變量 bsp roo 解壓 png http ash highlight ror 1.保證該項目安裝了JDK   請在系統中輸入java -version查看該命令是否存在   如果沒有安裝JDK請移步到Centos/linux下的JDK安裝 2.下載Maven