2011. 1. 20. 15:25
Brain Trainning/NoSQL
우선 가볍게 config 파일을 하나 만들어 줍니다.
내용은 다음과 유사하게
-----------------------------------------------------------
#Start
MongoDB as a daemon on port 27017
port
= 27017 # 포트
fork
= true # 데몬모드
logpath
= /usr/mongodb/log/default.log #로그파일 위치
dbpath
= /usr/mongodb/data/db # DB 파일의 path
rest = true #rest 지원
...................
넣고 싶은 옵션들을 주저리 주저리 넣어줍니다.
-------------------------------------------------------------------------------------------
그리고, mongoDB를 실행해 줍니다.
[root@mongoserver]# mongod --config /mongodb/config/mongo.conf
몽고DB가 깔끔하게 실행됩니다.
'Brain Trainning > NoSQL' 카테고리의 다른 글
[MongoDB] MongoDB Cacti Plugin Templates (0) | 2011.01.21 |
---|---|
[MongoDB] Why MongoDB is Awesome (0) | 2011.01.21 |
[MongoDB] 몽고디비 모니터... 허름하나.. (0) | 2011.01.20 |
[MongoDB] Start Options (0) | 2011.01.18 |
[MongoDB] Mac 용 UI 툴 MongoHub (0) | 2011.01.18 |