install the pdi on centos -...

21
Install the PDI on CentOS 2013.04 1 G·L·O·B·E·P·O·I·N·T

Upload: donhu

Post on 01-May-2018

228 views

Category:

Documents


4 download

TRANSCRIPT

Install the PDI on CentOS

201304

1 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 2

Ⅰ linux 구성

II Pentaho Install

copy 2013 Globepoint Inc All Rights Reserved 3

I Linux 구성

copy 2013 Globepoint Inc All Rights Reserved 4

1 설정파일 변경 [rootnsksvr] vi etcsysconfignetwork-scriptsifcfg-eth0 DEVICE=eth0 HWADDR=000cXXXXXXXX ONBOOT=yes 고정아이피로 변경하고 싶을 때는 아래와 같이 변경한다 DEVICE=eth0 해당 이더넷 장치명 BOOTPROTO=static 고정 IP 설정시 static 유동 ip설정시 dhcp HWADDR=000cXXXXXXXX mac주소 IPADDR=1921680193 ip주소 NETMASK=2552552550 BROADCAST=1921680255ldquo GATEWAY=19216811 ONBOOT=yes 시스템 부팅 시 해당 이더넷 활성화 옵션(비활성화는 no) DNS1=ldquo203231122101rdquo DNS2=ldquo161232111rdquo 2 설정 적용 [rootnsksvr] etcrcdinitdnetwork restart 로 네트워크를 재시작 혹은 service network restart 3 PING 테스트 [rootnsksvr] ping wwwgooglecom PING wwwgooglecom (74125128147) 56(84) bytes of data 64 bytes from hg-in-f1471e100net (74125128147) icmp_seq=1 ttl=47 time=897 ms

IP 설정

copy 2013 Globepoint Inc All Rights Reserved 5

X Window 설치

1 yum을 이용해서 설치 그놈 데스크탑 환경 설치 [rootnsksvr] yum groupinstall X Window System GNOME Desktop Environment KDE 데스크탑 환경 설치 [rootnsksvr] yum groupinstall X Window System KDE (K Desktop Environment) 그리고 한글 패키시 설치 안되어 있으면 [rootnsksvr] yum install kde-i18n-Korean [rootnsksvr] yum install fonts-korean

2 gui 환경 실행 방법 [rootnsksvr] startx default 실행 방법을 gui로 변경하는 방법 [rootnsksvr] vi etcinittab id3initdefault 에서 id5initdefault 으로 변경한다 숫자가 의미하는 내용은 다음과 같다 1 안전모드 부팅 2 네트워크 지원 안되는 콘솔모드 3 콘솔모드 4 사용안함 5 X-windows 부팅 6 reboot

copy 2013 Globepoint Inc All Rights Reserved 6

1 vsftpd ftp Server 설치 [rootnsksvr] yum install vsftpd [rootnsksvr] service vsftpd start [rootnsksvr] etcvsftpdvsftpdconf 만약 root로 FTP 접속을 가능하게 하려면 etcvsftpdftpusersconf etcvsftpduser_listconf 에서 root 앞에 을 붙여 주석 처리

FTP Server 설치

2 standalone으로 vsftpd를 실행정지재시작 [rootnsksvr] etcinitdvsftpd start [rootnsksvr] etcinitdvsftpd stop [rootnsksvr] etcinitdvsftpd restart 3 서버 시작 자동 시작 설정 [rootnsksvr] chkconfig ndashadd vsftpd [rootnsksvr] chkconfig ndashlist | grep vsftpd vsftpd 0해제 1해제 2해제 3해제 4해제 5해제 6해제 현재는 모든 런 레벨에서 아예 안켜지도록 되어있으니 2345 런레벨에서 자동으로 켜지도록 설정 [rootnsksvr] chkconfig ndashlevel 2345 vsftpd on [rootnsksvr] chkconfig ndashlist | grep vsftpd vsftpd 0해제 1해제 2활성 3활성 4활성 5활성 6해제

4 vsftp에서 500 OOPS cannot change directory 오류가 나올 때

[rootnsksvr] setsebool -P ftp_home_dir=1

copy 2013 Globepoint Inc All Rights Reserved 7

방화벽 port 열기

1 iptables 수정 [rootnsksvr] um install vsftpd vi etcsysconfigiptables -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 21 ndashj ACCEPT ftp -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 22 ndashj ACCEPT telnet -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 5432 ndashj ACCEPT PostgreSQL -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 9080 ndashj ACCEPT PDI Server -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 8088 ndashj ACCEPT enterprise console (start) -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 8033 ndashj ACCEPT enterprise console (stop) 2 방화벽 규칙 재 시작 [rootnsksvr] etcinitdiptables restart

copy 2013 Globepoint Inc All Rights Reserved 8

pentaho 사용자 생성

1 로컬 터미널 또는 접근 하려는 서버의 세션을 연다 ssh pgibbons1921681133 2 root 권한으로 신규 사용자 계정을 생성한다 [rootnsksvr] useradd -s binbash -m pentaho 3 pentaho 유저의 패스워드 설정 [rootnsksvr] passwd pentaho 4 pethao 사용자 계정 확인 [rootnsksvr] su ndash penthao

copy 2013 Globepoint Inc All Rights Reserved 9

II Pentaho Install

copy 2013 Globepoint Inc All Rights Reserved 10

PDI Installation 1

1 ftp를 통해 파일을 서버로 이동

2 java 16 버전의 jdk 설치

3 Pentaho 설치

1 Enterprise 버전은 실행 가능 파일로 변환

[pentahonsksvr1 ~]$ chmod +x pdi-440-GA-x64bin Enterprise Version

1 Community 버전은 압축을 품

그래픽 인터페이스로 실행

[pentahonsksvr1 ~]$ pdi-440-GA-x64bin

압축 해제

[pentahonsksvr1 ~]$ tar ndashxvzf pdi-ce-440-

stabletargz

copy 2013 Globepoint Inc All Rights Reserved 11

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 12

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 13

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 14

Server Service 시작

1 data integration server 실행 [pentahonsksvr1 ~]$ cd pentahoserverdata-integration-server [pentahonsksvr1 ~]$ start-pentahosh 2 Enterprise Console 실행 [pentahonsksvr1 ~]$ cd pentahoserverenterprise-console-server [pentahonsksvr1 ~]$ start-pecsh

copy 2013 Globepoint Inc All Rights Reserved 15

Enterprise Console 설정

copy 2013 Globepoint Inc All Rights Reserved 16

Linux 부팅 시 Pentaho DI 시작 설정

1 root 권한으로 etcinitd 디렉토리에 pdi 라 불리는 파일 생성

