Apache NiFi Setup and Security on Amazon Linux
Hi, friends in this blog we are going to set up NiFi and configure it to secure it with client certificates.
So, let’s begin the setup:
- First, we will update the server and install Java package:
yum update -y
- Install wget package:
yum install wget
Install Java 8 version:
sudo yum install java-1.8.0-openjdk
- You can select the Java version by the following command if you have multiple versions present:
sudo update-alternatives –config java
- Now you can extract the java path from the above output and set the java_home as follows:
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.171–2.6.13.0.el7_4.x86_64
- export the PATH variable:
export PATH=$PATH:$JAVA_HOME/bin
Now you have installed java successfully.
Read more: https://tudip.com/blog-post/apache-nifi-setup-and-security-on-amazon-linux/