Versions Compared

Key

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

Table of Contents


Setup

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 

Software Requirement

  • JDK

    1.8

    17

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 Follow Steps below to install Java 1.8 on CentOS/linux.

    • Update before installing any new program

...

Code Block
languagebash
sudo yum -y update
    • Install Java 1.8

...

    • 17
Code Block
languagebash
sudo yum install java-17-openjdk


    • Verify Java is Installed

...

Code Block

...

language

Image Removed

bash
java -version


Sample output:

Image Added

  • MariaDB 10.11

    MySql 5.6

Follow below steps to install and configure MySQL MariaDB on CentOS/linux

    • Go to the Download MySQL Yum Repository page (https://dev.mysql.com/downloads/repo/yum/) in the MySQL Developer Zone.

    • Select and download the release package for your platform.

    • Install the downloaded release package with the following command, replacing platform-and-version-specific-package-name with the name of the downloaded RPM package.

$> rpm -ivh  platform-and-version-specific-package-name.rpm

Example Output:

Image Removed

    • By using yum command, now we will install MySQL Server 5.6 . All dependencies will be installed itself.

Image Removed

    • To start MySQL Service, run command "systemctl start mysqld".

    • To stop MySQL Service, run command "systemctl stop mysqld".

    • To restart MySQL Service, run command "systemctl restart mysqld".

    • To get status of MySQL Service, run command "systemctl status mysqld".

    • Run "mysql_secure_installation"  to perform to reset the root user password.

Image Removed

  • Tomcat 7.0.XX

Follow below Steps to setup Tomcat server  on CentOs/linux.

Image Removed

    • After competed download extract archive file in /tmp directory and move to the proper location as per your need.

Example:

...

    • All the packages need to be up-to-date. Use the following command to update your packages.

      Code Block
      languagebash
      sudo yum update

      Create a new repo file for the latest version.

      Code Block
      languagebash
      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 the Latest Version of MariaDB

Install 10.11 of MariaDB and the most common packages, using the command below.

Code Block
languagebash
sudo yum install MariaDB-server galera-4 MariaDB-client MariaDB-shared MariaDB-backup MariaDB-common
    • Start MariaDB

      Start the MariaDB service with this command.

      Code Block
      languagebash
      sudo systemctl start mariadb

      To set MariaDB to start automatically when the VM boots up, use the following command.

      Code Block
      languagebash
      sudo systemctl enable mariadb

      Check the current status of MariaDB using this command.

      Code Block
      languagebash
      sudo systemctl status mariadb

      Check the currently installed MariaDB version with this command.

      Code Block
      languagebash
      sudo mysql -u root -p -V
  • Tomcat 9.0.XX

Follow below Steps to setup Tomcat server  on CentOs/linux.

Code Block
languagebash
wget -c https://downloads.apache.org/tomcat/tomcat-9/v9.0.85/bin/apache-tomcat-9.0.85.tar.gz
    • Extract the Tomcat archive to the directory in which you want to deploy the Automatics Tools
      Code Block
      languagebash
      sudo tar -xvf apache-tomcat-9.0.85.tar.gz -C /opt/automatics/
    • Navigate to the tomcat file path and run ./bin/startup.sh cmd to start the tomcat server.

...

Follow below steps to setup maven on Centos/linux.

...