binsh -e BEGIN INIT INFO Provides pdi Required-Start networking Required-Stop Default-Start 2 3 4 5 Default-Stop 0 1 6 Description Pentaho DI Server END INIT INFO case $1 in start) su - pentaho -c homepentahopentahoserverdata-integration-serverstart-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp start-pecsh stop) su - pentaho -c homepentahopentahoserverdata-integration-serverstop-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp stop-pecsh ) echo Usage $0 start | stop esac exit 0

2 실행 가능한 스크립트 파일로 변경

chmod +x etcinitdpdi chkconfig --add pdi

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 2

Ⅰ linux 구성

II Pentaho Install

copy 2013 Globepoint Inc All Rights Reserved 3

I Linux 구성

copy 2013 Globepoint Inc All Rights Reserved 4

1 설정파일 변경 [rootnsksvr] vi etcsysconfignetwork-scriptsifcfg-eth0 DEVICE=eth0 HWADDR=000cXXXXXXXX ONBOOT=yes 고정아이피로 변경하고 싶을 때는 아래와 같이 변경한다 DEVICE=eth0 해당 이더넷 장치명 BOOTPROTO=static 고정 IP 설정시 static 유동 ip설정시 dhcp HWADDR=000cXXXXXXXX mac주소 IPADDR=1921680193 ip주소 NETMASK=2552552550 BROADCAST=1921680255ldquo GATEWAY=19216811 ONBOOT=yes 시스템 부팅 시 해당 이더넷 활성화 옵션(비활성화는 no) DNS1=ldquo203231122101rdquo DNS2=ldquo161232111rdquo 2 설정 적용 [rootnsksvr] etcrcdinitdnetwork restart 로 네트워크를 재시작 혹은 service network restart 3 PING 테스트 [rootnsksvr] ping wwwgooglecom PING wwwgooglecom (74125128147) 56(84) bytes of data 64 bytes from hg-in-f1471e100net (74125128147) icmp_seq=1 ttl=47 time=897 ms

IP 설정

copy 2013 Globepoint Inc All Rights Reserved 5

X Window 설치

1 yum을 이용해서 설치 그놈 데스크탑 환경 설치 [rootnsksvr] yum groupinstall X Window System GNOME Desktop Environment KDE 데스크탑 환경 설치 [rootnsksvr] yum groupinstall X Window System KDE (K Desktop Environment) 그리고 한글 패키시 설치 안되어 있으면 [rootnsksvr] yum install kde-i18n-Korean [rootnsksvr] yum install fonts-korean

2 gui 환경 실행 방법 [rootnsksvr] startx default 실행 방법을 gui로 변경하는 방법 [rootnsksvr] vi etcinittab id3initdefault 에서 id5initdefault 으로 변경한다 숫자가 의미하는 내용은 다음과 같다 1 안전모드 부팅 2 네트워크 지원 안되는 콘솔모드 3 콘솔모드 4 사용안함 5 X-windows 부팅 6 reboot

copy 2013 Globepoint Inc All Rights Reserved 6

1 vsftpd ftp Server 설치 [rootnsksvr] yum install vsftpd [rootnsksvr] service vsftpd start [rootnsksvr] etcvsftpdvsftpdconf 만약 root로 FTP 접속을 가능하게 하려면 etcvsftpdftpusersconf etcvsftpduser_listconf 에서 root 앞에 을 붙여 주석 처리

FTP Server 설치

2 standalone으로 vsftpd를 실행정지재시작 [rootnsksvr] etcinitdvsftpd start [rootnsksvr] etcinitdvsftpd stop [rootnsksvr] etcinitdvsftpd restart 3 서버 시작 자동 시작 설정 [rootnsksvr] chkconfig ndashadd vsftpd [rootnsksvr] chkconfig ndashlist | grep vsftpd vsftpd 0해제 1해제 2해제 3해제 4해제 5해제 6해제 현재는 모든 런 레벨에서 아예 안켜지도록 되어있으니 2345 런레벨에서 자동으로 켜지도록 설정 [rootnsksvr] chkconfig ndashlevel 2345 vsftpd on [rootnsksvr] chkconfig ndashlist | grep vsftpd vsftpd 0해제 1해제 2활성 3활성 4활성 5활성 6해제

4 vsftp에서 500 OOPS cannot change directory 오류가 나올 때

[rootnsksvr] setsebool -P ftp_home_dir=1

copy 2013 Globepoint Inc All Rights Reserved 7

방화벽 port 열기

1 iptables 수정 [rootnsksvr] um install vsftpd vi etcsysconfigiptables -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 21 ndashj ACCEPT ftp -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 22 ndashj ACCEPT telnet -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 5432 ndashj ACCEPT PostgreSQL -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 9080 ndashj ACCEPT PDI Server -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 8088 ndashj ACCEPT enterprise console (start) -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 8033 ndashj ACCEPT enterprise console (stop) 2 방화벽 규칙 재 시작 [rootnsksvr] etcinitdiptables restart

copy 2013 Globepoint Inc All Rights Reserved 8

pentaho 사용자 생성

1 로컬 터미널 또는 접근 하려는 서버의 세션을 연다 ssh pgibbons1921681133 2 root 권한으로 신규 사용자 계정을 생성한다 [rootnsksvr] useradd -s binbash -m pentaho 3 pentaho 유저의 패스워드 설정 [rootnsksvr] passwd pentaho 4 pethao 사용자 계정 확인 [rootnsksvr] su ndash penthao

copy 2013 Globepoint Inc All Rights Reserved 9

II Pentaho Install

copy 2013 Globepoint Inc All Rights Reserved 10

PDI Installation 1

1 ftp를 통해 파일을 서버로 이동

2 java 16 버전의 jdk 설치

3 Pentaho 설치

1 Enterprise 버전은 실행 가능 파일로 변환

[pentahonsksvr1 ~]$ chmod +x pdi-440-GA-x64bin Enterprise Version

1 Community 버전은 압축을 품

그래픽 인터페이스로 실행

[pentahonsksvr1 ~]$ pdi-440-GA-x64bin

압축 해제

[pentahonsksvr1 ~]$ tar ndashxvzf pdi-ce-440-

stabletargz

copy 2013 Globepoint Inc All Rights Reserved 11

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 12

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 13

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 14

Server Service 시작

1 data integration server 실행 [pentahonsksvr1 ~]$ cd pentahoserverdata-integration-server [pentahonsksvr1 ~]$ start-pentahosh 2 Enterprise Console 실행 [pentahonsksvr1 ~]$ cd pentahoserverenterprise-console-server [pentahonsksvr1 ~]$ start-pecsh

copy 2013 Globepoint Inc All Rights Reserved 15

Enterprise Console 설정

copy 2013 Globepoint Inc All Rights Reserved 16

Linux 부팅 시 Pentaho DI 시작 설정

1 root 권한으로 etcinitd 디렉토리에 pdi 라 불리는 파일 생성

