Last active
March 24, 2016 13:31
Script for installing OHIE Datim Node
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
#!/bin/sh | |
# This script will install the OpenHIE Datim Node distro. It is suggested to run this only on | |
# a clean Ubuntu 14.04 64-bit system. | |
# Add required ppas. Note: these will change for the official release. | |
sudo add-apt-repository -y ppa:webupd8team/java | |
sudo add-apt-repository -y ppa:openhie/datim | |
sudo apt-get update | |
# Set prompts to preconfigured answers in debconf. | |
echo openhim-console openhim-console/selecthost string 127.0.0.1 | sudo debconf-set-selections | |
echo openhim-console openhim-console/selectport string 5008 | sudo debconf-set-selections | |
echo openinfoman openinfoman/memsize string 4g | sudo debconf-set-selections | |
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 boolean true | sudo debconf-set-selections | |
# Install the ohie-datim-node package and suppress prompts | |
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install ohie-datim-node oracle-java8-installer | |
# Run config script | |
sudo datim-config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment