While installing Bahmni 0.88 on AWS as mentioned in https://bahmni.atlassian.net/wiki/pages/viewpage.action?pageId=34439320 I faced problems which have been listed here Installing Bahmni on AWS Then I performed following steps to complete the installation successfully on AWS -
-
Select AWS instance that meets hardware requirements specified here – https://bahmni.atlassian.net/wiki/display/BAH/System+Requirements If it is for demo purpose t2.micro may work.
-
Install - UltraServe CentOS 6.8 AMI APPLICATION - 2016.09.2-1 x86_64 HVM GP2 ami-05a3d76a which is listed under Community AMI
-
Make sure that the attached Volume has enough space. If it is demo purpose at least >10Gb.
-
Launch the instance and connect using SSH
-
Creating Swap Space – https://bahmni.atlassian.net/wiki/pages/viewpage.action?pageId=34439320
-
Installing EPEL – Depending on the configuration select appropriate RPM sudo yum install –y ftp://rpmfind.net/linux/centos/6.8/extras/x86_64/Packages/epel-release-6-8.noarch.rpm
-
Installing SCL – Depending on the configuration select appropriate RPMs sudo yum install –y ftp://rpmfind.net/linux/centos/6.8/extras/x86_64/Packages/centos-release-scl-rh-2-3.el6.centos.noarch.rpm sudo yum install –y ftp://rpmfind.net/linux/centos/6.8/extras/x86_64/Packages/centos-release-scl-7-3.el6.centos.noarch.rpm
-
Installing the selected Bahmni command line version from Step 2 mentioned in - https://bahmni.atlassian.net/wiki/display/BAH/Install+Bahmni+on+CentOS
-
Installing MySQL-Python - sudo yum install –y ftp://rpmfind.net/linux/centos/6.8/os/x86_64/Packages/MySQL-python-1.2.3-0.3.c1.1.el6.x86_64.rpm
-
Post installation of Bahmni Command line version, carrying out remaining actions for the selected Bahmni version from Step 2 mentioned in - https://bahmni.atlassian.net/wiki/display/BAH/Install+Bahmni+on+CentOS
-
In case of transaction check error during bahmni-erp installation do yum-complete-transaction --cleanup-only as mentioned in Bahmni Installation Error: The following packages have pending transactions: bahmni-erp-noarch and rerun bahmni -i local install
-
Once the installation is successful allow Inbound HTTP traffic by configuring the appropriate security group attached with the EC2 instance.
-
Perform Step 3 - Access the Application as mentioned in - https://bahmni.atlassian.net/wiki/display/BAH/Install+Bahmni+on+CentOS