binsh -e BEGIN INIT INFO Provides pdi Required-Start networking Required-Stop Default-Start 2 3 4 5 Default-Stop 0 1 6 Description Pentaho DI Server END INIT INFO case $1 in start) su - pentaho -c homepentahopentahoserverdata-integration-serverstart-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp start-pecsh stop) su - pentaho -c homepentahopentahoserverdata-integration-serverstop-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp stop-pecsh ) echo Usage $0 start | stop esac exit 0

2 실행 가능한 스크립트 파일로 변경

chmod +x etcinitdpdi chkconfig --add pdi

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 3

I Linux 구성

copy 2013 Globepoint Inc All Rights Reserved 4

1 설정파일 변경 [rootnsksvr] vi etcsysconfignetwork-scriptsifcfg-eth0 DEVICE=eth0 HWADDR=000cXXXXXXXX ONBOOT=yes 고정아이피로 변경하고 싶을 때는 아래와 같이 변경한다 DEVICE=eth0 해당 이더넷 장치명 BOOTPROTO=static 고정 IP 설정시 static 유동 ip설정시 dhcp HWADDR=000cXXXXXXXX mac주소 IPADDR=1921680193 ip주소 NETMASK=2552552550 BROADCAST=1921680255ldquo GATEWAY=19216811 ONBOOT=yes 시스템 부팅 시 해당 이더넷 활성화 옵션(비활성화는 no) DNS1=ldquo203231122101rdquo DNS2=ldquo161232111rdquo 2 설정 적용 [rootnsksvr] etcrcdinitdnetwork restart 로 네트워크를 재시작 혹은 service network restart 3 PING 테스트 [rootnsksvr] ping wwwgooglecom PING wwwgooglecom (74125128147) 56(84) bytes of data 64 bytes from hg-in-f1471e100net (74125128147) icmp_seq=1 ttl=47 time=897 ms

IP 설정

copy 2013 Globepoint Inc All Rights Reserved 5

X Window 설치

1 yum을 이용해서 설치 그놈 데스크탑 환경 설치 [rootnsksvr] yum groupinstall X Window System GNOME Desktop Environment KDE 데스크탑 환경 설치 [rootnsksvr] yum groupinstall X Window System KDE (K Desktop Environment) 그리고 한글 패키시 설치 안되어 있으면 [rootnsksvr] yum install kde-i18n-Korean [rootnsksvr] yum install fonts-korean

2 gui 환경 실행 방법 [rootnsksvr] startx default 실행 방법을 gui로 변경하는 방법 [rootnsksvr] vi etcinittab id3initdefault 에서 id5initdefault 으로 변경한다 숫자가 의미하는 내용은 다음과 같다 1 안전모드 부팅 2 네트워크 지원 안되는 콘솔모드 3 콘솔모드 4 사용안함 5 X-windows 부팅 6 reboot

copy 2013 Globepoint Inc All Rights Reserved 6

1 vsftpd ftp Server 설치 [rootnsksvr] yum install vsftpd [rootnsksvr] service vsftpd start [rootnsksvr] etcvsftpdvsftpdconf 만약 root로 FTP 접속을 가능하게 하려면 etcvsftpdftpusersconf etcvsftpduser_listconf 에서 root 앞에 을 붙여 주석 처리

FTP Server 설치

2 standalone으로 vsftpd를 실행정지재시작 [rootnsksvr] etcinitdvsftpd start [rootnsksvr] etcinitdvsftpd stop [rootnsksvr] etcinitdvsftpd restart 3 서버 시작 자동 시작 설정 [rootnsksvr] chkconfig ndashadd vsftpd [rootnsksvr] chkconfig ndashlist | grep vsftpd vsftpd 0해제 1해제 2해제 3해제 4해제 5해제 6해제 현재는 모든 런 레벨에서 아예 안켜지도록 되어있으니 2345 런레벨에서 자동으로 켜지도록 설정 [rootnsksvr] chkconfig ndashlevel 2345 vsftpd on [rootnsksvr] chkconfig ndashlist | grep vsftpd vsftpd 0해제 1해제 2활성 3활성 4활성 5활성 6해제

4 vsftp에서 500 OOPS cannot change directory 오류가 나올 때

[rootnsksvr] setsebool -P ftp_home_dir=1

copy 2013 Globepoint Inc All Rights Reserved 7

방화벽 port 열기

1 iptables 수정 [rootnsksvr] um install vsftpd vi etcsysconfigiptables -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 21 ndashj ACCEPT ftp -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 22 ndashj ACCEPT telnet -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 5432 ndashj ACCEPT PostgreSQL -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 9080 ndashj ACCEPT PDI Server -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 8088 ndashj ACCEPT enterprise console (start) -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 8033 ndashj ACCEPT enterprise console (stop) 2 방화벽 규칙 재 시작 [rootnsksvr] etcinitdiptables restart

copy 2013 Globepoint Inc All Rights Reserved 8

pentaho 사용자 생성

1 로컬 터미널 또는 접근 하려는 서버의 세션을 연다 ssh pgibbons1921681133 2 root 권한으로 신규 사용자 계정을 생성한다 [rootnsksvr] useradd -s binbash -m pentaho 3 pentaho 유저의 패스워드 설정 [rootnsksvr] passwd pentaho 4 pethao 사용자 계정 확인 [rootnsksvr] su ndash penthao

copy 2013 Globepoint Inc All Rights Reserved 9

II Pentaho Install

copy 2013 Globepoint Inc All Rights Reserved 10

PDI Installation 1

1 ftp를 통해 파일을 서버로 이동

2 java 16 버전의 jdk 설치

3 Pentaho 설치

1 Enterprise 버전은 실행 가능 파일로 변환

[pentahonsksvr1 ~]$ chmod +x pdi-440-GA-x64bin Enterprise Version

1 Community 버전은 압축을 품

그래픽 인터페이스로 실행

[pentahonsksvr1 ~]$ pdi-440-GA-x64bin

압축 해제

[pentahonsksvr1 ~]$ tar ndashxvzf pdi-ce-440-

stabletargz

copy 2013 Globepoint Inc All Rights Reserved 11

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 12

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 13

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 14

Server Service 시작

1 data integration server 실행 [pentahonsksvr1 ~]$ cd pentahoserverdata-integration-server [pentahonsksvr1 ~]$ start-pentahosh 2 Enterprise Console 실행 [pentahonsksvr1 ~]$ cd pentahoserverenterprise-console-server [pentahonsksvr1 ~]$ start-pecsh

copy 2013 Globepoint Inc All Rights Reserved 15

Enterprise Console 설정

copy 2013 Globepoint Inc All Rights Reserved 16

Linux 부팅 시 Pentaho DI 시작 설정

1 root 권한으로 etcinitd 디렉토리에 pdi 라 불리는 파일 생성

