Background Image
조회 수 30613 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부

APC_Install-tools 구성 및 설치 방법

 

APC_Install-tools ? : Apache, PHP, CUBRID를 한번에 설치하는 패키지입니다.

 

차례

1.     APC_Install-tools 의 환경

2.     APC_Install-tools 설치

3.     APC-install.sh의 수행절차

4.     apc.sh의 수행절차

5.     기타 : rpm 명령어

6.     실행 화면 ()

 

1.     APC_Install-tools 의 환경

리눅스 버전: CentOS release 5 (Final) 64bit

설치파일 버전:

           Apache 2.2.11 (소스 컴파일 설치)

PHP 5.1.6, 5.2.8 (소스 컴파일 설치)

CUBRID 2008 R1.3

l  본 패키지는 CentOS release 5 (Final) 64bit 환경 하에서 작성되었습니다. redhat 계열에서는 호환할 것으로 예상되나 CentOS가 아닌 다른 리눅스에서는 정상 설치 및 동작되지 않을 수 있으니 주의하시기 바랍니다.

 

설치파일 목록

APC_Install-tools-1.4-2.x86_64.rpm : 모든 파일들을 담고있는 rpm 패키지 파일

1)     APC-install.sh : package 설치시 /usr/src/redhat/SOURCES 에 생성되는 shell file

2)     APC-files.tar.gz : package 설치시  /usr/src/redhat/SOURCES 에 생성되는 install할 파일의 묶음

A.     apc.sh : 각 모듈을 설치하는 shell file

B.      php-5.1.6.tar.gz, php-5.2.8.tar.gz : php 프로그램 file

C.      httpd-2.2.11.tar.gz : apache 프로그램 file

D.     CUBRID-8.1.3.1020.linux.sh : CUBRID 프로그램 file

E.      cubrid-php.tar.gz : cubrid-php 프로그램 file

F.      info.php : 설치가 제대로 되었는지 web을 통해 확인할 수 있도록 돕는 info file

 

2.     APC_Install-tools 설치

1)     APC_Install-tools-1.4-2.x86_64.rpm을 다운 받는다.

2)     rpm -i APC_Install-tools-1.4-2.x86_64.rpm를 실행한다.

3)     root user switch한다. (su -)

4)     /usr/src/redhat/SOURCES/APC-install.sh 파일을 실행한다.

5)     콘솔에 나타나는 메시지에 따라 진행하면 설치 완료.

 

참고

l   /usr/local/web/ php, apached, CUBRID, cubrid-php 폴더가 생성됨.

l   /usr/lib/APC_Install-tools/ APC-files.tar.gz가 해제됨.

n  /usr/lib/APC_Install-tools/ 이하 파일은 설치 시에만 사용되는 파일로 추후 삭제하셔도 됩니다.

 

3.     APC-install.sh의 수행절차

 

 

 

 

1)     /usr/local/web/, /usr/lib/APC_Install-tools/ 기존의 파일이 존재하는지 check합니다.

è  /usr/local/web/ /usr/lib/APC_Install-tools는 보통 Unique한 폴더이기 때문에

 만약에 해당 폴더 안에 파일들이 존재한다면 이전에 APC_Install-tools 를 사용하여 APC 를 설치한 이력이 있다고 판단하고 재설치 여부를 묻습니다

2)     재설치를 수락하거나 기존의 폴더에 파일이 존재하지 않을경우 APC-files.tar.gz의 압축이 해제 됩니다.

3)     APC-files.tar.gz /usr/lib/APC_Install-tools에 해제되고 각 모듈을 설치하기 위한 shell

파일인 apc.sh이 수행됩니다.

 

4.     apc.sh의 수행절차

 

 

 

 

1)     순서대로 각 모듈들을 설치 합니다.

2)     환경파일들을 추가하고 setting 합니다.

3)     DISK공간 활용도를 위해서 설치를 위해서만 필요로 했던 files을 자동 삭제합니다.

4)     CUBRID setting을 위해 필요한 .cubrid.sh 파일 수행을 사용자에게 echo로 알려줍니다.

5.     기타 : rpm 명령어

1)     패키지 정보 보기

[root@cdbs006 SPECS]# rpm -qpi /usr/src/redhat/RPMS/x86_64/APC_Install-tools-1.4-2.x86_64.rpm

Name        : APC_Install-tools            Relocations: (not relocatable)

Version     : 1.4                               Vendor: (none)

Release     : 2                             Build Date: Tue 10 Mar 2009 03:18:57 PM KST

Install Date: (not installed)               Build Host: cdbs006.cub.nhnsystem.com

Group       : System Environment/Daemons    Source RPM: APC_Install-tools-1.4-2.src.rpm

Size        : 86160807                         License: Check for each (Apache, PHP and CUBRID)

Signature   : (none)

URL         : http://www.cubrid.com/

Summary     : A package to install Apache, PHP and CUBRID at once.

Description :

This package is for installing CUBRID package including Apache Web Server and PHP interface.

This includes recent versions of Apache, PHP and CUBRID.

