Background Image
Install
2011.03.08 00:42

CUBRID 설치 안내 - LINUX

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

단축키

Prev이전 문서

Next다음 문서

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

대상 : CUBRID2008 R3.0 이상 (R1.x, R2.x 에서도 차이는 없으며, 문서가 R3.0을 기반으로 만들어 졌습니다.)


본 문서는 LINUX 환경에서 CUBRID 설치 방법에 대하여 정리하였습니다. 설치 과정 자체에 특별히 어려운 점은 없으며, 누구라도 손쉽게 설치할 수 있습니다. 


설치환경


CUBRID 설치는 root 가 아닌 일반 계정을 통한 설치를 권장합니다. CUBRID 운영중 root 권한을 필요로 하는 부분이 없기 때문이며, root 는 시스템 관리만을 위한 목적으로 사용되는 것이 좋으므로 구지 root 로 설치할 필요가 없기 때문입니다. 따라서 본 문서에서는 cubrid 라는 계정에 설치하는 것으로 설명을 드립니다.


    · 필요 공간 : 최소 200M, 권장 2G 이상 (기본 설치 및 최소 운영을 위한 공간이며, 추후 로그 저장 등을 위하여 더 많은 공간이 필요합니다)


설치준비 - 사용자 계정 생성


일반 계정에 설치를 하기 위해 사용자 계정을 생성합니다.  이미 계정을 가지고 있다면 이 단계는 건너 뛰어도 무방합니다.

사용자 생성은 root 에서 가능하므로 root 권한에서 수행합니다. 사용자 생성은 useradd 라는 명령을 이용하며 보다 자세한 내용은 해당 매뉴얼 등을 참조하시기 바랍니다.

여기서는 /home/cubrid 을 사용자 디렉토리로 생성합니다.

% useradd -d /home/cubrid cubrid

   

다음으로 cubrid 사용자의 암호를 생성합니다.

% passwd cubrid


설치


설치를 위해 제품을 다운로드 합니다. 제품 다운로드는 본 홈페이지 다운로드 페이지를 통해 다운로드 받으시면 됩니다. 사용하시는 linux 의 bit 수에 맞는 것을 다운로드 하시면 됩니다. bit 수는 uname -a 를 수행한 후 결과에 64 가 있으면 64bit 이고, 그렇지 않으면 32bit 입니다. 다운로드는 설치의 편의를 위해 확장자가 .sh 인 것을 다운로드 합니다.

다운로드가 완료되면 다운로드 받은 화일을 서버에 ftp등을 이용하여 올려줍니다. 주의할 것은 반드시 binary 모드로 올려주셔야 합니다. 일부 ftp 프로그램이 자동모드로 upload 시 ascii 모드로 upload 하여 화일이 손상되는 경우가 있습니다.

올려받은 화일을 sh 명령을 이용하여 수행합니다.

% sh  CUBRID-8.3.0.0337-linux.x86_64.sh


오픈 소스 라이선스에 대한 내용을 보여줍니다. 내용을 읽어보셔도 좋고, 그렇지 않으면 "q"를 입력합니다.

Copyright (C) 2008-2010 Search Solution Corporation. All rights reserved.
CUBRID is registered trademark of Search Solution Corporation.

