Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The below software should be installed and available for running Device Manager UI server.

MySQL DB

Check whether My SQL DB is already installed and up and running.  For installation of MySQL in the below OS refer the below links

  • Linux:

https://dev.mysql.com/doc/refman/5.6/en/linux-installation.html

Following page provide details on setting up MySQL 5.6 on linux .

Automatics Orchestration Setup#MySql5.6

Jdk – 1.8

JDK should be available in the build machine where the .war file for Device Manager server is build and it should be available in the server machine.

...

  1. Pull the latest Device Manager UI project from the repository.
  2. After completing the pull, go the resources folder in the device manager UI project, and add the device manager server url as shown below.
    1. Navigate to (device-manager-ui\src\main\resource) open application.properties file .

...

    1. Update Device Manager URL to device-manager-ui  as shown below.


              Image Added

   Image Removed

3.  Now navigate to the project Home folder and run the command “mvn clean install”.

4. This will build device-manager-ui-1.0.0-SNAPSHOT.DeviceManagerUI.war file of device-manager-ui in the folder “project_home/target”.

...

Device Manager application should be deployed in Tomcat server (ver 8.5 or above). Follow the below steps to deploy the application.

  1. Copy device-manager-ui-1.0.0-SNAPSHOT.DeviceManagerUI.war file from “project_home/target” to “TOMCAT_HOME/webapps” folder.Rename device-manager-ui-1.0.0-SNAPSHOT.war to DeviceManagerUI.war.
  2. If you need to run the tomcat server in a port other than 8080, please follow the below steps to change the same.
    • Navigate to the folder “TOMCAT_HOME/conf”.
    • Open server.xml and change the connector port in this file from 8080 to an available port of your choice. If another tomcat is running the same machine then change the DEFAULT Tomcat server SHUTDOWN port from 8005 to another available port. If you dont need to a SHUTDOWN port for tomcat then change the default port from 8005 to “-1”.
  3. To start Device Manager application go to “TOMCAT_HOME/bin” folder and run sh or startup.bat (if its running on Microsoft windows) script.
  4. To verify server logs check “TOMCAT_HOME/logs/catalina.out” file.

...