...
Install the bahmni-installer along with its pre-requisite software using the following commands
sudo
yum
install
-y unzip wget
sudo
yum
install
-y https:
//bintray
.com
/bahmni/rpm/download_file
?file_path=rpms%2Fbahmni-installer-0.82-130.noarch.rpm
Copy the latest endtb-config folder and base database dump (from endtb-config folder) to the location /etc/bahmni-installer/deployment-artifacts
cd
/etc/bahmni-installer/deployment-artifacts
sudo
rm
-rf
/etc/bahmni-installer/deployment-artifacts/endtb_config
sudo
wget https:
//github
.com
/Bahmni/endtb-config/archive/release-0
.82.zip
sudo
unzip release-0.82.zip
sudo
mv
endtb-config-release-0.82 endtb_config
cp
endtb_config
/dbdump/mysql_dump
.sql .
Copy the inventory file from here to /etc/bahmni-installer. Ensure that the previously existing inventory file is updated with the latest one. The setup.yml file is downloaded using the below commands. Once it is downloaded ensure that the timezone field is updated with the actual server timezone.
sudo
wget https:
//raw
.githubusercontent.com
/Bahmni/endtb-config/release-0
.82
/playbooks/examples/inventory
-O
/etc/bahmni-installer/inventory
#Change the timezone parameter in /etc/bahmni-installer/setup.yml after the below step
sudo
wget https:
//raw
.githubusercontent.com
/Bahmni/endtb-config/release-0
.82
/playbooks/examples/setup
.yml -O
/etc/bahmni-installer/setup
.yml
cd
/etc/bahmni-installer
sudo
bahmni -i inventory
install
sudo
bahmni -i inventory
install
-impl
bahmni --implementation_play=/var/www/bahmni_config/playbooks/all.yml -i inventory install-impl
#Run the batch program for the first time
sudo
su
bahmni
/usr/bin/bahmni-batch