기본 콘텐츠로 건너뛰기

5월, 2016의 게시물 표시

Install Mongodb on Raspberry Pi (jessie, wheezy)

MongoDB official site has detail install instruction. but there's some difference to follow on Raspberry Pi. Raspberry Pi is based on Debian. so I go with Debian Instruction basically. https://docs.mongodb.com/master/tutorial/install-mongodb-on-debian/#import-the-public-key-used-by-the-package-management-system see briefly 1. Importing the Public Key sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 2. Creating a List File echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list and if you need do  sudo apt-get update 3. Installing and Verifying MongoDB sudo apt-get install -y mongodb 4. Run if use wheezy version Raspbian sudo service mongod start if usejessie version Raspbian sudo systemctl start mongodb