binsh -e BEGIN INIT INFO Provides pdi Required-Start networking Required-Stop Default-Start 2 3 4 5 Default-Stop 0 1 6 Description Pentaho DI Server END INIT INFO case $1 in start) su - pentaho -c homepentahopentahoserverdata-integration-serverstart-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp start-pecsh stop) su - pentaho -c homepentahopentahoserverdata-integration-serverstop-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp stop-pecsh ) echo Usage $0 start | stop esac exit 0

2 실행 가능한 스크립트 파일로 변경

chmod +x etcinitdpdi chkconfig --add pdi

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 4

1 설정파일 변경 [rootnsksvr] vi etcsysconfignetwork-scriptsifcfg-eth0 DEVICE=eth0 HWADDR=000cXXXXXXXX ONBOOT=yes 고정아이피로 변경하고 싶을 때는 아래와 같이 변경한다 DEVICE=eth0 해당 이더넷 장치명 BOOTPROTO=static 고정 IP 설정시 static 유동 ip설정시 dhcp HWADDR=000cXXXXXXXX mac주소 IPADDR=1921680193 ip주소 NETMASK=2552552550 BROADCAST=1921680255ldquo GATEWAY=19216811 ONBOOT=yes 시스템 부팅 시 해당 이더넷 활성화 옵션(비활성화는 no) DNS1=ldquo203231122101rdquo DNS2=ldquo161232111rdquo 2 설정 적용 [rootnsksvr] etcrcdinitdnetwork restart 로 네트워크를 재시작 혹은 service network restart 3 PING 테스트 [rootnsksvr] ping wwwgooglecom PING wwwgooglecom (74125128147) 56(84) bytes of data 64 bytes from hg-in-f1471e100net (74125128147) icmp_seq=1 ttl=47 time=897 ms

IP 설정

copy 2013 Globepoint Inc All Rights Reserved 5

X Window 설치

1 yum을 이용해서 설치 그놈 데스크탑 환경 설치 [rootnsksvr] yum groupinstall X Window System GNOME Desktop Environment KDE 데스크탑 환경 설치 [rootnsksvr] yum groupinstall X Window System KDE (K Desktop Environment) 그리고 한글 패키시 설치 안되어 있으면 [rootnsksvr] yum install kde-i18n-Korean [rootnsksvr] yum install fonts-korean

2 gui 환경 실행 방법 [rootnsksvr] startx default 실행 방법을 gui로 변경하는 방법 [rootnsksvr] vi etcinittab id3initdefault 에서 id5initdefault 으로 변경한다 숫자가 의미하는 내용은 다음과 같다 1 안전모드 부팅 2 네트워크 지원 안되는 콘솔모드 3 콘솔모드 4 사용안함 5 X-windows 부팅 6 reboot

copy 2013 Globepoint Inc All Rights Reserved 6

1 vsftpd ftp Server 설치 [rootnsksvr] yum install vsftpd [rootnsksvr] service vsftpd start [rootnsksvr] etcvsftpdvsftpdconf 만약 root로 FTP 접속을 가능하게 하려면 etcvsftpdftpusersconf etcvsftpduser_listconf 에서 root 앞에 을 붙여 주석 처리

FTP Server 설치

2 standalone으로 vsftpd를 실행정지재시작 [rootnsksvr] etcinitdvsftpd start [rootnsksvr] etcinitdvsftpd stop [rootnsksvr] etcinitdvsftpd restart 3 서버 시작 자동 시작 설정 [rootnsksvr] chkconfig ndashadd vsftpd [rootnsksvr] chkconfig ndashlist | grep vsftpd vsftpd 0해제 1해제 2해제 3해제 4해제 5해제 6해제 현재는 모든 런 레벨에서 아예 안켜지도록 되어있으니 2345 런레벨에서 자동으로 켜지도록 설정 [rootnsksvr] chkconfig ndashlevel 2345 vsftpd on [rootnsksvr] chkconfig ndashlist | grep vsftpd vsftpd 0해제 1해제 2활성 3활성 4활성 5활성 6해제

4 vsftp에서 500 OOPS cannot change directory 오류가 나올 때

[rootnsksvr] setsebool -P ftp_home_dir=1

copy 2013 Globepoint Inc All Rights Reserved 7

방화벽 port 열기

1 iptables 수정 [rootnsksvr] um install vsftpd vi etcsysconfigiptables -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 21 ndashj ACCEPT ftp -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 22 ndashj ACCEPT telnet -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 5432 ndashj ACCEPT PostgreSQL -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 9080 ndashj ACCEPT PDI Server -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 8088 ndashj ACCEPT enterprise console (start) -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 8033 ndashj ACCEPT enterprise console (stop) 2 방화벽 규칙 재 시작 [rootnsksvr] etcinitdiptables restart

copy 2013 Globepoint Inc All Rights Reserved 8

pentaho 사용자 생성

1 로컬 터미널 또는 접근 하려는 서버의 세션을 연다 ssh pgibbons1921681133 2 root 권한으로 신규 사용자 계정을 생성한다 [rootnsksvr] useradd -s binbash -m pentaho 3 pentaho 유저의 패스워드 설정 [rootnsksvr] passwd pentaho 4 pethao 사용자 계정 확인 [rootnsksvr] su ndash penthao

copy 2013 Globepoint Inc All Rights Reserved 9

II Pentaho Install

copy 2013 Globepoint Inc All Rights Reserved 10

PDI Installation 1

1 ftp를 통해 파일을 서버로 이동

2 java 16 버전의 jdk 설치

3 Pentaho 설치

1 Enterprise 버전은 실행 가능 파일로 변환

[pentahonsksvr1 ~]$ chmod +x pdi-440-GA-x64bin Enterprise Version

1 Community 버전은 압축을 품

그래픽 인터페이스로 실행

[pentahonsksvr1 ~]$ pdi-440-GA-x64bin

압축 해제

[pentahonsksvr1 ~]$ tar ndashxvzf pdi-ce-440-

stabletargz

copy 2013 Globepoint Inc All Rights Reserved 11

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 12

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 13

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 14

Server Service 시작

1 data integration server 실행 [pentahonsksvr1 ~]$ cd pentahoserverdata-integration-server [pentahonsksvr1 ~]$ start-pentahosh 2 Enterprise Console 실행 [pentahonsksvr1 ~]$ cd pentahoserverenterprise-console-server [pentahonsksvr1 ~]$ start-pecsh

copy 2013 Globepoint Inc All Rights Reserved 15

Enterprise Console 설정

copy 2013 Globepoint Inc All Rights Reserved 16

Linux 부팅 시 Pentaho DI 시작 설정

1 root 권한으로 etcinitd 디렉토리에 pdi 라 불리는 파일 생성

