Install Bahmni on CentOS


Step 1: Fresh CentOS v7.6

Create a fresh CentOS v7.6. You can read the System Requirements here.

Step 2: Perform the following steps to install the RPMs

Fresh Bahmni Installation

Upgrade Bahmni to Latest Version

 If Bahmni is already installed in the server which is a older version and want to upgrade to latest released version please follow the steps mentioned here. 

Step 3: Access the Application

Bahmni should now be running with sample data on the machine. Please refer to the following section to understand the various URLs on which the application is running.


  • If Bahmni is NOT running on the URLs mentioned below, please check the service mentioned below, and start them (starting with MySQL and Postgres DB services first)
  • Also check if any firewall is blocking access to the ports (selinux, ip4tables, ip6tables)
ApplicationURLCredentials (v0.91)Credentials (v0.92)
Bahmni EMR UIhttp://<machine-ip>/homesuperman/Admin123superman/Admin123
Bahmni Lab (OpenELIS)http://<machine-ip>/openelisadmin/adminADMIN!admin/adminADMIN!
Bahmni ERP (OpenERP/Odoo)http://<machine-ip>:8069


Radiology (Dcm4Chee)http://<machine-ip>/dcm4chee-web3admin/adminadmin/admin
ReportsAccessible from Reports button in EMR UI Dashboard

Bahmni Event Log Servicehttp://<machine-ip>/event-log-service

Bahmni Services

The following are the various services on your machine, related to Bahmni: 

Navigating the File System

Post install, the various sub-systems are installed and accessible in the following locations: 

Figuring out which RPM versions of Bahmni are installed

This is a sample screenshot of the command:

Installing dcm4chee & pacs-integration server for Radiology

Bahmni supports Radiology features that will allow you to view X-Rays and other DICOM images within Bahmni, including the ability to place such orders and make them automatically reach the machine (modality). For making this work, one needs to install dcm4chee (an open source PACS/DICOM server) and bahmni pacs-integration service (that acts as a bridge between Bahmni & dcm4chee). To install these two components perform the following steps:

  1. Bahmni uses Ansible under-the-hood to install components on the Linux server. To enable installation of these two components, edit the local (default) inventory file and add localhost under the following sections (run command as root since this file is owned by root): 

  2.  Now re-run the bahmni install command: "bahmni install" from command line. This will re-trigger bahmni installation, and Ansible will re-check all configurations, ignore most of them (since they are already installed) and will ONLY install the relevant rpms needed for pacs-integration and dcm4chee (including postgres database). 
  3. After the installer has finished running, you should be able to open and see dcm4chee running on url:  (Creds: admin/admin).
  4. Once you have done the above 3 steps and all looks good, you need to perform some additional steps (like configuring Database and setting up an actual machine (or modality) or a Test modality). For that please read this documentation: Radiology and PACS Integration

Securing & Protecting the Bahmni Server