Background Image
Install
2008.11.22 00:25

UNIX/LINUX 에서 CUBRID 설치하기

조회 수 37530 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

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

큐브리드 설치

설치 프로그램은 바이너리 셸로 이루어져 자동 설치할 수 있다. 설치를 진행하려면 다운로드한 설치 파일을 바이너리 모드로 리눅스 서버의 FTP로 전송한다.

다음 예제와 같이 설치 프로그램을 수행한다.

 

  1. [daniel@d78740 ~]$ sh CUBRID-8.1.0.1162-linux.sh
    Input the CUBRID install directory. [Default: /home1/daniel/CUBRID] :
    Install CUBRID to /home1/daniel/CUBRID...
    In case a different version of the CUBRID product is being used in other machines, please note that the CUBRID 2008 R1.0 servers are only compatible with the CUBRID 2008 R1.0 clients and vice versa.
    Do you want to continue? (y/n) [Default: y] : y
  2. CUBRID has been successfully installed.
    demodb has been successfully created.
  3. If you want to use CUBRID, run the following commands
      % . /home1/daniel/.cubrid.sh
      % cubrid service start

 

위의 예제와 같이 다운로드한 파일(CUBRID-8.1.0.1162-linux.sh)을 설치한 후, 큐브리드 데이터베이스를 사용하기 위해서는 큐브리드 관련 환경 정보를 설정해야 한다. 이 설정은 해당 터미널에 로그인할 때 자동 설정되도록 지정되어 있으므로 설치 후 최초 한 번만 수행하면 된다. 

  1. [daniel@d78740 ~]$ . /home1/daniel/.cubrid.sh

 

이제 큐브리드 매니저에 접속할 수있다. JDBC와 같은 드라이버에서 접속하려면 큐브리드 매니저 서버와 브로커를 구동시켜야 한다.

구동 방법은 다음과 같다.

  1. [daniel@d78740 ~]$ cubrid service start
 

cubrid service를 구동시킨 후 정상적으로 구동되었는지에 대한 확인은 다음과 같이 grep으로 cub_* 프로세스들이 구동되어 있는지를 확인한다.

    [daniel@d78740 ~]$ ps -ef | grep cub_
    daniel 15200 1 0 18:57 ? 00:00:00 cub_master
    daniel 15205 1 0 18:57 pts/17 00:00:00 cub_broker
    daniel 15210 1 0 18:57 pts/17 00:00:00 query_editor_cub_cas_1
    daniel 15211 1 0 18:57 pts/17 00:00:00 query_editor_cub_cas_2
    daniel 15212 1 0 18:57 pts/17 00:00:00 query_editor_cub_cas_3
    daniel 15213 1 0 18:57 pts/17 00:00:00 query_editor_cub_cas_4
    daniel 15214 1 0 18:57 pts/17 00:00:00 query_editor_cub_cas_5
    daniel 15217 1 0 18:57 pts/17 00:00:00 cub_broker
    daniel 15222 1 0 18:57 pts/17 00:00:00 broker1_cub_cas_1
    daniel 15223 1 0 18:57 pts/17 00:00:00 broker1_cub_cas_2
    daniel 15224 1 0 18:57 pts/17 00:00:00 broker1_cub_cas_3
    daniel 15225 1 0 18:57 pts/17 00:00:00 broker1_cub_cas_4
    daniel 15226 1 0 18:57 pts/17 00:00:00 broker1_cub_cas_5
    daniel 15229 1 0 18:57 ? 00:00:00 cub_auto start
    daniel 15232 1 0 18:57 ? 00:00:00 cub_js start

 


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
26 Java CUBRID GLO 사용하기 - JDBC 손승일 2009.08.15 23493
25 Linux CUBRID DB와 Broker 분리방안 정만영 2010.04.28 28412
24 Java CUBRID Collection Data Type 사용하기 - JDBC 손승일 2009.08.15 24915
23 기타 CUBRID 32bit VS 64bit janus 2009.08.15 17483
22 기타 CUBRID 2008 주요 명령어 admin 2008.11.21 30806
21 Install CUBRID 2008 을 하나의 머신에 여러번 설치하기(multi instance) admin 2008.11.21 31459
20 Windows CUBRID 2008 사용법 admin 2008.11.21 47938
19 Linux CUBRID 2008 사용법 admin 2008.11.21 36762
18 튜닝 CUBRID 2008 R4.0의 커버링 인덱스(covering index)는 무엇인가? file admin 2011.07.14 29883
17 기타 CUBRID 2008 R4.0 파라미터 변경 사항 (일부) file admin 2011.07.14 13154
16 기타 CUBRID 2008 R4.0 GA 버전의 주요 기능만 요약한 PPT 문서 file admin 2011.07.14 15461
15 기타 CUBRID 2008 R3.0 추가기능 file janus 2010.09.03 15455
14 기타 CUBRID 2008 R2.0의 CM변경사항 janus 2009.11.20 17045
13 기타 CUBRID 2008 R2.0 추가 및 변경 기능 소개 janus 2009.08.15 20663
12 기타 CUBRID 2008 1.x 에서 CUBRID 2.0 64bit로 Migration 3 janus 2009.08.15 15860
11 기타 CUBRID 2008 + XE 설치 가이드 [R2.0] Prototype 2009.08.27 16573
10 기타 CUBRID 2008 + XE 설치 가이드 [R1.x] Prototype 2009.03.13 34326
9 Install CUBRID 2008 + Textyle 설치 가이드 3 1 Prototype 2009.07.29 18287
8 기타 CSQL 인터프리터 사용방법 정만영 2016.03.03 16637
7 CCI/DB API CCI-API 에서 OID 사용 예제 file 남재우 2009.07.01 24861
Board Pagination Prev 1 ... 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