RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
For setting up this server the below applications or tools should be available in the server machine:
Background Color | ||
---|---|---|
| ||
PrerequisitesPrequisites |
The below software should be installed and available for running Device Manager UI server.
Check whether My SQL DB is already installed and up and running. For installation of MySQL in the below OS refer the below links
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 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.
https://docs.oracle.com/javase/8/docs/technotes/guides/install/linux_jdk.html
Following page provides details on installing Java 1.8 on linux.
Automatics Orchestration Setup#JDK1.8
Tomcast 8.5 is required to deploy Device Manager UI server. Tomcat server installation file and setup documents can be found in the below links:
If you already have an existing setup of Automatics you can follow the steps in this page for upgrading the software's Automatics Technology Stack - Upgrade
Please note that even though the recommended version of Orchestration is JDK17, it is reverse compatible with JDK11 also. So code also be compiled with JDK11. Follow Steps below to install Java 17 on CentOS/linux.
Code Block | ||
---|---|---|
| ||
sudo yum -y update |
Code Block | ||
---|---|---|
| ||
sudo yum install java-17-openjdk |
Code Block | ||
---|---|---|
| ||
java -version |
Sample output:
Follow below steps to install and configure MariaDB on CentOS/linux
All the packages need to be up-to-date. Use the following command to update your packages.
Code Block | ||
---|---|---|
| ||
sudo yum update |
Create a new repo file for the latest version.
Code Block | ||
---|---|---|
| ||
vi /etc/yum.repos.d/MariaDB.repo |
Copy and paste the following contents into the /etc/yum.repos.d/mariadb.repo file.
Code Block |
---|
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.11/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1 |
To exit and save the Vim file, type :wq and press Enter.
Install 10.11 of MariaDB and the most common packages, using the command below.
Code Block | ||
---|---|---|
| ||
sudo yum install MariaDB-server galera-4 MariaDB-client MariaDB-shared MariaDB-backup MariaDB-common |
Start the MariaDB service with this command.
Code Block | ||
---|---|---|
| ||
sudo systemctl start mariadb |
To set MariaDB to start automatically when the VM boots up, use the following command.
Code Block | ||
---|---|---|
| ||
sudo systemctl enable mariadb |
Check the current status of MariaDB using this command.
Code Block | ||
---|---|---|
| ||
sudo systemctl status mariadb |
Check the currently installed MariaDB version with this command.
Code Block | ||
---|---|---|
| ||
sudo mysql -u root -p -V |
Follow below Steps to setup Tomcat server on CentOs/linux.
$ wget <Apache Tomcat 8 archive file link>
Example:
Example:
...
Code Block | ||
---|---|---|
| ||
wget -c https://downloads.apache.org/tomcat/tomcat-9/v9.0.85/bin/apache-tomcat-9.0.85.tar.gz |
Code Block | ||
---|---|---|
| ||
sudo tar -xvf apache-tomcat-9.0.85.tar.gz -C /opt/automatics/ |
Sample Output:
...
Maven – 3
Maven is the tool used for building and managing Device Manager project. Please follow the below links to download and install Maven:
Following page will provide the detailed steps to setup maven.
Automatics Orchestration Setup#Maven3
Device Manager Back End Server
Device Manager Server is used REST API based tool to manage different device details , add device details, & edit device details, add device groups etc. Device Manager UI is an application for visualizing and perform actions on different functionalities of device manager backend server.
Please refer below link to bring up know more about device manager setup and deployment.
Device Manager Deployment Document
Following are the steps to be followed to setup Device Manager UI and its dependent software's in a Machine:
...
To do this follow the below steps:
...
...
...
Example:
Device Manager application should be deployed in Tomcat server (ver 8.5 or above). Follow the below steps to deploy the application.
...
Following page will provide more information on device manager ui