[ 솔루션기능테스트] UbiDrive + Pengrix Standard Edition 기능테스트절차서 한국소프트웨어진흥원 - -
<Revision 정보> 일자 VERSION 변경내역작성자 2007. 4. 7 0. 초기작성이은성 - 2 -
목 차. 문서개요 4 가. 문서의목적 4 나. 본문서의사용방법 4 2. 테스트절차내역 5 가. Pengrix Standard Edition 설치 5 나. UbiDrive 설치 9 다. 가상OS 이미지생성및설치 라. 가상OS 실행 3 마. 가상OS에서 UbiDrive 설치및사용 4 < 차례> Pengrix Standard Edition 서버에원격접속한화면 7 2 UbiDrive 로그인화면 0 3 새 OS 이미지를만드는화면 4 OS 설치위해실행하는화면 5 WinXP 설치하는과정 2 6 WinXP 를설치하는화면 2 7 리눅스위에서윈도우 OS 를실행한화면 3 8 윈도우 OS와리눅스 OS 를동시에실행한화면 3 9 pengrix 서버에원격접속한화면 4 0 UbiDrive 클라이언트다운및설정화면 4 웹디스크공간을드라이브문자로매핑하는화면 5 2 탐색기에 UbiDrive 가연결된화면 5-3 -
. 문서개요 본문서는네트워크를통해접속한여러사용자가 Pengrix 가설치된서버에여러 OS와소프트 웨어를사용할수있는서비스를제공하는솔루션으로, 관련솔루션업체의참고자료활용을위 해제작되었다. 가. 문서의목적 다음과같은세부적인목적을달성하기위하여작성되었다. Pengrix Standard Edition 설치및구동 UbiDrive 설치및구동 Pengrix Standard Edition 이용하여 UbiDrive를사용 나. 본문서의사용방법 다음과같은방법으로사용할수있다. Pengrix Standard 설치, 구동, 기능절차내역을확인한다. UbiDrive 설치, 구동, 기능절차내역을확인한다. - 4 -
2. 테스트절차내역 가. Pengrix Standard Edition설치 단계 시험항목시험절차 항목/ 시험/ 결과 Pengrix Standard Edition 설치 -. Pengrix Standard Edition 을설치한다.. Pengrix Standard Edition 을아래의사이트에서다운받는다. -. http://jkers.puffin.co.kr/pengrix_std_latest.tar.gz [root@localhost ~]# wget http://jkers.puffin.co.kr/pengrix_std_latest.tar.gz --6:35:43-- http://jkers.puffin.co.kr/pengrix_std_latest.tar.gz => `pengrix_std_latest.tar.gz.' Resolving jkers.puffin.co.kr... 220.49.80.5 Connecting to jkers.puffin.co.kr 220.49.80.5 :80... connected. HTTP request sent, awaiting response... 200 OK Length: 23,429,0 (22M) [application/x-tar] 00%[===============================================================>] 23,429,0 580.98K/s ETA 00:00 6:36:29 (496.05 KB/s) - `pengrix_std_latest.tar.gz.' saved [234290/234290] 2. Pengrix Standard Edition 압축을푼다. [root@localhost ~]# tar -zxvf pengrix_std_latest.tar.gz pengrix_std_.0/ pengrix_std_.0/settings/ pengrix_std_.0/settings/desktop/ pengrix_std_.0/settings/desktop/pengrix_standard.desktop pengrix_std_.0/settings/vnc_services pengrix_std_.0/settings/xdm/ pengrix_std_.0/settings/xdm/xaccess pengrix_std_.0/settings/xdm/kdmrc pengrix_std_.0/settings/php.ini pengrix_std_.0/settings/xinetd.d/ pengrix_std_.0/settings/xinetd.d/vnc pengrix_std_.0/settings/vnc_inetd.conf pengrix_std_.0/settings/init.d/ pengrix_std_.0/settings/init.d/chkconfig_kqemu pengrix_std_.0/settings/init.d/kqemu pengrix_std_.0/settings/pengrix_standard_admin.desktop pengrix_std_.0/settings/config.tpl.php pengrix_std_.0/gui/ -------- 이하생략 -------- 3. Pengrix 관리자 ID pengrix 를생성하고비밀번호를설정한다. [root@localhost ~]# useradd pengrix [root@localhost ~]# passwd pengrix Changing password for user pengrix. New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully. - 5 -
4. 압축을푼디렉토리로이동하여 install 파일을실행한다. [root@localhost pengrix_std_.0]# /root/pengrix_std_.0/install Here we go!!! Let's start to install pengrix standard edition First, Check SDL SDL found: Version.2.9 Warning: "gcc" looks like gcc 4.x. Finding gcc 3.x Found "gcc32". which: no sqlite in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin :/root/bin) SQLite found: Version 3.3.3 GTK+ found: Version 2.8.5 Check for libxml2 libxml2 found: Version 2.6.23 Check for C++ compiler C++ compiler found Check for zlib library zlib library found Check for misc. utils for compiling... Everything is allright. Let's move on... username pengrix exists. Good. Where do you want to install Pengrix Standard Edition? [/usr/local/pengrix] ------ 이하생략 ----- 설치기본디렉토리는 /usr/local/pengrix 이다. 5. 원격접속설정가. 리눅스서버가 xinetd를사용하는경우 [root@localhost settings]# cp /root/pengrix_std_.0/settings/xinetd.d/vnc /etc/xinetd.d/vnc cp: overwrite `/etc/xinetd.d/vnc'? y [root@localhost settings]# 나. xinetd 가설정파일을다시읽어오도록한다. [root@localhost settings]# killall -HUP xinetd [root@localhost settings]# 6. 클라이언트에서접속하는방법가. 윈도우 XDMCP 설정을해준다. [root@localhost settings]# cp /root/pengrix_std_.0/settings/xdm/xaccess /etc/x/xdm/xaccess cp: overwrite `/etc/x/xdm/xaccess'? y [root@localhost settings]# cp /root/pengrix_std_.0/settings/xdm/kdmrc /etc/x/xdm/kdmrc [root@localhost settings]# - 6 -
나. 77번 UDP 포트가열려있는지확인한다. [root@localhost settings]# netstat -aun Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State udp 0 0 0.0.0.0:32768 0.0.0.0:* udp 0 0 0.0.0.0:77 0.0.0.0:* udp 0 0 0.0.0.0:5353 0.0.0.0:* udp 0 0 0.0.0.0:63 0.0.0.0:* udp 0 0 :::32769 :::* [root@localhost settings]# 다. 클라이언트에서 Pengrix Standard Edition 서버로로그인한다. Pengrix Standard Edition 서버에원격접속한화면 비 고 - 7 -
나. 단계 UbiDrive 시험항목시험절차 설치 항목/ 시험/ 결과 UbiDrive설치 UbiDrive 를설치한다.. UbiDrive Down 받는다. http://jkers.puffin.co.kr/ubidrive_latest.tar.gz [root@localhost ~]# wget http://jkers.puffin.co.kr/ubidrive_latest.tar.gz --5:42:36-- http://jkers.puffin.co.kr/ubidrive_latest.tar.gz => `ubidrive_latest.tar.gz' Resolving jkers.puffin.co.kr... 220.49.80.5 Connecting to jkers.puffin.co.kr 220.49.80.5 :80... connected. HTTP request sent, awaiting response... 200 OK Length: 36,44,779 (35M) [application/x-tar] 00%[===============================================================>] 36,44,779 964.40K/s ETA 00:00 5:43:6 (90.90 KB/s) - `ubidrive_latest.tar.gz' saved [3644779/3644779] [root@localhost ~]# 2. UbiDrive 압축을푼다. [root@localhost ~]# tar -zxvf ubidrive_latest.tar.gz > ubidrive.log ubidrive_.0/ ubidrive_.0/oss/ ubidrive_.0/oss/apache/ ubidrive_.0/oss/apache/about_apache ubidrive_.0/oss/apache/announcement ubidrive_.0/oss/apache/announcement.de ubidrive_.0/oss/apache/announcement.ja ubidrive_.0/oss/apache/cgi-bin/ ubidrive_.0/oss/apache/cgi-bin/printenv ubidrive_.0/oss/apache/cgi-bin/test-cgi ubidrive_.0/oss/apache/conf/ ubidrive_.0/oss/apache/conf/access.conf-dist ubidrive_.0/oss/apache/conf/highperformance.conf-dist ubidrive_.0/oss/apache/conf/httpd.conf-dist ubidrive_.0/oss/apache/conf/httpd.conf-dist-nw ubidrive_.0/oss/apache/conf/httpd.conf-dist-win ----- 이하생략 ----- - 8 -
3. install 스크립트를실행한다. [root@localhost ubidrive_.0]# /root/ubidrive_.0/install Here we go!!! Let's start to install UbiDrive Collaboration Suite. C compiler works!! Check for libxml2 libxml2 found: Version 2.6.23 Check for mhash library Check for C++ compiler C++ compiler found Check for misc. utils for compiling... Everything is allright. Let's move on... username vmail exists. Good. Where do you want to install UbiDrive Collaboration Suite? [/usr/local/ubidrive] Enter the password for LDAP root: Retype the password for LDAP root: Okay, I got it... Enter the password for MySQL root: Retype the password for MySQL root: I got every information that I need. Let's go and install!! Copyright 998-2005 The OpenLDAP Foundation. All rights reserved. Restrictions apply, see COPYRIGHT and LICENSE files. Configuring OpenLDAP 2.2.26-Release... checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking build system type... x86_64-unknown-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk ----- 이하생략 ----- 4. 설치가정상적인지확인하기위해서 ldap, mysql, apache 를확인한다. [root@localhost ubidrive_.0]# ps aux grep slapd slapd 3070 0.0 0. 87076 3748? Ssl 2:52 0:00 /usr/local/openldap/libexec/slapd -h ldap://27.0.0.:389 -f /usr/local/openldap/etc/openldap/slapd.conf -u slapd -g slapd [root@localhost ubidrive_.0]# ps aux grep mysql root 8355 0.0 0.0 55656 268? S Apr2 0:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/home/mysql --pid-file=/home/mysql/localhost.localdomain.pid mysql 838 0.0.3 45780 28228? Sl Apr2 0:00 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/home/mysql --user=mysql --pid-file=/home/mysql/localhost.localdomain.pid --skip-locking --port=3306 --socket=/home/mysql/mysqld.sock [root@localhost ubidrive_.0]# ps aux grep httpd root 3093 0.0 0. 92544 3684? Ss 2:52 0:00 /usr/local/apache/bin/httpd vmail 3094 0.0 0.2 93372 4368? S 2:52 0:00 /usr/local/apache/bin/httpd - 9 -
5. 설치가완료되면도메인을 Setup 해야한다. 예) kipa.puffin.co.kr 도메인에 50GB 디스크용량을할당하려면, /usr/local/php4/bin/php domain_setup.php -q 50000 -s disk,board kipa.puffin.co.kr [root@localhost ubidrive_.0]# cd /usr/local/ubidrive/scripts [root@localhost ubidrive_.0]# /usr/local/php4/bin/php /usr/local/php4/bin/php domain_setup.php -q 50000 -s disk,board kipa.puffin.co.kr Everything is done!!! 6. 생성한도메인관리자비밀번호를다음의파일에서확인한다. [root@localhost ubidrive_.0]# cat usr/local/ubidrive/kipa.puffin.co.kr/conf.d/domain_config.php define('admin_pw', 'xxxxxx'); 웹브라우저를띄우고주소창에 kipa.puffin.co.kr 입력하면 UbiDrive 로그인 창이나타난다. 2 UbiDrive 로그인화면 비 고 - 0 -
다. 가상OS 이미지생성및설치 단계 항목/ 시험/ 결과 시험항목가상OS 이미지생성및설치 시험절차가상OS 이미지생성및설치한다.. 가상OS 이미지생성 로그인후에바탕화면에있는 Pengrix Admin icon을더블클릭하여 Pengrix Control Center 를실행한다. 처음실행할때는아래에서처럼 아직아무런가상 OS가생성되지않아 OS List 가비어있다. 새로만들기 버튼을눌러새로만들 OS 이름과파일명, 그리고파일크기를 선택하고 OS 를나타내는아이콘을선택한후 저장 버튼을눌러가상 OS 이 미지를생성한다. Name : 가상OS 이름을입력한다. Filename : 가상OS 파일명을입력한다. Filesize : 가상OS 크기를 GB 단위로선택한다. Icon : 가상OS 를상징하는아이콘을선택한다. 저장 : 가상OS 이미지를저장한다. 입력취소 : 가상OS 이미지입력을취소한다. 지우기 : 가상OS 이미지를삭제한다. 3 새 OS 이미지를만드는화면 4 OS설치위해실행하는화면 2. 가상OS 설치 가상 OS가생성되는 OS List에등록이되고이제생성된가상 OS 이미지를 선택하여 Run OS 탭을눌러 OS 를설치할준비를한다. 설치 CD를가지고있다면 CD-ROM에넣고 CD-ROM 디바이스를선택한다. ISO파일로설치하고자한다면 ISO File 열기 버튼으로 ISO파일을찾아 선택하면된다. 주의 ) 가상 OS에서는아직리눅스 64bit 버전지원이불안정하므로 i386 배포판을사용해야한다. x86_64 또는 AMD64 는아직지원하지않는다. Boot from CD or ISO file 체크하면 CD나 ISO파일로부터가상 OS 를부팅한다. Boost virtualization 가상OS 의속도를높여줍니다. OS 설치시에는권장하지않는다. OS 설치가끝난후재시작할때체크해야한다. - -
Memory (MB) 가상 OS 에메모리를할당한다. read-only 가상 OS 를읽기전용으로실행한다. 가상 OS를마친후변경된모든내용은 사라지게된다. OS 설치시에는체크하지않는다. full-screen 체크하시면가상 OS 가전체화면모드로실행된다. 체크하지않으면윈도우 모드로실행된다. Launch 가상 OS 를실행한다. CD-ROM CD 미디어를바꿀때사용한다. Pause 가상 OS 를정지한다. Play 가상 OS 를재시작한다. Quit 가상 OS 를강제로종료한다. 가상 OS와호스트 OS간의 hot-key Ctrl-Alt 키: 가상 OS에마우스초점이있으면 Ctrl-Alt 키로호스트 OS로마우스초점을변경할수있다. Ctrl-Alt-F 키: 가상 OS를전체화면모드와윈도우모드로변경할수있는토글키(toggle key) 이다. 5 WinXP 를설치하는화면 6 WinXP 설치하는과정 화면 윈도우 OS를설치하는모습을 5 에서볼수있다. 윈도우 OS를설치할때는 Boost virtualization 을체크하지않으므로조금느릴수있다. 그러나설치가완료된후에는 Boost virtualization 을체크하면, 가상OS의속도를높일수있다. 비 고 - 2 -
라. 가상OS 실행 단계시험항목가상OS 실행 항목/ 시험/ 결과 시험절차가상OS 를실행한다. 7 리눅스위에서윈도우 OS를 실행한화면 8 윈도우 OS와리눅스 OS를 동시에실행한화면 Pengrix는여러개의가상 OS 를동시에지원한다. 8은가상 OS 2개 ( 윈도우, 리눅스) 를실행하는모습을보여주고있다. 비 고 - 3 -
마. 가상OS에서 UbiDrive 설치및사용 단계 시험항목가상OS에서 UbiDrive설치및사용 항목/ 시험/ 결과 시험절차가상OS에서 UbiDrive 설치및사용한다.. 가상OS 로그인 Linux PC에서접속을하려면 vncviewer 프로그램이설치돼야한다. Redhat 계열의리눅스에서는 yum install vnc 하고, Debian 계열의리눅스에서는 apt-get install vncviewer 하면된다. linux-desktop$ vncviewer pengrix_server_name:port번호예 > vncviewer pengrix.kipa.or.kr:2 위와같이하면 pengrix.kipa.or.kr 서버의 5902 포트에접속한다. Windows PC에는 vncviewer 를다운로드하여설치하면된다. 화면 9 pengrix 서버에원격접속한 0 UbiDrive 및설정화면 클라이언트다운 2. 가상OS에서 UbiDrive 설치및환경구성 -. UbiDrive 설치 사용자가 UbiDrive 서버의주소(http://kipa.puffin.co.kr) 로가서 admin 으로로그인한후클라이언트프로그램다운로드후설치한다. -. UbiDrive 환경구성 ID 비밀번호 성 이름 용량 설정 위사항은필수항목으로반드시기입해야한다. 그외항목은기타정보항목으로써사용자가적을수있게비워두는 방법도있다. 사용자가 UbiDrive 서버의주소(http://kipa.puffin.co.kr) 로가서자신의 ID와비밀번호를입력후로그인을한다. - 4 -
3. 가상OS에서 UbiDrive 사용 가상OS 탐색기에자신의웹디스크공간을드라이브문자로매핑하여파일 저장을할수있으며, 3은윈도우에 UbiDrive가연결된것을볼수 있다. 웹디스크공간을드라이브문자로매핑하는화면 2 탐색기에 UbiDrive가 연결된화면 비 고 - 5 -