Version 1.4 indicates the CUBRID 2008 Release version.

Release 2 indicates the version of this package.

How to install this package.:

1. rpm -i APC_Install-tools-1.4-2.x86_64.rpm

2. cd /usr/src/redhat/SOURCES

3. ./APC-install.sh

How to remove this package.:

1. rpm -e APC_Install-tools-1.4-2.x86_64

2. remove /usr/local/web and /usr/lib/APC_Install-tools

 

2)     패키지 설치하기

[root@cdbs006 brightest]# rpm -i APC_Install-tools-1.4-2.x86_64.rpm

 

3)     패키지 삭제하기

첫번째 명령(-i 옵션)은 설치된 상태를 보여주며, 두번째 명령(-e옵션)은 설치된 패키지를 삭제하는 것을 보여줍니다.

[root@cdbs006 brightest]# rpm -i APC_Install-tools-1.4-2.x86_64.rpm

        package APC_Install-tools-1.4-2 is already installed

[root@cdbs006 brightest]# rpm -e APC_Install-tools-1.4-2.x86_64

 

6.     실행화면 ()

[root@cdbs006 x86_64]# rpm -i APC_Install-tools-1.4-2.x86_64.rpm

[root@cdbs006 x86_64]# cd /usr/src/redhat/SOURCES

[root@cdbs006 SOURCES]# ./APC-install.sh

 

/usr/lib/APC_Install-tools folder already exist!

If you didn't want to delete this folder, you can't install this package.

Do you want to delete that folder? (yes or no) : yes

CUBRID-8.1.3.1020-linux.sh

apc.sh

cubrid-php.tar.gz

httpd-2.2.11.tar.gz

info.php

php-5.1.6.tar.gz

php-5.2.8.tar.gz

#### APC auto install program ####

This program helps you install Apache, PHP, CUBRID at the same time.

 

Apache version - httpd-2.2.11. Do you want to install this version? (yes or no) : yes

 

PHP version - 1) php-5.1.6  2) php-5.2.8. Which version do you want to install? (1, 2 or no) : 2

 

CUBRID version - CUBRID 2008 R1.3. Do you want to install this version? (yes or no) : yes

……(이하 컴파일 화면)

……

folders realed to APC package are in /usr/lib/APC_Install-tools/

APC package was installed in /usr/local/web/

modify each conf files if needed

 

please type '. /root/.cubrid.sh' before using CUBRID

 
설치파일은 큐브리드닷컴의 개발자-자료실 메뉴애서 다운 받을 수 있습니다.
다운로드 링크 : http://www.cubrid.com/zbxe/bbs_developer_reference/39160


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
46 CCI/DB API CCI-API 에서 OID 사용 예제 file 남재우 2009.07.01 24861
45 CCI/DB API CCI-API 사용 예제 file 남재우 2009.07.01 25103
44 PHP CUBRID_기술문서_CUBRID PHP 함수 unisql_ 계열 cubrid_로 변환하기 file 남재우 2009.06.23 22355
43 PHP cubrid_fetch_all 함수 추가하기 2 남재우 2009.06.16 20828
42 기타 Oracle의 SYS_CONNECT_BY_PATH 함수 흉내내기 CUBRID_DEV 2009.06.15 26526
41 Java CUBRID에서 log4sql을 사용하자 정병주 2009.06.12 44302
40 기타 오래 걸리는 질의 및 동일 시간에 수행 중인 질의 추출하기 손승일 2009.05.26 20058
39 Java jsp용 jdbc 샘플입니다. file 시난 2009.05.25 47606
38 Java iBATIS framework with CUBRID file 웁쓰 2009.05.19 54546
37 기타 CUBRID와 타DBMS의 python 사용방법 비교 cubebridge 2009.05.19 29520
36 Java SQuirreL SQL Client에서 CUBRID 사용하기 3 Prototype 2009.04.18 34533
35 Java Power*Architect 에서 CUBRID 사용하기 Prototype 2009.04.18 23879
34 Java AquaDataStudio 에서 CUBRID 사용하기 Prototype 2009.04.18 23666
33 Install CUBRID Manager 사용시 로그인에 대하여 1 file admin 2009.04.01 42038
32 Java Spring framework 사용 예제 admin 2009.04.01 53119
31 기타 connect by 구현 방법 admin 2009.04.01 52371
30 기타 python 에서 broker_log_top 사용 1 admin 2009.04.01 17830
29 기타 오라클 개발자를 위한 CUBRID 개발 안내 1 admin 2009.04.01 49817
28 Linux HP-UX에서 CUBRID 사용을 위한 kernel 설정값 조정 1 admin 2009.04.01 54135
27 Linux cron을 이용한 백업 자동화 admin 2009.04.01 33118
Board Pagination Prev 1 2 3 4 5 6 7 8 9 Next
/ 9

Contact Cubrid

대표전화 070-4077-2110 / 기술문의 070-4077-2113 / 영업문의 070-4077-2112 / Email. contact_at_cubrid.com
Contact Sales