ocemr_installer is a bootable USB disk image that can setup an OCEMR server appliance system. It installs and configures Debian Squeeze, an appliance app for configuring the server, and the OCEMR application from a created USB installer memory stick.
WARNING: this usb stick will automatically wipe the OS on the machine it runs on. You just have to press enter once! Be careful.
$ vi ocemr.yml
Note: This is the ansible configuration file. See ocemr_ansible for more information.
$ vi src/preseed/ocemr_installer.cfg
Note: Choose one of the three disk configuration options. Make sure only one is uncommented. If none of the three options wirk for your needs, remove the disk-*.cfg from uncommented include line and manually configure the disk when prompted during the install.
$ ./setup_installer.sh <IMAGE_FILE>
Note: this will require sudo installed and authenticated to run. It runs many commands as root.
Check the Wiki for USB Images: https://github.com/ph1l/ocemr_installer/wiki#images
# dd if=<IMAGE_FILE> of=/dev/<USB_DEVICE>
where USB_DEVICE is whatever device name your system has assigned the USB stick. WARNING: be careful during this step, you risk harming your if you pass the wrong argument to dd.
During the entine installation process the server will require an Internet connection to complete successfully.
- Boot a suitable server device from your newly creates USB stick.
- Select the automated installer option from the grub menu.
- the debian installer will run unattended and shut the system down when it's complete with the first phase
- Remove the USB stick and boot the system again
- The system will come online and configure itself
TODO
After the installation is complete, you can login to the server as user: ocemr, with password: admin.
There is a server control panel at http://ServerAddress:5000/ that allows you to configure server and ocemr settings.