binsh -e BEGIN INIT INFO Provides pdi Required-Start networking Required-Stop Default-Start 2 3 4 5 Default-Stop 0 1 6 Description Pentaho DI Server END INIT INFO case $1 in start) su - pentaho -c homepentahopentahoserverdata-integration-serverstart-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp start-pecsh stop) su - pentaho -c homepentahopentahoserverdata-integration-serverstop-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp stop-pecsh ) echo Usage $0 start | stop esac exit 0

2 실행 가능한 스크립트 파일로 변경

chmod +x etcinitdpdi chkconfig --add pdi

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 5

X Window 설치

1 yum을 이용해서 설치 그놈 데스크탑 환경 설치 [rootnsksvr] yum groupinstall X Window System GNOME Desktop Environment KDE 데스크탑 환경 설치 [rootnsksvr] yum groupinstall X Window System KDE (K Desktop Environment) 그리고 한글 패키시 설치 안되어 있으면 [rootnsksvr] yum install kde-i18n-Korean [rootnsksvr] yum install fonts-korean

2 gui 환경 실행 방법 [rootnsksvr] startx default 실행 방법을 gui로 변경하는 방법 [rootnsksvr] vi etcinittab id3initdefault 에서 id5initdefault 으로 변경한다 숫자가 의미하는 내용은 다음과 같다 1 안전모드 부팅 2 네트워크 지원 안되는 콘솔모드 3 콘솔모드 4 사용안함 5 X-windows 부팅 6 reboot

copy 2013 Globepoint Inc All Rights Reserved 6

1 vsftpd ftp Server 설치 [rootnsksvr] yum install vsftpd [rootnsksvr] service vsftpd start [rootnsksvr] etcvsftpdvsftpdconf 만약 root로 FTP 접속을 가능하게 하려면 etcvsftpdftpusersconf etcvsftpduser_listconf 에서 root 앞에 을 붙여 주석 처리

FTP Server 설치

2 standalone으로 vsftpd를 실행정지재시작 [rootnsksvr] etcinitdvsftpd start [rootnsksvr] etcinitdvsftpd stop [rootnsksvr] etcinitdvsftpd restart 3 서버 시작 자동 시작 설정 [rootnsksvr] chkconfig ndashadd vsftpd [rootnsksvr] chkconfig ndashlist | grep vsftpd vsftpd 0해제 1해제 2해제 3해제 4해제 5해제 6해제 현재는 모든 런 레벨에서 아예 안켜지도록 되어있으니 2345 런레벨에서 자동으로 켜지도록 설정 [rootnsksvr] chkconfig ndashlevel 2345 vsftpd on [rootnsksvr] chkconfig ndashlist | grep vsftpd vsftpd 0해제 1해제 2활성 3활성 4활성 5활성 6해제

4 vsftp에서 500 OOPS cannot change directory 오류가 나올 때

[rootnsksvr] setsebool -P ftp_home_dir=1

copy 2013 Globepoint Inc All Rights Reserved 7

방화벽 port 열기

1 iptables 수정 [rootnsksvr] um install vsftpd vi etcsysconfigiptables -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 21 ndashj ACCEPT ftp -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 22 ndashj ACCEPT telnet -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 5432 ndashj ACCEPT PostgreSQL -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 9080 ndashj ACCEPT PDI Server -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 8088 ndashj ACCEPT enterprise console (start) -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 8033 ndashj ACCEPT enterprise console (stop) 2 방화벽 규칙 재 시작 [rootnsksvr] etcinitdiptables restart

copy 2013 Globepoint Inc All Rights Reserved 8

pentaho 사용자 생성

1 로컬 터미널 또는 접근 하려는 서버의 세션을 연다 ssh pgibbons1921681133 2 root 권한으로 신규 사용자 계정을 생성한다 [rootnsksvr] useradd -s binbash -m pentaho 3 pentaho 유저의 패스워드 설정 [rootnsksvr] passwd pentaho 4 pethao 사용자 계정 확인 [rootnsksvr] su ndash penthao

copy 2013 Globepoint Inc All Rights Reserved 9

II Pentaho Install

copy 2013 Globepoint Inc All Rights Reserved 10

PDI Installation 1

1 ftp를 통해 파일을 서버로 이동

2 java 16 버전의 jdk 설치

3 Pentaho 설치

1 Enterprise 버전은 실행 가능 파일로 변환

[pentahonsksvr1 ~]$ chmod +x pdi-440-GA-x64bin Enterprise Version

1 Community 버전은 압축을 품

그래픽 인터페이스로 실행

[pentahonsksvr1 ~]$ pdi-440-GA-x64bin

압축 해제

[pentahonsksvr1 ~]$ tar ndashxvzf pdi-ce-440-

stabletargz

copy 2013 Globepoint Inc All Rights Reserved 11

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 12

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 13

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 14

Server Service 시작

1 data integration server 실행 [pentahonsksvr1 ~]$ cd pentahoserverdata-integration-server [pentahonsksvr1 ~]$ start-pentahosh 2 Enterprise Console 실행 [pentahonsksvr1 ~]$ cd pentahoserverenterprise-console-server [pentahonsksvr1 ~]$ start-pecsh

copy 2013 Globepoint Inc All Rights Reserved 15

Enterprise Console 설정

copy 2013 Globepoint Inc All Rights Reserved 16

Linux 부팅 시 Pentaho DI 시작 설정

1 root 권한으로 etcinitd 디렉토리에 pdi 라 불리는 파일 생성

binsh -e BEGIN INIT INFO Provides pdi Required-Start networking Required-Stop Default-Start 2 3 4 5 Default-Stop 0 1 6 Description Pentaho DI Server END INIT INFO case $1 in start) su - pentaho -c homepentahopentahoserverdata-integration-serverstart-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp start-pecsh stop) su - pentaho -c homepentahopentahoserverdata-integration-serverstop-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp stop-pecsh ) echo Usage $0 start | stop esac exit 0

2 실행 가능한 스크립트 파일로 변경

chmod +x etcinitdpdi chkconfig --add pdi

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 6

1 vsftpd ftp Server 설치 [rootnsksvr] yum install vsftpd [rootnsksvr] service vsftpd start [rootnsksvr] etcvsftpdvsftpdconf 만약 root로 FTP 접속을 가능하게 하려면 etcvsftpdftpusersconf etcvsftpduser_listconf 에서 root 앞에 을 붙여 주석 처리

FTP Server 설치

2 standalone으로 vsftpd를 실행정지재시작 [rootnsksvr] etcinitdvsftpd start [rootnsksvr] etcinitdvsftpd stop [rootnsksvr] etcinitdvsftpd restart 3 서버 시작 자동 시작 설정 [rootnsksvr] chkconfig ndashadd vsftpd [rootnsksvr] chkconfig ndashlist | grep vsftpd vsftpd 0해제 1해제 2해제 3해제 4해제 5해제 6해제 현재는 모든 런 레벨에서 아예 안켜지도록 되어있으니 2345 런레벨에서 자동으로 켜지도록 설정 [rootnsksvr] chkconfig ndashlevel 2345 vsftpd on [rootnsksvr] chkconfig ndashlist | grep vsftpd vsftpd 0해제 1해제 2활성 3활성 4활성 5활성 6해제

