Skip to main content

Appendix 2: AE installation on CentOS

In the appendix, you will learn about installation on Red Hat Enterprise Linux (RHEL) based Linux distributions, such as CentOS, Fedora, and OEL.

tip

The steps and commands were performed on CentOS7.

Environment check

Perform an environment check for the following:

  • Hostname-IP address resolution

  • Firewall settings

  • Steps and commands performed in CentOS

Prerequisites

Install and configure the following software:

  • Java

  • PostgreSQL with empty vae database

  • Apache Tomcat

  • Apache ActiveMQ

Make necessary changes to set up the CentOS environment.

AE installation

For AE installation, create a directory structure and database for AE, and deploy Automation engine and UI war files on Tomcat server.

Create AE directory structure

Create the top-level directory, AE Base Directory in which all AE software and components are installed. You need to create the following directories and setup AE_HOME environment variable:

AutomationEdgeBase 🡪 \preferred_drive:/AutomationEdge.

For example, /home/username/Automationedge

AutomationEdge Tools 🡪 \preferred_drive:/AutomationEdge/tools.

For example, /home/username/Automationedge/tools

AutomationEdge Home 🡪 \preferred_drive:/AutomationEdge/aehome.

For example, /home/username/Automationedge/aehome

Set environment variable

AE_HOME= "\path for the AE working directory".

For example, AE_HOME=/home/username/Automationedge/aehome

War files deployment

Following are the steps to deploy war files:

  1. Delete all out-of-the-box apps directories from Tomcat, /tools/apache-tomcat-10.1.30/webapps.

  2. Copy the following .war files in the /tools/apache-tomcat-10.1.30 /webapps directory.

  • aeengine.war

  • aeui.war

  1. Restart the Tomcat service to extract .war files in the webapps directory, and database is populated with objects.

  2. If Postgres DB user password is different, change it in file database.properties.