Adds ability to view configuration

This commit is contained in:
Patrick McDonagh
2017-02-27 16:27:05 -06:00
parent ab2bec692d
commit 1124d3b10e
12 changed files with 951 additions and 201 deletions

44
README.md Normal file
View File

@@ -0,0 +1,44 @@
# 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
```