On 1st RHEL machine ***************************************************** JAVA Installation:-- sudo yum install java-1.8.0-openjdk-devel -y sudo yum install wget -y Tomcat Installation:-- sudo wget https://mirrors.estointernet.in/apache/tomcat/tomcat-9/v9.0.45/bin/apache-tomcat-9.0.45.tar.gz sudo tar -zxvf apache-tomcat-9.0.45.tar.gz sudo mv apache-tomcat-9.0.45 /opt/Tomcat/ cd /opt/Tomcat/bin/ ./startup.sh http://my-ip-address:8080/ Openmrs war (deploy):-- cd /opt/Tomcat/webapps/ sudo wget https://sourceforge.net/projects/openmrs/files/releases/OpenMRS_Platform_2.4.0/openmrs.war Restart tomcat service http://my-ip-address:8080/openmrs ------------------------------------------------------------------------------------------------------------- On same machine (1st RHEL machine), I installed MySQL ***************************************************** MYSQL Installation:-- sudo wget https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm sudo rpm -ivh mysql57-community-release-el7-11.noarch.rpm sudo yum install -y mysql-server sudo systemctl status mysqld sudo systemctl start mysqld mysql_secure_installation ############################################################# Press y|Y for Yes, any other key for No: y Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: 1 Please set the password for root here. New password: Re-enter new password: Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : y Remove anonymous users? (Press y|Y for Yes, any other key for No) : y Disallow root login remotely? (Press y|Y for Yes, any other key for No) : n Remove test database and access to it? (Press y|Y for Yes, any other key for No) : n Reload privilege tables now? (Press y|Y for Yes, any other key for No) : y ############################################################# mysql -u root -p Enter password: GRANT ALL ON root.* TO root@localhost WITH GRANT OPTION; FLUSH PRIVILEGES; exit sudo systemctl restart mysqld sudo systemctl status mysqld ------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------