1124d3b10e76e7860b16bcae4178ba3cb0f70bde
Henry POC
Written in Java for Intel Edison Board
Edison Configuration
After configuring the Intel Edison via the config utility, software should be installed:
SD Card Configuration
The Mongo DB will be stored on the SD card. This will ensure that the OS partition does not fill up. Insert an SD Card formatted to FAT32 into the SD card slot.
mkdir /media/sdcard/db
mkdir /data
ln -s /media/sdcard/db /data/db
Mongo DB
We'll be installing version 2.6.12 since it's the last version to support 32-bit OS.
cd ~
wget https://fastdl.mongodb.org/linux/mongodb-linux-i686-2.6.12.tgz
mkdir ~/bin
cd ~/bin
tar -xvzf ../mongodb-linux-i686-2.6.12.tgz
Create a systemd script at /etc/systemd/system/mongod.service with the contents:
[Unit]
Description=Mongo is a scalable, document-oriented database.
After=syslog.target network.target
[Service]
ExecStart=/home/root/bin/mongodb-linux-i686-2.6.12/bin/mongod --journal
[Install]
WantedBy=multi-user.target
Enable the systemd script with:
systemctl enable mongod.service
Description
Languages
Java
99.9%