비추천이다.
launchpad로 설치된다고 좋다고 설치했는데
오늘 업그레이드 하다가 뻑나서 디비 날라갔다.
테스트용으로만 쓰던거라서 다행이지 뭐라도 돌리고 있었으면 미쳐버렸을 거다.
그냥 평소처럼 아무렇지도 않고 sudo apt-get update, sudo apt-get upgrade 2콤보를 넣었을 뿐인데….
보안패치도 아니고 무슨 릴리즈 업그레이드를 시켜버린 것 같다.
디렉토리도 변경되어 있고 뭐 뿩이 나버렸다.
다음부터 DB는 꼭 수동설치하자… OS그룹에서 제공되는건 괜찮지만 launchpad같은 사후보장이 철저하지 못한 곳에서는 주의를 해야겠다.
테스트용으로 쓰고 말거라면 편리한 설치방법이기는하다. 운영용으로는 절대로 쓰지 말아야 할 방법.
http://www.cubrid.org/launchpad
설치 과정
리포지터리 추가하기
$ sudo add-apt-repository ppa:cubrid/cubrid
$ sudo apt-get update
add-apt-repository가 추가가 안되는 경우 이 방법 사용
$ sudo apt-get install python-software-properties
큐브리드 최신 등록버전 설치하기
$ sudo apt-get install cubrid
데모DB설치 쿼리문 연습할 때 사용하는거?
$ sudo apt-get install cubrid-demodb
cubrid를 php와 연결해서 사용할 때
$ sudo apt-get install php5-cubrid
cubrid 설치경로 설명
/opt/cubrid – all the files related to the cubrid execution that cannot be modified;
/etc/opt/cubrid – all the configuration files;
/var/opt/cubrid – the databases, log files and temporary files;
/etc/profile.d/cubrid.sh – script that sets the PATH variables;
/etc/init.d/cubrid – service used to start CUBRID on runtime;
설치 완료후 재부팅을 해 줘야 classpath가 설정된다.