4 vsftp에서 500 OOPS cannot change directory 오류가 나올 때

[rootnsksvr] setsebool -P ftp_home_dir=1

copy 2013 Globepoint Inc All Rights Reserved 7

방화벽 port 열기

1 iptables 수정 [rootnsksvr] um install vsftpd vi etcsysconfigiptables -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 21 ndashj ACCEPT ftp -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 22 ndashj ACCEPT telnet -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 5432 ndashj ACCEPT PostgreSQL -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 9080 ndashj ACCEPT PDI Server -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 8088 ndashj ACCEPT enterprise console (start) -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 8033 ndashj ACCEPT enterprise console (stop) 2 방화벽 규칙 재 시작 [rootnsksvr] etcinitdiptables restart

copy 2013 Globepoint Inc All Rights Reserved 8

pentaho 사용자 생성

1 로컬 터미널 또는 접근 하려는 서버의 세션을 연다 ssh pgibbons1921681133 2 root 권한으로 신규 사용자 계정을 생성한다 [rootnsksvr] useradd -s binbash -m pentaho 3 pentaho 유저의 패스워드 설정 [rootnsksvr] passwd pentaho 4 pethao 사용자 계정 확인 [rootnsksvr] su ndash penthao

copy 2013 Globepoint Inc All Rights Reserved 9

II Pentaho Install

copy 2013 Globepoint Inc All Rights Reserved 10

PDI Installation 1

1 ftp를 통해 파일을 서버로 이동

2 java 16 버전의 jdk 설치

3 Pentaho 설치

1 Enterprise 버전은 실행 가능 파일로 변환

[pentahonsksvr1 ~]$ chmod +x pdi-440-GA-x64bin Enterprise Version

1 Community 버전은 압축을 품

그래픽 인터페이스로 실행

[pentahonsksvr1 ~]$ pdi-440-GA-x64bin

압축 해제

[pentahonsksvr1 ~]$ tar ndashxvzf pdi-ce-440-

stabletargz

copy 2013 Globepoint Inc All Rights Reserved 11

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 12

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 13

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 14

Server Service 시작

1 data integration server 실행 [pentahonsksvr1 ~]$ cd pentahoserverdata-integration-server [pentahonsksvr1 ~]$ start-pentahosh 2 Enterprise Console 실행 [pentahonsksvr1 ~]$ cd pentahoserverenterprise-console-server [pentahonsksvr1 ~]$ start-pecsh

copy 2013 Globepoint Inc All Rights Reserved 15

Enterprise Console 설정

copy 2013 Globepoint Inc All Rights Reserved 16

Linux 부팅 시 Pentaho DI 시작 설정

1 root 권한으로 etcinitd 디렉토리에 pdi 라 불리는 파일 생성

binsh -e BEGIN INIT INFO Provides pdi Required-Start networking Required-Stop Default-Start 2 3 4 5 Default-Stop 0 1 6 Description Pentaho DI Server END INIT INFO case $1 in start) su - pentaho -c homepentahopentahoserverdata-integration-serverstart-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp start-pecsh stop) su - pentaho -c homepentahopentahoserverdata-integration-serverstop-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp stop-pecsh ) echo Usage $0 start | stop esac exit 0

2 실행 가능한 스크립트 파일로 변경

chmod +x etcinitdpdi chkconfig --add pdi

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 7

방화벽 port 열기

1 iptables 수정 [rootnsksvr] um install vsftpd vi etcsysconfigiptables -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 21 ndashj ACCEPT ftp -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 22 ndashj ACCEPT telnet -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 5432 ndashj ACCEPT PostgreSQL -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 9080 ndashj ACCEPT PDI Server -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 8088 ndashj ACCEPT enterprise console (start) -A INPUT ndashm state ndashstate NEW ndashm tcp ndashp tcp ndashdport 8033 ndashj ACCEPT enterprise console (stop) 2 방화벽 규칙 재 시작 [rootnsksvr] etcinitdiptables restart

copy 2013 Globepoint Inc All Rights Reserved 8

pentaho 사용자 생성

1 로컬 터미널 또는 접근 하려는 서버의 세션을 연다 ssh pgibbons1921681133 2 root 권한으로 신규 사용자 계정을 생성한다 [rootnsksvr] useradd -s binbash -m pentaho 3 pentaho 유저의 패스워드 설정 [rootnsksvr] passwd pentaho 4 pethao 사용자 계정 확인 [rootnsksvr] su ndash penthao

copy 2013 Globepoint Inc All Rights Reserved 9

II Pentaho Install

copy 2013 Globepoint Inc All Rights Reserved 10

PDI Installation 1

1 ftp를 통해 파일을 서버로 이동

2 java 16 버전의 jdk 설치

3 Pentaho 설치

1 Enterprise 버전은 실행 가능 파일로 변환

[pentahonsksvr1 ~]$ chmod +x pdi-440-GA-x64bin Enterprise Version

1 Community 버전은 압축을 품

그래픽 인터페이스로 실행

[pentahonsksvr1 ~]$ pdi-440-GA-x64bin

압축 해제

[pentahonsksvr1 ~]$ tar ndashxvzf pdi-ce-440-

stabletargz

copy 2013 Globepoint Inc All Rights Reserved 11

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 12

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 13

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 14

Server Service 시작

1 data integration server 실행 [pentahonsksvr1 ~]$ cd pentahoserverdata-integration-server [pentahonsksvr1 ~]$ start-pentahosh 2 Enterprise Console 실행 [pentahonsksvr1 ~]$ cd pentahoserverenterprise-console-server [pentahonsksvr1 ~]$ start-pecsh

copy 2013 Globepoint Inc All Rights Reserved 15

Enterprise Console 설정

copy 2013 Globepoint Inc All Rights Reserved 16

Linux 부팅 시 Pentaho DI 시작 설정

1 root 권한으로 etcinitd 디렉토리에 pdi 라 불리는 파일 생성

binsh -e BEGIN INIT INFO Provides pdi Required-Start networking Required-Stop Default-Start 2 3 4 5 Default-Stop 0 1 6 Description Pentaho DI Server END INIT INFO case $1 in start) su - pentaho -c homepentahopentahoserverdata-integration-serverstart-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp start-pecsh stop) su - pentaho -c homepentahopentahoserverdata-integration-serverstop-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp stop-pecsh ) echo Usage $0 start | stop esac exit 0

2 실행 가능한 스크립트 파일로 변경

chmod +x etcinitdpdi chkconfig --add pdi

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 8

pentaho 사용자 생성

