Skip to content

Instantly share code, notes, and snippets.

@djazayeri
Created March 18, 2016 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djazayeri/6bd4426a4501cb096e92 to your computer and use it in GitHub Desktop.
Save djazayeri/6bd4426a4501cb096e92 to your computer and use it in GitHub Desktop.
-- these three lines are in my osx shell
vagrant init bento/centos-6.7
vagrant up
vagrant ssh
-- from here it's in the centos vm
sudo su
yum install https://bahmni-repo.twhosted.com/rpm/bahmni/bahmni-installer-0.80-139.noarch.rpm
yum install unzip
wget https://bahmni-repo.twhosted.com/endtb/release-1.0/mysql_dump.sql
mv mysql_dump.sql /etc/bahmni-installer/deployment-artifacts
wget https://bahmni-repo.twhosted.com/endtb/release-1.0/endtb_config.zip
unzip endtb_config.zip -d /etc/bahmni-installer/deployment-artifacts/
vi /etc/bahmni-installer/inventory
<inventory file>
localhost ansible_connection=local
[bahmni-emr]
localhost
[bahmni-emr-db]
localhost
[bahmni-emr-db-slave]
[bahmni-lab]
[bahmni-lab-db]
[bahmni-lab-db-slave]
[bahmni-erp]
[bahmni-erp-db]
[bahmni-erp-db-slave]
[bahmni-reports]
localhost
[bahmni-pacs]
[dcm4chee]
[bahmni-event-log-service]
[local:children]
bahmni-emr
bahmni-emr-db
bahmni-emr-db-slave
bahmni-lab
bahmni-lab-db
bahmni-lab-db-slave
bahmni-erp
bahmni-erp-db
bahmni-erp-db-slave
bahmni-reports
bahmni-pacs
dcm4chee
bahmni-event-log-service
</inventory file>
vi /etc/bahmni-installer/setup.yml
<setup file>
implementation_name: endtb
bahmni_repo_url: https://bahmni-repo.twhosted.com/rpm/bahmni
</setup file>
bahmni install inventory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment