How to install OpenMRS on a CentOS 6 VPS

OpenMRS or Open Medical Record System is a Java based collaborative open source project used to create customized medical records system with no programming knowledge. To installOpenMRS on a CentOS VPS follow the very easy steps described below. OpenMRS requires Java 6, Java servlet container such as Apache Tomcat, and an existing database such as MySQL.

Open http://server-ip-address:8080/openmrs and follow the easy instructions: select install language, choose ‘Advanced’ type of installation, enter ‘openmrsdb’ as database name, ‘openmrs’ as MySQL username and the MySQL password for the ‘openmrs’ user defined earlier and finally specify a new password for your administrator user.

If you like to eliminate the 8080 from the URL and open OpenMRS through a regular URL (i.e. reverse proxy OpenMRS web application behind Apache), edit Apache configuration file and add the following lines:

In order to open OpenMRS using http://your-domain.com , change ‘server-ip-address’ with ‘your-domain.com’ in the ProxyPass and ProxyPassReverse directives. Do not forget to restart Apache web server for the changes to take effect:

service httpd restart

That is it. The OpenMRS installation is now complete. Of course you don’t have to do any of this if you use one of our Super-Fast CentOS Hosting services, in which case you can simply ask our expert Linux admins to install OpenMRS for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.