Skip to content

Tool used to create custom operating system images with CouchDB 2.0 for the Raspberry Pi

License

Notifications You must be signed in to change notification settings

mbcolbert/couchdb2.0-pi-gen

 
 

Repository files navigation

pi-gen w/ couchdb2.0

This tool is used to create Raspbian Jessie-Lite images with CouchDB 2.0 pre-installed

Requirements

  • Docker
  • binfmt-support

Build using Docker

./build-docker.sh

If everything goes well, your finished image will be in the deploy/ folder. You can then remove the build container with docker rm pigen_work

If something breaks along the line, you can edit the corresponding scripts, and continue:

CONTINUE=1 ./build-docker.sh

There is a possibility that even when running from a docker container, the installation of qemu-user-static will silently fail when building the image because binfmt-support must be enabled on the underlying kernel. An easy fix is to ensure binfmt-support is installed on the host machine before starting the ./build-docker.sh script (or using your own docker build solution).

Using the image

Once you have the image, burn it onto the SD card that you intend to use with your Raspberry Pi. Follow the directions here: https://www.raspberrypi.org/documentation/installation/installing-images/linux.md

Boot up your Raspberry Pi and you should be able to ssh to it. The user is 'pi' and the password is 'raspberry'.

Since this image is optimized as a headless server, its configured to use the minumum 16MB of system memory for video, maximizing available system memory for your application.

In the future, I may look into configurations that overclock either the SD card slot, the CPU, or more, to come up with something more fully optimized.

Verifying CouchDB

Using a web browser, go to http:https://your-pi-ip-address:5984/_utils to access the CouchDB dashboard. Select the "Verify" menu item and press the "Verify Installation" button.

About

Tool used to create custom operating system images with CouchDB 2.0 for the Raspberry Pi

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%