2016년 1월 21일 목요일

MongoDB install on Ubuntu 14.04 LTS

MongoDB install on Ubuntu 14.04 LTS

Install MongoDB

1. Use apt-get install
https://docs.mongodb.org/master/tutorial/install-mongodb-on-ubuntu/?_ga=1.5459123.1233507774.1453343859

I just run
$apt-get install mongodb

If you want to start,
$sudo services mongodb start


2. Use tallball
https://docs.mongodb.org/manual/tutorial/install-mongodb-on-linux/

I started at /home/pineoc

$curl -O https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.2.1.tgz

$ tar -zxvf mongodb-linux-x86_64-3.2.1.tgz

$mkdir -p mongodb
$cp -R -n mongodb-linux-x86_64-3.2.1/ mongodb

$nano ~/.bashrc

add text to .bashrc
****************************************************************
...
...
export PATH=/home/pineoc/mongodb/bin:$PATH

If you want to start,

$mkdir -p /data/db
$mongod

good luck!

댓글 없음:

댓글 쓰기

JIRA Plugin - ScriptRunner 소개 #2

관련 글 소개 #1:  https://pineoc.blogspot.com/2019/03/scriptrunner-1.html ScriptRunner 소개 #2 지난 글에서는 Behaviours를 보았고 다음 내용인 콘솔, 리스너 등을 ...