1 로컬 터미널 또는 접근 하려는 서버의 세션을 연다 ssh pgibbons1921681133 2 root 권한으로 신규 사용자 계정을 생성한다 [rootnsksvr] useradd -s binbash -m pentaho 3 pentaho 유저의 패스워드 설정 [rootnsksvr] passwd pentaho 4 pethao 사용자 계정 확인 [rootnsksvr] su ndash penthao

copy 2013 Globepoint Inc All Rights Reserved 9

II Pentaho Install

copy 2013 Globepoint Inc All Rights Reserved 10

PDI Installation 1

1 ftp를 통해 파일을 서버로 이동

2 java 16 버전의 jdk 설치

3 Pentaho 설치

1 Enterprise 버전은 실행 가능 파일로 변환

[pentahonsksvr1 ~]$ chmod +x pdi-440-GA-x64bin Enterprise Version

1 Community 버전은 압축을 품

그래픽 인터페이스로 실행

[pentahonsksvr1 ~]$ pdi-440-GA-x64bin

압축 해제

[pentahonsksvr1 ~]$ tar ndashxvzf pdi-ce-440-

stabletargz

copy 2013 Globepoint Inc All Rights Reserved 11

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 12

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 13

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 14

Server Service 시작

1 data integration server 실행 [pentahonsksvr1 ~]$ cd pentahoserverdata-integration-server [pentahonsksvr1 ~]$ start-pentahosh 2 Enterprise Console 실행 [pentahonsksvr1 ~]$ cd pentahoserverenterprise-console-server [pentahonsksvr1 ~]$ start-pecsh

copy 2013 Globepoint Inc All Rights Reserved 15

Enterprise Console 설정

copy 2013 Globepoint Inc All Rights Reserved 16

Linux 부팅 시 Pentaho DI 시작 설정

1 root 권한으로 etcinitd 디렉토리에 pdi 라 불리는 파일 생성

binsh -e BEGIN INIT INFO Provides pdi Required-Start networking Required-Stop Default-Start 2 3 4 5 Default-Stop 0 1 6 Description Pentaho DI Server END INIT INFO case $1 in start) su - pentaho -c homepentahopentahoserverdata-integration-serverstart-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp start-pecsh stop) su - pentaho -c homepentahopentahoserverdata-integration-serverstop-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp stop-pecsh ) echo Usage $0 start | stop esac exit 0

2 실행 가능한 스크립트 파일로 변경

chmod +x etcinitdpdi chkconfig --add pdi

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 9

II Pentaho Install

copy 2013 Globepoint Inc All Rights Reserved 10

PDI Installation 1

1 ftp를 통해 파일을 서버로 이동

2 java 16 버전의 jdk 설치

3 Pentaho 설치

1 Enterprise 버전은 실행 가능 파일로 변환

[pentahonsksvr1 ~]$ chmod +x pdi-440-GA-x64bin Enterprise Version

1 Community 버전은 압축을 품

그래픽 인터페이스로 실행

[pentahonsksvr1 ~]$ pdi-440-GA-x64bin

압축 해제

[pentahonsksvr1 ~]$ tar ndashxvzf pdi-ce-440-

stabletargz

copy 2013 Globepoint Inc All Rights Reserved 11

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 12

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 13

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 14

Server Service 시작

1 data integration server 실행 [pentahonsksvr1 ~]$ cd pentahoserverdata-integration-server [pentahonsksvr1 ~]$ start-pentahosh 2 Enterprise Console 실행 [pentahonsksvr1 ~]$ cd pentahoserverenterprise-console-server [pentahonsksvr1 ~]$ start-pecsh

copy 2013 Globepoint Inc All Rights Reserved 15

Enterprise Console 설정

copy 2013 Globepoint Inc All Rights Reserved 16

Linux 부팅 시 Pentaho DI 시작 설정

1 root 권한으로 etcinitd 디렉토리에 pdi 라 불리는 파일 생성

binsh -e BEGIN INIT INFO Provides pdi Required-Start networking Required-Stop Default-Start 2 3 4 5 Default-Stop 0 1 6 Description Pentaho DI Server END INIT INFO case $1 in start) su - pentaho -c homepentahopentahoserverdata-integration-serverstart-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp start-pecsh stop) su - pentaho -c homepentahopentahoserverdata-integration-serverstop-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp stop-pecsh ) echo Usage $0 start | stop esac exit 0

2 실행 가능한 스크립트 파일로 변경

chmod +x etcinitdpdi chkconfig --add pdi

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 10

PDI Installation 1

1 ftp를 통해 파일을 서버로 이동

2 java 16 버전의 jdk 설치

3 Pentaho 설치

1 Enterprise 버전은 실행 가능 파일로 변환

[pentahonsksvr1 ~]$ chmod +x pdi-440-GA-x64bin Enterprise Version

1 Community 버전은 압축을 품

그래픽 인터페이스로 실행

[pentahonsksvr1 ~]$ pdi-440-GA-x64bin

압축 해제

[pentahonsksvr1 ~]$ tar ndashxvzf pdi-ce-440-

stabletargz

copy 2013 Globepoint Inc All Rights Reserved 11

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 12

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 13

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 14

Server Service 시작

1 data integration server 실행 [pentahonsksvr1 ~]$ cd pentahoserverdata-integration-server [pentahonsksvr1 ~]$ start-pentahosh 2 Enterprise Console 실행 [pentahonsksvr1 ~]$ cd pentahoserverenterprise-console-server [pentahonsksvr1 ~]$ start-pecsh

copy 2013 Globepoint Inc All Rights Reserved 15

Enterprise Console 설정

copy 2013 Globepoint Inc All Rights Reserved 16

Linux 부팅 시 Pentaho DI 시작 설정

1 root 권한으로 etcinitd 디렉토리에 pdi 라 불리는 파일 생성

binsh -e BEGIN INIT INFO Provides pdi Required-Start networking Required-Stop Default-Start 2 3 4 5 Default-Stop 0 1 6 Description Pentaho DI Server END INIT INFO case $1 in start) su - pentaho -c homepentahopentahoserverdata-integration-serverstart-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp start-pecsh stop) su - pentaho -c homepentahopentahoserverdata-integration-serverstop-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp stop-pecsh ) echo Usage $0 start | stop esac exit 0

2 실행 가능한 스크립트 파일로 변경

chmod +x etcinitdpdi chkconfig --add pdi

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 11

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 12

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 13

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 14

Server Service 시작

1 data integration server 실행 [pentahonsksvr1 ~]$ cd pentahoserverdata-integration-server [pentahonsksvr1 ~]$ start-pentahosh 2 Enterprise Console 실행 [pentahonsksvr1 ~]$ cd pentahoserverenterprise-console-server [pentahonsksvr1 ~]$ start-pecsh

copy 2013 Globepoint Inc All Rights Reserved 15

Enterprise Console 설정

