Installing on Red Hat Enterprise Linux
Introduction
This document describes how to run Composable Architecture Platform using the Tomorrow-Software-Server-2021-noJRE-10.0.0.zip
distribution for a Red Hat Enterprise Linux environment. This example is using IBM Cloud, with a virtual server instance server instance launched with a Red Hat Enterprise Linux 7.x - Minimal Install (amd64) image.
Requirements:
Red Hat Enterprise Linux 7.2 (HVM) – (RHEL)
JRE 11 or above
Tomorrow-Software-Server-2021-noJRE-10.0.0.zip (or other approved) distribution for Composable Architecture Platform
A suitable Linux terminal client and SSH connection to the server established
Root user access permissions
Useful things to know
Composable Architecture Platform requires Java v11+ JDK Runtime Environment to run so check if Java is installed and the Java running version.
The Composable Architecture Platform installation uses the open source Jetty application server.
Check Java installation and version
Will either return “command not found” when no Java installation has been installed or display the current Java installation details.
e.g., Java version details
Install or modify Java
If you have an older Java version, then you’ll need to upgrade with the following Java installation commands
After the yum installation has completed, set the default JDK to be java-11 by using this command:
If there are multiple alternatives, enter the number in front of the java-11 entry, and the correct Java version is now configured.
Download, upload, unzip, run.
Download the Composable Architecture Platform distribution zip file and upload to the RHEL instance.
There are many ways to upload a file over to a Linux environment. Here is an example using the secure copy command “scp”.
A temporary directory could also be used or created to upload the file e.g. /tmp
and then move the package to the correct location.
Example:
Unzip the package under the
/opt/local
directory.
Note: root permissions may be required to create the local folder so switch to root if needed.
Unzip may need to be installed, do so using this command.
Then unzip to /opt/local
The unzipped contents of Tomorrow-Software-Server-10.0.0.zip will extract, then rename the directory to “Tomorrow” using “mv” command.
Note: the location of the file named Product Reference.pdf is in the Documentation folder. This is the comprehensive document for the entire Composable Architecture Platform.
Important: Don’t refer to Product Reference.pdf until the latest updates have been applied via console updates after installation, as there may be an update available.
Copy the tomorrowstart script file to the directory where running services are located by using this command:
Modify permissions to the user account to execute the scripts. The tomorrowstart and tomorrow.sh files must have read, write and execute permissions set. Switch to a root user if required to be able to change the file permissions.
Now add the executable script under the startup services. Run the below commands to run Composable Architecture Platform as a service. In a RHEL environment use only the chkconfig command. For example, in an Ubuntu environment the update-rc.d command can be used.
Check tomorrowstart script as service is set correctly with the correct levels.
Now start the Composable Architecture Platform service.
Useful things to know before launching
When launching the console application, there may be other demo applications and a built-in proxy server that will also launch at the same time. Default ports 80 and 443 are used to run the console application, and therefore must be available before launching. To modify default ports, refer Product Reference.pdf section: Port numbers and how to change them.
The following output example should be seen:
Note: To stop Composable Architecture Platform use:
It is good practice to now reboot of the RHEL server to verify Composable Architecture Platform restarts as a service at startup.
Composable Architecture Platform is now running as a service in RHEL.
Launch the Composable Architecture Platform console application via a compatible browser at this URL: http://[YOUR SERVER NAME]/console
Default administrator credentials:
Last updated