Appendix
This section provides information about the manual steps to configure prerequisites for LeapLogic installation.
In this Topic:
Troubleshooting Issues
If you are unable to execute the LeapLogic-Prerequisites.sh script mentioned in the Prerequisites section, follow the below steps using a sudo user:
- OS Hardening – Set hard and soft limits of OS in the file /etc/security/limits.conf and restart the ssh session. Open the limits.conf file using the below command.
sudo vi /etc/security/limits.conf
- Add the below commands at the end of the file.
- soft nofile 65536
- hard nofile 65536
- Save and exit the file using the below command.
- To verify whether the values of the limits are configured, use the following commands in a new SSH session.
ulimit -all
ulimit -Hn
ulimit -Sn
Java Installation
Follow the steps given below to install Java and configure the Java path.
Amazon Linux OS
- For Amazon Linux OS, you need to install amazon-corretto-devel Java. Use the command below to achieve the same.
sudo yum install java-17-amazon-corretto-devel.x86_64
RHEL 8 or 9.3; or Oracle Linux 9.4
- For RHEL 8 or 9.3; or Oracle Linux 9.4, install Java using the commands given below.
- Please note that we need “developer” version of JAVA 17.
sudo yum install <java-17-openjdk-devel.x86_64>
Common and mandatory steps for setting the Java path irrespective of any OS.
- Next, let’s set the Java path.
- Go to the location.
- List the contents present in this location using the command given below.
- Navigate inside the Java directory which you have installed using the command given below.
cd <java-17-openjdk-17.0.12.0.7-2.0.1.el9.x86_64>
- Next, print the working directory using the command given below.
- Copy the path which you get as the output of pwd command.
- Open the bashrc file of LeapLogic installation user using the command given below.
- Copy below two commands at the end of the file.
export JAVA_HOME=/usr/lib/jvm/<java-17-openjdk-17.0.12.0.7-
2.0.1.el9.x86_64>
export PATH=$JAVA_HOME/bin:$PATH
- Save and exit the file.
- Refresh the environment variables of bashrc file using the command given below.
- Verify whether the Java path is successfully configured using the command given below.