Would you like to learn how to do a Apache Nifi installation on Ubuntu Linux? In this tutorial, we are going to show you how to download and install Apache Nifi on a computer running Ubuntu Linux.

• Ubuntu 18.04
• Ubuntu 19.04
• Apache Nifi 1.9.2

Hardware List:

The following section presents the list of equipment used to create this Apache Nifi tutorial.

Every piece of hardware listed above can be found at Amazon website.

Apache Nifi Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Apache Nifi.

Tutorial Apache Nifi - Installation on Ubuntu Linux

Install the Java JDK package version 8.

Copy to Clipboard

Use the following command to find the Java JDK installation directory.

Copy to Clipboard

This command output should show you the Java installation directory.

Copy to Clipboard

In our example, our Java JDK is installed under the folder: /usr/lib/jvm/java-8-openjdk-amd64

Now, you need to create an environment variable named JAVA_HOME.

Let’s create a file to automate the required environment variables configuration

Copy to Clipboard

Here is the java.sh file content.

Copy to Clipboard

Reboot the computer.

Copy to Clipboard

Use the following command to verify if the JAVA_HOME variable was created.

Copy to Clipboard

Use the following command to test the Java installation.

Copy to Clipboard

Here is the command output:

Copy to Clipboard

Download the Apache Nifi package.

Copy to Clipboard

Install the Apache Nifi server.

Copy to Clipboard

Start the Apache Nifi service.

Copy to Clipboard

Here is the command output:

Copy to Clipboard

Open a browser software, enter the IP address of your Apache Nifi server plus :8080/nifi

In our example, the following URL was entered in the Browser:

• http://192.168.15.10:8080/nifi/

The Apache Nifi web interface should be presented.

Apache Nifi Dashboard

Congratulations! You have finished the Apache Nifi installation on Ubuntu Linux.