2014년 4월 14일 월요일

CUBRID 건들기

apt-get check cubrid

없더라.

인터넷 검색하니

add-apt-repository ppa:cubrid/cubrid
로 추가하면 된단다.

apt-get install python-software-properties 후에

리파지토리 추가, apt-get update 하고

apt-get install cubrid

모지... 다 깔리고 막판에 에러

 Fatal Error: unable to resolve host 76d2ba28-1a17-4fc5-97e9-a5c956bdac55

다시 깔지 모.

apt-get --reinstall cubrid

오잉 똑같은 에러.

흠... 뭔가 좀 찝찝한 기분

apt-get autoremove 로 지우고 다시 정보를 보니

8.4.4 버전이 apt-get에 있다.(4월 14일 현재)

구글링 했을 때는 8.4.0이 보편적.

apt-get install cubrid-8.4.4

하고

cubrid

없다네.

updatedb
locate cubrid

하니

/etc/profile.d/cubrid.sh 

있네.

source /etc/profile.d/cubrid.sh 

하고 cubrid 하니

Please login as cubrid user using ...
어쩌구 에러...

뭐야 이 스크립트

vim으로 열어서 보니

if [ "$CURRENT_USER" == "$CUBRID_USER" ];

구문이 있다. 상단에 변수를

CUBRID_USER="root"

로 바꾸어 주면 root에서 cubrid 명령어 실행가능

root@76d2ba28-1a17-4fc5-97e9-a5c956bdac55:~# cubrid
cubrid utility, version 2008 R4.4
usage: cubrid_app [args]
Type 'cubrid_app ' for help on a specific utility.

Available service's utilities:
    service
    server
    broker
    manager
    heartbeat
    shard

Available administrator's utilities:
    addvoldb
    alterdbhost
    backupdb
    checkdb
    compactdb
    copydb
    createdb
    deletedb
    diagdb
    installdb
    tranlist
    killtran
    loaddb
    lockdb
    optimizedb
    plandump
    renamedb
    restoredb
    spacedb
    unloaddb
    paramdump
    statdump
    changemode
    copylogdb
    applylogdb
    applyinfo


흠... 본체는 cubrid-app이군.

잠와 담에 또 해봐야지.

그나저나 apt-get 지원 저장소가 있어서 좋긴한데 mysql이 훨 편하네.


댓글 없음:

댓글 쓰기

국정원의 댓글 공작을 지탄합니다.

UPBIT is a South Korean company, and people died of suicide cause of coin investment.

 UPBIT is a South Korean company, and people died of suicide cause of coin. The company helps the people who control the market price manipu...