데이터베이스 분류
큐브리드 linux에서의 설치
작성자 정보
- 웹관리자 작성
- 작성일
컨텐츠 정보
- 7,509 조회
- 0 추천
- 목록
본문
| ||||||
1. 설치 시 확인 사항 | ||||||
Linux 버전의 CUBRID 데이터베이스를 설치하기 전에 다음 사항을 점검한다. | ||||||
| ||||||
2. CUBRID 설치 | ||||||
설치 프로그램은 바이너리 셸로 되어 있어 자동으로 설치할 수 있다. 설치를 진행하려면 다운로드한 설치 파일을 바이너리 모드로 Linux 서버의 FTP로 전송한다. | ||||||
![]() | ||||||
$ sh CUBRID-8.1.3.1020-linux.sh Do you agree to the above license terms? [yes or no] : yes Do you want to install this software to the default(/home1/daniel/CUBRID) directory? [yes or no] : yes 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.3 servers are only compatible with the CUBRID 2008 R1.3 clients and vice versa. Do you want to continue? (yes or no) [Default: yes] : yes CUBRID has been successfully installed. demodb has been successfully created. If you want to use CUBRID, run the following commands % . /home1/daniel/.cubrid.sh % cubrid service start | ||||||
위의 예제와 같이 다운로드한 파일(CUBRID-8.1.3.1020-linux.sh)을 설치한 후, CUBRID 데이터베이스를 사용하기 위해서는 CUBRID 관련 환경 정보를 설정해야 한다. 이 설정은 해당 터미널에 로그인할 때 자동 설정되도록 지정되어 있으므로 설치 후 최초 한 번만 수행하면 된다. | ||||||
$ . /home1/daniel/.cubrid.sh | ||||||
이제 CUBRID 매니저에 접속할 수 있다. JDBC와 같은 드라이버에서 접속하려면 CUBRID 매니저 서버와 브로커를 구동시켜야 한다. | ||||||
![]() | ||||||
$ cubrid service start | ||||||
cubrid service를 구동시킨 후 정상적으로 구동되었는지 확인하려면 다음과 같이 grep으로 cub_* 프로세스들이 구동되어 있는지를 확인한다. | ||||||
$ 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 | ||||||
※ 참고 : RPM으로 설치할 때에는 의존성을 꼭 확인해야 한다. 의존성을 무시(--nodeps)하고 설치하면 실행되지 않을 수 있다. | ||||||
"무단배포금지: 클라우드포털(www.linux.co.kr)의 모든 강좌는 저작권에 의해 보호되는 콘텐츠입니다. 무단으로 복제하여 배포하는 행위는 금지되어 있습니다."
관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.