SlideShare a Scribd company logo
1 of 9
Saptarshi Purkayastha, PhD
Assistant Professor of Health Informatics
Indiana University – Purdue University Indianapolis
July 25th, 2016 – Medellin, Colombia
OpenMRS Installation
1. OpenMRS Standalone - OpenMRS Standalone provides a
simplified, all-inclusive installation option with both an
server. You can have a local copy of OpenMRS running within
download and expand the archive, and then run the extracted
file. Your browser will open a new instance of the OpenMRS
username is "admin" and the default password is "Admin123".
2. OpenMRS Platform - Recommended for advanced users using
OpenMRS 2.x or Platform in production. Requires an existing
such as Apache Tomcat, and an existing database such as
3. OpenMRS Reference application – The reference application
download is a zip archive which includes the platform war
OpenMRS addon
(omod files).
Choosing which OpenMRS to install
1. Web browser – Since the OpenMRS reference application is a
web application, you will need a web browser to install and use
Firefox or Chrome are the recommended the browsers.
2. Java is the platform on which OpenMRS has been programmed.
OpenMRS platform since v2.0 requires Java 8. The reference
run on Java 7 since they use the Platform 1.x line. Later releases
v2.0 will require Java 8. Due to backwards compatibility, Java 8
versions of OpenMRS too.
3. MySQL 5.6 is recommended as the database management
system (DBMS). Due to the use of Hibernate (a database
OpenMRS is also supposed to work with MariaDB (a MySQL
MS SQL server. But these other DBMS have not been tested to
reference application.
4. Apache Tomcat – a Java servlet container to run web
applications. OpenMRS has been deployed on Jboss and
the reference application has not been tested to work on these
servers.
Install dependencies
• OpenMRS works on Sun/Oracle Java or OpenJDK. It has not been tested with other
Java virtual machines such as JRockit or IBM J9
• Java installation instructions can be found here:
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
• The webupd8 has a popular ppa that is used in Ubuntu. See here:
http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
• Once Java 7 is installed, configure the JAVA_OPTS environment variable to allocate
adequate heap memory as well as PermSize variable.
JAVA_OPTS="-Xms512m –Xmx1024m –XX:MaxPermSize=256m" (Sets the heap min size and max size)
• In linux, set this in /etc/environment or .bashrc file
• In Windows, control panel  System  Advanced system settings  Environment
variables  New (under user variables)  variable name: JAVA_OPTS and value
provided above
Java Download and installation
• The OpenMRS reference application downloads can be found here:
http://openmrs.org/download/
• Choose the OpenMRS Standalone download for now.
https://sourceforge.net/projects/openmrs/files/releases/OpenMRS_2.3.1/openmrs-standalone-2.3.1.zip/download
• In this tutorial we will also show you provide you information for more advanced
installation. You can use this for extending OpenMRS tutorial.
• After the above download completes, please extract all files. Here you will see openmrs-
standalone.jar. If you double-click on this, it should start Java and start deploying
and start deploying OpenMRS. The browser will open once OpenMRS is ready to be
used
OpenMRS download
Starting OpenMRS standalone
You will see a screen
once you start the
standalone
Choose the
Demonstration mode,
because we want demo
data and the starter
dictionary that is part of
the reference
application.
Allow ports to communicate with
MySQL
The 2.x standalone uses Tomcat on port
8081 and MySQL on port 3316. These
are not the default ports of Tomcat and
MySQL deliberately, so that there is no
conflict with existing installations
You can run the standalone side-by-side
with the platform or more advanced
installation by using the individual
components, as shown in the slides later.
OpenMRS Standalone configuration
options
Tomcat Port This is the port at which to run Tomcat
MySQL Port This is the port at which to run MySQL
File → Quit This stops Tomcat and MySQL and then closes the
File → Launch Browser This opens the OpenMRS login page for the current web
File → Clear Output This clears the output log in the user interface text area,
log file written on the file system
Start
This button runs Tomcat, which will automatically start the
engine if it was not already running. For the embedded
connection automatically starts the MySQL engine
Stop This button stops Tomcat and then also stops the MySQL
without closing the application
OpenMRS Starts with Login
• Browser should start with OpenMRS 2.x login page.
• If there is any error, you will see a different screen along with the
error message. The error message is also known as Exception.
Remember to report error messages with the error log (the box
which showed OpenMRS starting).
• Username: admin
• Password: Admin123
• Remember that a
Location must be
Selected or else the
Login button will not be
activated

More Related Content

What's hot

What's hot (10)

Native tables in NonStop SQL database
Native tables in NonStop SQL databaseNative tables in NonStop SQL database
Native tables in NonStop SQL database
 
DbVisualizer for NonStop SQL
DbVisualizer for NonStop SQLDbVisualizer for NonStop SQL
DbVisualizer for NonStop SQL
 
Understanding NonStop SQLMX SDA and its impact on performance
Understanding NonStop SQLMX SDA and its impact on performanceUnderstanding NonStop SQLMX SDA and its impact on performance
Understanding NonStop SQLMX SDA and its impact on performance
 
Struts2 tutorial
Struts2 tutorialStruts2 tutorial
Struts2 tutorial
 
Mule security - saml
Mule  security - samlMule  security - saml
Mule security - saml
 
Mule exception strategies - Choice Exception Strategy
Mule exception strategies - Choice Exception StrategyMule exception strategies - Choice Exception Strategy
Mule exception strategies - Choice Exception Strategy
 
Usage Note of Microsoft Dependency Walker
Usage Note of Microsoft Dependency WalkerUsage Note of Microsoft Dependency Walker
Usage Note of Microsoft Dependency Walker
 
Ch04
Ch04Ch04
Ch04
 
Mysqlppt3510
Mysqlppt3510Mysqlppt3510
Mysqlppt3510
 
Mysql tutorial 5257
Mysql tutorial 5257Mysql tutorial 5257
Mysql tutorial 5257
 

Viewers also liked (9)

Taller patricia ordoñez_hit_workshop_2016
Taller patricia ordoñez_hit_workshop_2016Taller patricia ordoñez_hit_workshop_2016
Taller patricia ordoñez_hit_workshop_2016
 
Conferencia felipe mejia_hit_workshop_2016
Conferencia felipe mejia_hit_workshop_2016Conferencia felipe mejia_hit_workshop_2016
Conferencia felipe mejia_hit_workshop_2016
 
Conferencia saptarshi purkayastha_hit_workshop_2016
Conferencia saptarshi purkayastha_hit_workshop_2016Conferencia saptarshi purkayastha_hit_workshop_2016
Conferencia saptarshi purkayastha_hit_workshop_2016
 
Conferencia patricia ordoñez_hit_workshop_2016
Conferencia patricia ordoñez_hit_workshop_2016Conferencia patricia ordoñez_hit_workshop_2016
Conferencia patricia ordoñez_hit_workshop_2016
 
Resumenes hit workshop_2016
Resumenes hit workshop_2016Resumenes hit workshop_2016
Resumenes hit workshop_2016
 
Conferencia jorge ivan_lopez_hit_workshop_2016
Conferencia jorge ivan_lopez_hit_workshop_2016Conferencia jorge ivan_lopez_hit_workshop_2016
Conferencia jorge ivan_lopez_hit_workshop_2016
 
Conferencia diego perez_hit_workshop_2016
Conferencia diego perez_hit_workshop_2016Conferencia diego perez_hit_workshop_2016
Conferencia diego perez_hit_workshop_2016
 
Taller rodrigo ochoa_hit_workshop_2016
Taller rodrigo ochoa_hit_workshop_2016Taller rodrigo ochoa_hit_workshop_2016
Taller rodrigo ochoa_hit_workshop_2016
 
Conferencia jose fernando_florez_hit_workshop_2016
Conferencia jose fernando_florez_hit_workshop_2016Conferencia jose fernando_florez_hit_workshop_2016
Conferencia jose fernando_florez_hit_workshop_2016
 

Similar to Taller saptarshi purkayastha_hit_workshop_2016

Apache Tomcat 8 Application Server
Apache Tomcat 8 Application ServerApache Tomcat 8 Application Server
Apache Tomcat 8 Application Server
mohamedmoharam
 
Integrating open am with liferay portal
Integrating open am with liferay portalIntegrating open am with liferay portal
Integrating open am with liferay portal
prabakaranbrick
 
Integrating tomcat with apache
Integrating tomcat with apacheIntegrating tomcat with apache
Integrating tomcat with apache
govindraj8787
 
MySQL and memcached Guide
MySQL and memcached GuideMySQL and memcached Guide
MySQL and memcached Guide
webhostingguy
 
Integrating Apache Web Server with Tomcat Application Server
Integrating Apache Web Server with Tomcat Application ServerIntegrating Apache Web Server with Tomcat Application Server
Integrating Apache Web Server with Tomcat Application Server
webhostingguy
 
Integrating Apache Web Server with Tomcat Application Server
Integrating Apache Web Server with Tomcat Application ServerIntegrating Apache Web Server with Tomcat Application Server
Integrating Apache Web Server with Tomcat Application Server
webhostingguy
 

Similar to Taller saptarshi purkayastha_hit_workshop_2016 (20)

Apache Tomcat 8 Application Server
Apache Tomcat 8 Application ServerApache Tomcat 8 Application Server
Apache Tomcat 8 Application Server
 
OpenCmsDays 2013 - Using OpenCms 9 folders as a network drive
OpenCmsDays 2013 - Using OpenCms 9 folders as a network driveOpenCmsDays 2013 - Using OpenCms 9 folders as a network drive
OpenCmsDays 2013 - Using OpenCms 9 folders as a network drive
 
JAVA INTRODUCTION
JAVA INTRODUCTIONJAVA INTRODUCTION
JAVA INTRODUCTION
 
JAVA INTRODUCTION
JAVA INTRODUCTIONJAVA INTRODUCTION
JAVA INTRODUCTION
 
Piattaforma Web Linux completa dai sorgenti
Piattaforma Web Linux completa dai sorgentiPiattaforma Web Linux completa dai sorgenti
Piattaforma Web Linux completa dai sorgenti
 
Jakarta struts
Jakarta strutsJakarta struts
Jakarta struts
 
Mc sl54 051_ (1)
Mc sl54 051_ (1)Mc sl54 051_ (1)
Mc sl54 051_ (1)
 
Integrating open am with liferay portal
Integrating open am with liferay portalIntegrating open am with liferay portal
Integrating open am with liferay portal
 
Integrating tomcat with apache
Integrating tomcat with apacheIntegrating tomcat with apache
Integrating tomcat with apache
 
MySQL and memcached Guide
MySQL and memcached GuideMySQL and memcached Guide
MySQL and memcached Guide
 
Wissbi osdc pdf
Wissbi osdc pdfWissbi osdc pdf
Wissbi osdc pdf
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
 
Tomcat
TomcatTomcat
Tomcat
 
Mysql ppt
Mysql pptMysql ppt
Mysql ppt
 
Tomcat tutorail
Tomcat tutorailTomcat tutorail
Tomcat tutorail
 
OpenNMS - My Notes
OpenNMS - My NotesOpenNMS - My Notes
OpenNMS - My Notes
 
Tumbleweed intro
Tumbleweed introTumbleweed intro
Tumbleweed intro
 
Node JS - A brief overview on building real-time web applications
Node JS - A brief overview on building real-time web applicationsNode JS - A brief overview on building real-time web applications
Node JS - A brief overview on building real-time web applications
 
Integrating Apache Web Server with Tomcat Application Server
Integrating Apache Web Server with Tomcat Application ServerIntegrating Apache Web Server with Tomcat Application Server
Integrating Apache Web Server with Tomcat Application Server
 
Integrating Apache Web Server with Tomcat Application Server
Integrating Apache Web Server with Tomcat Application ServerIntegrating Apache Web Server with Tomcat Application Server
Integrating Apache Web Server with Tomcat Application Server
 

Recently uploaded

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Krashi Coaching
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Recently uploaded (20)

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 

Taller saptarshi purkayastha_hit_workshop_2016

  • 1. Saptarshi Purkayastha, PhD Assistant Professor of Health Informatics Indiana University – Purdue University Indianapolis July 25th, 2016 – Medellin, Colombia OpenMRS Installation
  • 2. 1. OpenMRS Standalone - OpenMRS Standalone provides a simplified, all-inclusive installation option with both an server. You can have a local copy of OpenMRS running within download and expand the archive, and then run the extracted file. Your browser will open a new instance of the OpenMRS username is "admin" and the default password is "Admin123". 2. OpenMRS Platform - Recommended for advanced users using OpenMRS 2.x or Platform in production. Requires an existing such as Apache Tomcat, and an existing database such as 3. OpenMRS Reference application – The reference application download is a zip archive which includes the platform war OpenMRS addon (omod files). Choosing which OpenMRS to install
  • 3. 1. Web browser – Since the OpenMRS reference application is a web application, you will need a web browser to install and use Firefox or Chrome are the recommended the browsers. 2. Java is the platform on which OpenMRS has been programmed. OpenMRS platform since v2.0 requires Java 8. The reference run on Java 7 since they use the Platform 1.x line. Later releases v2.0 will require Java 8. Due to backwards compatibility, Java 8 versions of OpenMRS too. 3. MySQL 5.6 is recommended as the database management system (DBMS). Due to the use of Hibernate (a database OpenMRS is also supposed to work with MariaDB (a MySQL MS SQL server. But these other DBMS have not been tested to reference application. 4. Apache Tomcat – a Java servlet container to run web applications. OpenMRS has been deployed on Jboss and the reference application has not been tested to work on these servers. Install dependencies
  • 4. • OpenMRS works on Sun/Oracle Java or OpenJDK. It has not been tested with other Java virtual machines such as JRockit or IBM J9 • Java installation instructions can be found here: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html • The webupd8 has a popular ppa that is used in Ubuntu. See here: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html • Once Java 7 is installed, configure the JAVA_OPTS environment variable to allocate adequate heap memory as well as PermSize variable. JAVA_OPTS="-Xms512m –Xmx1024m –XX:MaxPermSize=256m" (Sets the heap min size and max size) • In linux, set this in /etc/environment or .bashrc file • In Windows, control panel  System  Advanced system settings  Environment variables  New (under user variables)  variable name: JAVA_OPTS and value provided above Java Download and installation
  • 5. • The OpenMRS reference application downloads can be found here: http://openmrs.org/download/ • Choose the OpenMRS Standalone download for now. https://sourceforge.net/projects/openmrs/files/releases/OpenMRS_2.3.1/openmrs-standalone-2.3.1.zip/download • In this tutorial we will also show you provide you information for more advanced installation. You can use this for extending OpenMRS tutorial. • After the above download completes, please extract all files. Here you will see openmrs- standalone.jar. If you double-click on this, it should start Java and start deploying and start deploying OpenMRS. The browser will open once OpenMRS is ready to be used OpenMRS download
  • 6. Starting OpenMRS standalone You will see a screen once you start the standalone Choose the Demonstration mode, because we want demo data and the starter dictionary that is part of the reference application.
  • 7. Allow ports to communicate with MySQL The 2.x standalone uses Tomcat on port 8081 and MySQL on port 3316. These are not the default ports of Tomcat and MySQL deliberately, so that there is no conflict with existing installations You can run the standalone side-by-side with the platform or more advanced installation by using the individual components, as shown in the slides later.
  • 8. OpenMRS Standalone configuration options Tomcat Port This is the port at which to run Tomcat MySQL Port This is the port at which to run MySQL File → Quit This stops Tomcat and MySQL and then closes the File → Launch Browser This opens the OpenMRS login page for the current web File → Clear Output This clears the output log in the user interface text area, log file written on the file system Start This button runs Tomcat, which will automatically start the engine if it was not already running. For the embedded connection automatically starts the MySQL engine Stop This button stops Tomcat and then also stops the MySQL without closing the application
  • 9. OpenMRS Starts with Login • Browser should start with OpenMRS 2.x login page. • If there is any error, you will see a different screen along with the error message. The error message is also known as Exception. Remember to report error messages with the error log (the box which showed OpenMRS starting). • Username: admin • Password: Admin123 • Remember that a Location must be Selected or else the Login button will not be activated