This Software is released under GNU GPL v2 or BSD according to its components.
For more information, please refer to the CUBRID home page(http://www.cubrid.com).

--------------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without modification, are permitted provided that  the following conditions are met:
 - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
 - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
 - Neither the name of Search Solution Coporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------

The GNU General Public License (GPL)
Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

Preamble

The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Soft
--More--


오픈 소스 라이선스에 동의하는지에 대하여 물어옵니다. "yes"를 입력하시면 됩니다.

Do you agree to the above license terms? (yes or no) : yes


설치 위치를 물어옵니다. 기본 위치에 설치하여도 무방하므로 그냥 선택합니다.

Do you want to install this software(CUBRID) to the default(/home/jwnam/CUBRID) directory? (yes or no) [default: yes] :


CUBRID는 현재 성능 및 기능 개선을 지속적으로 진행하고 있읍니다. 이 과정에서 부득이하게 버젼간의 호환성 문제가 발생하여 기본적으로 동일한 버젼을 사용할 것을 권장하고 있습니다. CUBRID 용 각종 driver 와 CUBRID Manager client 와 CUBRID server 가 버젼이 동일해야 정상적인 동작을 할 수 있습니다. 관련 내용을 보여주고 있으며, 엔터키를 입력합니다.

In case a different version of the CUBRID product is being used in other machines, please note that the CUBRID 2008 R3.0 servers are only compatible with the CUBRID 2008 R3.0 clients and vice versa.
Do you want to continue? (yes or no) [default: yes] :


정상적으로 설치가 완료되고, 처음 사용자를 위하여 질의 수행을 해 볼 수 있는 실습용 데이터베이스(demodb)를 만들어 줍니다.

CUBRID has been successfully installed.

demodb has been successfully created.

If you want to use CUBRID, run the following commands
  % . /home/jwnam/.cubrid.sh
  % cubrid service start


데이터베이스 사용을 위하여 현 사용자 계정으로 다시 로그인 한 후 CUBRID 서비스를 구동(cubrid service start)하면 CUBRID 를 정상적으로 사용할 수 있습니다.

%  cubrid service start
@ cubrid master start
++ cubrid master start: success
@ cubrid broker start
++ cubrid broker start: success
@ cubrid manager server start
++ cubrid manager server start: success


기타


설치후 다음 사항을 참고하시어 보안 설정 및 데이터베이스 생성을 하시면 됩니다.

SELINUX 설정

방화벽 설정

데이터베이스 생성


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
19 Install [linux] wget으로 제품 다운로드 시 "wget: unable to resolve host address ‘ftp.cubrid.org’" 해결방 큐브리드_김주현 2021.07.02 2182
18 Install CUBRID기반으로 XE 운영하기 – 설치가이드 file cubebridge 2012.04.13 30929
17 Install LINUX CUBRID 4.0 매니저 설치방법 file 정만영 2011.07.19 23653
16 Install CUBRID Ubuntu Launchpad Installation 방법 file 정만영 2011.07.19 29604
15 Install CUBRID Windows버전 삭제 및 재설치 실패시 강제 삭제하는 방법입니다. admin 2011.07.14 29547
» Install CUBRID 설치 안내 - LINUX 남재우 2011.03.08 30412
13 Install CUBRID2008 R2.1 업그레이드시 serial 관련 문제 해결 방법 남재우 2010.01.28 27347
12 Install CUBRID 에 텍스트큐브 설치하기 file inureyes 2009.12.31 29852
11 Install CUBRID R2.0 ISV(Independent Software Vendor)설치방법 file cubebridge 2009.11.20 27920
10 Install CUBRID 설치 및 매니저 구동하기(CUBRID 2008 R2.0) CUBRID_DEV 2009.08.18 30039
9 Install CUBRID 2008 + Textyle 설치 가이드 3 1 Prototype 2009.07.29 18283
8 Install CUBRID 설치 및 매니저 구동하기(CUBRID 2008 R1.x) CUBRID_DEV 2009.07.18 31530
7 Install CUBRID Manager 사용시 로그인에 대하여 1 file admin 2009.04.01 42038
6 Install AutoSet 4.3.2를 이용한 APACHE+PHP+CUBRID 2008 설치 가이드 seongjoon 2009.03.13 38974
5 Install APC_Install-tools 구성 및 설치 방법 file Prototype 2009.03.13 30613
4 Install Windows 에서 CUBRID 설치하기 file 남재우 2008.11.22 43641
3 Install UNIX/LINUX 에서 CUBRID 설치하기 남재우 2008.11.22 37518
2 Install CUBRID6.6 이상에서 CUBRID2008 로 데이터베이스 이전 하기 3 남재우 2008.11.21 26444
1 Install CUBRID 2008 을 하나의 머신에 여러번 설치하기(multi instance) admin 2008.11.21 31459
Board Pagination Prev 1 Next
/ 1

Contact Cubrid

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