{"id":1712,"date":"2022-04-15T12:30:00","date_gmt":"2022-04-15T17:30:00","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=1712"},"modified":"2023-08-29T10:49:11","modified_gmt":"2023-08-29T15:49:11","slug":"how-to-install-openmrs-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/","title":{"rendered":"How to Install OpenMRS on Ubuntu 20.04"},"content":{"rendered":"\n<p>OpenMRS is a free and open-source project to develop software for delivering health care in developing countries. It is an enterprise electronic medical record system framework that allows the exchange of patient data with other medical information systems. It is written in Java and provides a web interface to manage electronic medical records.<\/p>\n\n\n\n<p>In this post, we will show you how to install <a href=\"https:\/\/www.linuxcloudvps.com\/ubuntu-cloud-vps.html\">OpenMRS on Ubuntu 20.04<\/a>.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A Ubuntu 20.04 VPS with root access enabled or a user with sudo privileges.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Log in via SSH and Update your System<\/h2>\n\n\n\n<p>First, you will need to log in to your Ubuntu 20.04 VPS via SSH as the root user:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh root@IP_ADDRESS -p PORT_NUMBER<\/pre>\n\n\n\n<p>Next, run the following commands to upgrade all installed packages on your VPS:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get update -y<\/pre>\n\n\n\n<p>Once all the packages are updated, restart your system to apply the changes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install Java 8<\/h2>\n\n\n\n<p>OpenMRS is a Java-based application and only supports Java version 8. So you will need to install Java 8 on your server. You can install it by running the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get install openjdk-8-jdk -y<\/pre>\n\n\n\n<p>Once Java is installed, verify the Java version using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">java -version<\/pre>\n\n\n\n<p>You will get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">openjdk version \"1.8.0_312\"\nOpenJDK Runtime Environment (build 1.8.0_312-8u312-b07-0ubuntu1~20.04-b07)\nOpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Install MySQL Server 5.6<\/h2>\n\n\n\n<p>OpenMRS only supports MySQL version 5.6. By default, MySQL 5.6 is not available in the Ubuntu 20.04 default repository. So you will need to install it from the source.<\/p>\n\n\n\n<p>First, create a user and group for MySQL using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">groupadd mysql\nuseradd -g mysql mysql<\/pre>\n\n\n\n<p>Next, download MySQL 5.6 source with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget https:\/\/dev.mysql.com\/get\/Downloads\/MySQL-5.6\/mysql-5.6.46-linux-glibc2.12-x86_64.tar.gz<\/pre>\n\n\n\n<p>Once the MySQL is downloaded, extract it with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tar -xvf mysql-5.6.46-linux-glibc2.12-x86_64.tar.gz<\/pre>\n\n\n\n<p>Next, move the extracted directory to \/usr\/local with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mv mysql-5.6.46-linux-glibc2.12-x86_64 \/usr\/local\/mysql<\/pre>\n\n\n\n<p>Next, navigate to the \/usr\/local directory and set proper ownership with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/usr\/local\/mysql\nchown -R mysql:mysql *<\/pre>\n\n\n\n<p>Next, install the required dependencies using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get install libaio1 libncurses5 libnuma-dev -y<\/pre>\n\n\n\n<p>Next, install MySQL with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">scripts\/mysql_install_db --user=mysql<\/pre>\n\n\n\n<p>Next, set proper ownership to MySQL directory and data directory:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">chown -R root .\nchown -R mysql data<\/pre>\n\n\n\n<p>Next, copy the MySQL configuration file and service file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cp support-files\/my-default.cnf \/etc\/my.cnf\ncp support-files\/mysql.server \/etc\/init.d\/mysql.server<\/pre>\n\n\n\n<p>Next, start the MySQL service in safe mode:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bin\/mysqld_safe --user=mysql &amp;<\/pre>\n\n\n\n<p>Next, set the MySQL root password with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bin\/mysqladmin -u root password newpassword<\/pre>\n\n\n\n<p>Next, create a link of the MySQL binary:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ln -s \/usr\/local\/mysql\/bin\/mysql \/usr\/local\/bin\/mysql<\/pre>\n\n\n\n<p>Finally, restart your server with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">reboot<\/pre>\n\n\n\n<p>After the reboot, start the MySQL service and enable it to start at system reboot:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/etc\/init.d\/mysql.server start\nupdate-rc.d -f mysql.server defaults<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Install Tomcat 7<\/h2>\n\n\n\n<p>First, create a user and group for Tomcat with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">groupadd tomcat\nuseradd -s \/bin\/false -g tomcat -d \/opt\/tomcat tomcat<\/pre>\n\n\n\n<p>Next, download the Tomcat 7 with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget https:\/\/archive.apache.org\/dist\/tomcat\/tomcat-7\/v7.0.109\/bin\/apache-tomcat-7.0.109.tar.gz <\/pre>\n\n\n\n<p>Next, create a directory for Tomcat and extract the downloaded file to \/opt\/tomcat directory:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mkdir \/opt\/tomcat\ntar -xvzf apache-tomcat-7.0.109.tar.gz -C \/opt\/tomcat\/ --strip-components=1<\/pre>\n\n\n\n<p>Next, navigate to the \/opt\/tomcat directory and set proper permission and ownership:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/opt\/tomcat\nchgrp -R tomcat \/opt\/tomcat\nchmod -R g+r conf\nchmod g+x conf\nchown -R tomcat webapps\/ work\/ temp\/ logs\/<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Create a Systemd Service File for Tomcat<\/h2>\n\n\n\n<p>Next, you will need to create a systemd service file to manage the Tomcat service. You can create it with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">nano \/etc\/systemd\/system\/tomcat.service<\/pre>\n\n\n\n<p>Add the following lines:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[Unit]\nDescription=Apache Tomcat Web Application Container\nAfter=network.target\n[Service]\nType=forking\nEnvironment=JAVA_HOME=\/usr\/lib\/jvm\/java-1.8.0-openjdk-amd64\nEnvironment=CATALINA_PID=\/opt\/tomcat\/temp\/tomcat.pid\nEnvironment=CATALINA_HOME=\/opt\/tomcat\nEnvironment=CATALINA_BASE=\/opt\/tomcat\nEnvironment=\u2019CATALINA_OPTS=-Xms512M -Xmx1024M -server -XX:+UseParallelGC\u2019\nExecStart=\/opt\/tomcat\/bin\/startup.sh\nExecStop=\/opt\/tomcat\/bin\/shutdown.sh\nUser=tomcat\nGroup=tomcat\nUMask=0007\nRestartSec=10\nRestart=always\n[Install]\nWantedBy=multi-user.target\n<\/pre>\n\n\n\n<p>Save and close the file then reload the systemd daemon to apply the changes:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl daemon-reload<\/pre>\n\n\n\n<p>Next, start the Tomcat service with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl start tomcat<\/pre>\n\n\n\n<p>You can now check the status of the Tomcat service with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl status tomcat<\/pre>\n\n\n\n<p>You will get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u25cf tomcat.service - Apache Tomcat Web Application Container\n     Loaded: loaded (\/etc\/systemd\/system\/tomcat.service; disabled; vendor preset: enabled)\n     Active: active (running) since Wed 2022-02-23 08:48:12 UTC; 6s ago\n    Process: 10027 ExecStart=\/opt\/tomcat\/bin\/startup.sh (code=exited, status=0\/SUCCESS)\n   Main PID: 10049 (java)\n      Tasks: 28 (limit: 4686)\n     Memory: 94.1M\n     CGroup: \/system.slice\/tomcat.service\n             \u2514\u250010049 \/usr\/lib\/jvm\/java-1.8.0-openjdk-amd64\/bin\/java -Djava.util.logging.config.file=\/opt\/tomcat\/conf\/logging.properties -Djav&gt;\n\nFeb 23 08:48:12 ubuntu2004 systemd[1]: Starting Apache Tomcat Web Application Container...\nFeb 23 08:48:12 ubuntu2004 startup.sh[10027]: Tomcat started.\nFeb 23 08:48:12 ubuntu2004 systemd[1]: Started Apache Tomcat Web Application Container.\n<\/pre>\n\n\n\n<p>At this point, Tomcat is started and listens on port 8080.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install OpenMRS<\/h2>\n\n\n\n<p>First, create a directory for OpenMRS and set proper ownership with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mkdir \/var\/lib\/OpenMRS\nchown -R tomcat:tomcat \/var\/lib\/OpenMRS<\/pre>\n\n\n\n<p>Next, download the latest version of OpenMRS using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget https:\/\/sourceforge.net\/projects\/openmrs\/files\/releases\/OpenMRS_Platform_2.5.0\/openmrs.war<\/pre>\n\n\n\n<p>Once the download is completed, copy the downloaded file to the Tomcat webapps directory:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cp openmrs.war \/opt\/tomcat\/webapps\/<\/pre>\n\n\n\n<p>Next, change the ownership of the openmrs.war file to tomcat:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">chown -R tomcat:tomcat \/opt\/tomcat\/webapps\/openmrs.war<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Access OpenMRS Installation Wizard<\/h2>\n\n\n\n<p>Now, open your web browser and access the OpenMRS web installation wizard using the URL <strong>http:\/\/your-server-ip:8080\/openmrs<\/strong>. You should see the OpenMRS language selection screen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"970\" height=\"350\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/install-openmrs-on-ubuntu-20.04-970x350.jpg\" alt=\"\" class=\"wp-image-1718\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/install-openmrs-on-ubuntu-20.04-970x350.jpg 970w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/install-openmrs-on-ubuntu-20.04-470x170.jpg 470w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/install-openmrs-on-ubuntu-20.04-768x278.jpg 768w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/install-openmrs-on-ubuntu-20.04.jpg 1024w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/figure>\n\n\n\n<p>Select your language and click on the =&gt; button. You should see the Installation Type screen.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"970\" height=\"440\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/install-openmrs-ubuntu-20.04-970x440.jpg\" alt=\"\" class=\"wp-image-1719\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/install-openmrs-ubuntu-20.04-970x440.jpg 970w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/install-openmrs-ubuntu-20.04-470x213.jpg 470w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/install-openmrs-ubuntu-20.04-768x349.jpg 768w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/install-openmrs-ubuntu-20.04.jpg 1024w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/figure>\n\n\n\n<p>Select the type of installation you want and click on the =&gt; button. You should see the following screen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"970\" height=\"440\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/install-openmrs-on-ubuntu-970x440.jpg\" alt=\"\" class=\"wp-image-1720\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/install-openmrs-on-ubuntu-970x440.jpg 970w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/install-openmrs-on-ubuntu-470x213.jpg 470w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/install-openmrs-on-ubuntu-768x349.jpg 768w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/install-openmrs-on-ubuntu.jpg 1024w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/figure>\n\n\n\n<p>Provide your MySQL root password, note down the admin password, and click on the =&gt; button. You should see the following screen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"970\" height=\"499\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/installing-openmrs-on-ubuntu-20.04-970x499.jpg\" alt=\"\" class=\"wp-image-1721\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/installing-openmrs-on-ubuntu-20.04-970x499.jpg 970w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/installing-openmrs-on-ubuntu-20.04-470x242.jpg 470w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/installing-openmrs-on-ubuntu-20.04-768x395.jpg 768w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/installing-openmrs-on-ubuntu-20.04.jpg 1024w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/figure>\n\n\n\n<p>Click on the =&gt; button to create a database for OpenMRS and complete the installation.<\/p>\n\n\n\n<p>Now, open your web browser and access the OpenMRS admin interface using the URL <strong>http:\/\/your-server-ip:8080\/openmrs<\/strong>. You should see the OpenMRS login screen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"970\" height=\"592\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/installing-openmrs-ubuntu-20.04-970x592.jpg\" alt=\"\" class=\"wp-image-1722\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/installing-openmrs-ubuntu-20.04-970x592.jpg 970w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/installing-openmrs-ubuntu-20.04-470x287.jpg 470w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/installing-openmrs-ubuntu-20.04-768x469.jpg 768w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/installing-openmrs-ubuntu-20.04.jpg 1021w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/figure>\n\n\n\n<p>Provide the default username as admin and password as Admin123, then click on the LOG IN button. You should see the OpenMRS dashboard on the following screen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"970\" height=\"580\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/installing-openmrs-on-ubuntu-970x580.jpg\" alt=\"\" class=\"wp-image-1723\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/installing-openmrs-on-ubuntu-970x580.jpg 970w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/installing-openmrs-on-ubuntu-470x281.jpg 470w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/installing-openmrs-on-ubuntu-768x459.jpg 768w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/03\/installing-openmrs-on-ubuntu.jpg 1024w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/figure>\n\n\n\n<p>We hope that our step-by-step guide on installing OpenMRS has made the process much clearer and easier for you. Now, we&#8217;d love to hear from you:<\/p>\n\n\n\n<p>Do you have any concerns about the steps or need more detailed information? Can you suggest other areas of interest or step-by-step tutorials that you would like us to explore in our future posts?<\/p>\n\n\n\n<p>We&#8217;d appreciate your feedback in the comments below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenMRS is a free and open-source project to develop software for delivering health care in developing countries. It is an enterprise electronic medical record system framework that allows the exchange of patient data with other medical information systems. It is written in Java and provides a web interface to manage electronic medical records. In this &#8230; <a title=\"How to Install OpenMRS on Ubuntu 20.04\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/\" aria-label=\"More on How to Install OpenMRS on Ubuntu 20.04\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":1725,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[208],"tags":[26,248,210],"class_list":["post-1712","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-install","tag-openmrs","tag-ubuntu-20-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install OpenMRS on Ubuntu 20.04 | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"OpenMRS is a free and open-source project to develop software for delivering health care in developing countries. It is an enterprise electronic medical\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install OpenMRS on Ubuntu 20.04 | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"OpenMRS is a free and open-source project to develop software for delivering health care in developing countries. It is an enterprise electronic medical\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-15T17:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-29T15:49:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/04\/how-to-install-openmrs-on-ubuntu-20.04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-openmrs-on-ubuntu-20-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-openmrs-on-ubuntu-20-04\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to Install OpenMRS on Ubuntu 20.04\",\"datePublished\":\"2022-04-15T17:30:00+00:00\",\"dateModified\":\"2023-08-29T15:49:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-openmrs-on-ubuntu-20-04\\\/\"},\"wordCount\":769,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-openmrs-on-ubuntu-20-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/how-to-install-openmrs-on-ubuntu-20.04.jpg\",\"keywords\":[\"install\",\"openmrs\",\"ubuntu 20.04\"],\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-openmrs-on-ubuntu-20-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-openmrs-on-ubuntu-20-04\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-openmrs-on-ubuntu-20-04\\\/\",\"name\":\"How to Install OpenMRS on Ubuntu 20.04 | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-openmrs-on-ubuntu-20-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-openmrs-on-ubuntu-20-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/how-to-install-openmrs-on-ubuntu-20.04.jpg\",\"datePublished\":\"2022-04-15T17:30:00+00:00\",\"dateModified\":\"2023-08-29T15:49:11+00:00\",\"description\":\"OpenMRS is a free and open-source project to develop software for delivering health care in developing countries. It is an enterprise electronic medical\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-openmrs-on-ubuntu-20-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-openmrs-on-ubuntu-20-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-openmrs-on-ubuntu-20-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/how-to-install-openmrs-on-ubuntu-20.04.jpg\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/how-to-install-openmrs-on-ubuntu-20.04.jpg\",\"width\":742,\"height\":372,\"caption\":\"how to install openmrs on ubuntu 20.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-openmrs-on-ubuntu-20-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install OpenMRS on Ubuntu 20.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install OpenMRS on Ubuntu 20.04 | LinuxCloudVPS Blog","description":"OpenMRS is a free and open-source project to develop software for delivering health care in developing countries. It is an enterprise electronic medical","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install OpenMRS on Ubuntu 20.04 | LinuxCloudVPS Blog","og_description":"OpenMRS is a free and open-source project to develop software for delivering health care in developing countries. It is an enterprise electronic medical","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2022-04-15T17:30:00+00:00","article_modified_time":"2023-08-29T15:49:11+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/04\/how-to-install-openmrs-on-ubuntu-20.04.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to Install OpenMRS on Ubuntu 20.04","datePublished":"2022-04-15T17:30:00+00:00","dateModified":"2023-08-29T15:49:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/"},"wordCount":769,"commentCount":1,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/04\/how-to-install-openmrs-on-ubuntu-20.04.jpg","keywords":["install","openmrs","ubuntu 20.04"],"articleSection":["Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/","name":"How to Install OpenMRS on Ubuntu 20.04 | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/04\/how-to-install-openmrs-on-ubuntu-20.04.jpg","datePublished":"2022-04-15T17:30:00+00:00","dateModified":"2023-08-29T15:49:11+00:00","description":"OpenMRS is a free and open-source project to develop software for delivering health care in developing countries. It is an enterprise electronic medical","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/04\/how-to-install-openmrs-on-ubuntu-20.04.jpg","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/04\/how-to-install-openmrs-on-ubuntu-20.04.jpg","width":742,"height":372,"caption":"how to install openmrs on ubuntu 20.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-openmrs-on-ubuntu-20-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install OpenMRS on Ubuntu 20.04"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1712","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=1712"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1712\/revisions"}],"predecessor-version":[{"id":1966,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1712\/revisions\/1966"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/1725"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=1712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=1712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=1712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}