Last active
August 29, 2015 14:02
-
-
Save mallond/1f33e7ac1183a1658b9b to your computer and use it in GitHub Desktop.
Raspberry Pi - Project MongoDB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RASPBIAN Wheezy | |
RASPBIAN | |
Debian Wheezy | |
Version:January 2014 | |
Release date:2014-01-07 | |
Default login:pi / raspberry | |
URL:raspbian.org | |
Kernel version:3.10 | |
http://www.raspberrypi.org/documentation/installation/installing-images/mac.md | |
[comment: easy to install image see 2 steps below] | |
1. diskutil list | |
2. sudo dd bs=1m if=2014-01-07-wheezy-raspbian.img of=/dev/disk4 | |
RASPBIAN Configuration | |
Network Name | |
piMC01 pi machine 01 | |
piMC02 pi machine 02 | |
piMC03 pi machine 03 | |
SSH enabled | |
Overclock set to 1000MHz 1GHz | |
Limit GPU memory usage 16MG | |
Password: pi/xx007x | |
Network name for pi - two files that need to be modified | |
sudo nano /etc/hostname | |
sudo nano /etc/hosts | |
127.0.1.1 piMC01 | |
Install Node | |
Install Node on the Raspberry Pi in 5 minutes | |
http://joshondesign.com/2013/10/23/noderpi | |
Install MongoDB | |
1. mongod --configsvr | |
2. mongos --configdb | |
3. mongod --shardsvr | |
piMC01 pi machine 01 | |
data/config | |
data/s1 | |
data/r1 | |
data/r2 | |
data/r3 | |
piMC02 pi machine 02 | |
data/config | |
data/s1 | |
data/r1 | |
data/r2 | |
data/r3 | |
piMC03 pi machine 03 | |
data/config | |
data/s1 | |
data/r1 | |
data/r2 | |
data/r3 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment