Installation

Installation of OvalEdge Application on Amazon Linux

The OvalEdge application can be accessed with the regular user credentials provided by the OvalEdge administrator team.

To access the OvalEdge application through the URL, complete the following tasks:

  1. Install java 8 on the amazon Linux Ec2
  2. Install MySQL 5.7
  3. Install OvalEdge Database
  4. Install or Copy Tomcat
  5. Deploy Web Application

1. Install Java 8

Install Java 8 using the following command

$ sudo yum install java-1.8.0-openjdk

Once the installation is complete, you can verify it by checking the Java version

$ Java -version

The Output will similar to the screenshot as mentioned below:

2. Installation of MySQL 5.7 

Before installing MySQL update the system packages

$ sudo yum update

First, Download the MySQL 5.7 yum repository on Amazon Linux 2 using wget 

$ sudo rpm -Uvh

https://dev.mysql.com/get/mysql57-community-release-el7-11.noar.rpm

pasted image 0 (4)

Install MySQL 5.7 Yum Repository on Amazon Linux 2 using the below command

$ sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022

pasted image 0 (5)

$ sudo systemctl enable mysqld

$ sudo systemctl start mysqld

pasted image 0 (6)-2

$ sudo grep 'temporary password' /var/log/mysqld.log

pasted image 0 (7)-1

$sudo mysql_secure_installation

pasted image 0 (8)-1

Enter password for user root: [Enter current root password]

  • New password: [Enter a new root password]
  • Re-enter new password: [Re-Enter the new root password]
  • Estimated strength of the password: 100
    Change the password for root ? ((Press y|Y for Yes, any other key for No) : n
  • 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) : y
  • Remove test database and access to it? (Press y|Y for Yes, any other key for No) : y
  • Reload privilege tables now? (Press y|Y for Yes, any other key for No) : y
  • All done!

The existing password for the user account root has expired. Please set a new password. 
Now, log in to MySQL 5.7 Server using the below command and use the password to login entered during installation. 

$ mysql -u root -p

3. Connect to MySQL 

Create a database and run the OvalEdge data scripts.

Install OvalEdge Database and some .sql scripts

mysql> source /home/linux_user/vx.x/1.database.sql

mysql>show databases;
+--------------------+
| Database         |
+--------------------+
| information_schema |
| mysql         |
| ovaledgedb         |
| performance_schema |
| sys                |
+--------------------+

Now you can see the Ovaledge database is created successfully.

Run all the remaining .sql files.

4. Install or Copy Tomcat 

Download or copy apache-tomcat-9.0.58.zip to Amazon Linux machine

$ wget https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.63/bin/apache-tomcat-9.0.63.zip 

Untitled (1)

$ unzip  unzip apache-tomcat-9.0.63.zip

Untitled (2)

Download the OvalEdge war file in the path

/home/ubuntu/apache-tomcat-9.0.58/webapps

$ wget https://ovaledge.s3.us-west-1.amazonaws.com/Release+Builds/Release6.0/Final/Build/ovaledge.war

Move ovaledge.war file to Webapps folder.

mv /home/linux_user/ovaledge.war /home/linux_user/apache-tomcat-9.0.63/webapps/

Run the below command to start the Tomcat Server using ./startup.sh

Run the command below to stop the Tomcat server using ./shutdown.sh

5. Access OvalEdge

Check the following URL on chrome to access the OvalEdge application

$ http://ipdaress:8080/ovaledge


Copyright © 2019, OvalEdge LLC, Peachtree Corners GA USA