copy 2013 Globepoint Inc All Rights Reserved 16

Linux 부팅 시 Pentaho DI 시작 설정

1 root 권한으로 etcinitd 디렉토리에 pdi 라 불리는 파일 생성

binsh -e BEGIN INIT INFO Provides pdi Required-Start networking Required-Stop Default-Start 2 3 4 5 Default-Stop 0 1 6 Description Pentaho DI Server END INIT INFO case $1 in start) su - pentaho -c homepentahopentahoserverdata-integration-serverstart-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp start-pecsh stop) su - pentaho -c homepentahopentahoserverdata-integration-serverstop-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp stop-pecsh ) echo Usage $0 start | stop esac exit 0

2 실행 가능한 스크립트 파일로 변경

chmod +x etcinitdpdi chkconfig --add pdi

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 12

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 13

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 14

Server Service 시작

1 data integration server 실행 [pentahonsksvr1 ~]$ cd pentahoserverdata-integration-server [pentahonsksvr1 ~]$ start-pentahosh 2 Enterprise Console 실행 [pentahonsksvr1 ~]$ cd pentahoserverenterprise-console-server [pentahonsksvr1 ~]$ start-pecsh

copy 2013 Globepoint Inc All Rights Reserved 15

Enterprise Console 설정

copy 2013 Globepoint Inc All Rights Reserved 16

Linux 부팅 시 Pentaho DI 시작 설정

1 root 권한으로 etcinitd 디렉토리에 pdi 라 불리는 파일 생성

binsh -e BEGIN INIT INFO Provides pdi Required-Start networking Required-Stop Default-Start 2 3 4 5 Default-Stop 0 1 6 Description Pentaho DI Server END INIT INFO case $1 in start) su - pentaho -c homepentahopentahoserverdata-integration-serverstart-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp start-pecsh stop) su - pentaho -c homepentahopentahoserverdata-integration-serverstop-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp stop-pecsh ) echo Usage $0 start | stop esac exit 0

2 실행 가능한 스크립트 파일로 변경

chmod +x etcinitdpdi chkconfig --add pdi

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 13

Installation 2

copy 2013 Globepoint Inc All Rights Reserved 14

Server Service 시작

1 data integration server 실행 [pentahonsksvr1 ~]$ cd pentahoserverdata-integration-server [pentahonsksvr1 ~]$ start-pentahosh 2 Enterprise Console 실행 [pentahonsksvr1 ~]$ cd pentahoserverenterprise-console-server [pentahonsksvr1 ~]$ start-pecsh

copy 2013 Globepoint Inc All Rights Reserved 15

Enterprise Console 설정

copy 2013 Globepoint Inc All Rights Reserved 16

Linux 부팅 시 Pentaho DI 시작 설정

1 root 권한으로 etcinitd 디렉토리에 pdi 라 불리는 파일 생성

binsh -e BEGIN INIT INFO Provides pdi Required-Start networking Required-Stop Default-Start 2 3 4 5 Default-Stop 0 1 6 Description Pentaho DI Server END INIT INFO case $1 in start) su - pentaho -c homepentahopentahoserverdata-integration-serverstart-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp start-pecsh stop) su - pentaho -c homepentahopentahoserverdata-integration-serverstop-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp stop-pecsh ) echo Usage $0 start | stop esac exit 0

2 실행 가능한 스크립트 파일로 변경

chmod +x etcinitdpdi chkconfig --add pdi

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 14

Server Service 시작

1 data integration server 실행 [pentahonsksvr1 ~]$ cd pentahoserverdata-integration-server [pentahonsksvr1 ~]$ start-pentahosh 2 Enterprise Console 실행 [pentahonsksvr1 ~]$ cd pentahoserverenterprise-console-server [pentahonsksvr1 ~]$ start-pecsh

copy 2013 Globepoint Inc All Rights Reserved 15

Enterprise Console 설정

copy 2013 Globepoint Inc All Rights Reserved 16

Linux 부팅 시 Pentaho DI 시작 설정

1 root 권한으로 etcinitd 디렉토리에 pdi 라 불리는 파일 생성

binsh -e BEGIN INIT INFO Provides pdi Required-Start networking Required-Stop Default-Start 2 3 4 5 Default-Stop 0 1 6 Description Pentaho DI Server END INIT INFO case $1 in start) su - pentaho -c homepentahopentahoserverdata-integration-serverstart-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp start-pecsh stop) su - pentaho -c homepentahopentahoserverdata-integration-serverstop-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp stop-pecsh ) echo Usage $0 start | stop esac exit 0

2 실행 가능한 스크립트 파일로 변경

chmod +x etcinitdpdi chkconfig --add pdi

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 15

Enterprise Console 설정

copy 2013 Globepoint Inc All Rights Reserved 16

Linux 부팅 시 Pentaho DI 시작 설정

1 root 권한으로 etcinitd 디렉토리에 pdi 라 불리는 파일 생성

binsh -e BEGIN INIT INFO Provides pdi Required-Start networking Required-Stop Default-Start 2 3 4 5 Default-Stop 0 1 6 Description Pentaho DI Server END INIT INFO case $1 in start) su - pentaho -c homepentahopentahoserverdata-integration-serverstart-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp start-pecsh stop) su - pentaho -c homepentahopentahoserverdata-integration-serverstop-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp stop-pecsh ) echo Usage $0 start | stop esac exit 0

2 실행 가능한 스크립트 파일로 변경

chmod +x etcinitdpdi chkconfig --add pdi

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 16

Linux 부팅 시 Pentaho DI 시작 설정

1 root 권한으로 etcinitd 디렉토리에 pdi 라 불리는 파일 생성

binsh -e BEGIN INIT INFO Provides pdi Required-Start networking Required-Stop Default-Start 2 3 4 5 Default-Stop 0 1 6 Description Pentaho DI Server END INIT INFO case $1 in start) su - pentaho -c homepentahopentahoserverdata-integration-serverstart-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp start-pecsh stop) su - pentaho -c homepentahopentahoserverdata-integration-serverstop-pentahosh su - pentaho -c cd homepentahopentahoserverenterprise-console ampamp stop-pecsh ) echo Usage $0 start | stop esac exit 0

2 실행 가능한 스크립트 파일로 변경

chmod +x etcinitdpdi chkconfig --add pdi

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 17

Data Integration Server pentahoserverdata-integration-servertomcatwebappspentaho-diWEB-INFlib

Data Integration client pentahodesign-toolsdata-integrationlibextJDBC

JDBC Driver 추가

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 18

Repository 생성_Enterprise Reposity

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 19

Repository 생성_kettle database repository

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

copy 2013 Globepoint Inc All Rights Reserved 20

Repository 생성_kettle database repository 결과

감사합니다

21 G L O B E P O I N T

감사합니다

21 G L O B E P O I N T