Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Guideline for the NIFI C2 (command and control) server

Guideline for the NIFI C2 (command and control) server

Cloudera Employee

Hi all

Has anyone already successfully installed the NIFI C2 (command and control) server?

I try a simple setup with one gateway server (192.168.0.227 // node1.gateway.md) where all IoT devices can connect. The Gateway server is build on Centos 7

I was following the great blog post from Abdelkrim Hadjidj (https://medium.freecodecamp.org/building-an-iiot-system-using-apache-nifi-mqtt-and-raspberry-pi-ce1d...) but struggling with the C2 verification via browser.

Installing and configuring the NiFi Server:

C2 Server start successfully with default config on port 10080 but http://192.168.0.227:10080/c2/config.text?class=test&version=1 don't return the example files. Even if I copy the sample file directly under ./files. File name = config.text.yml.v1

Any Idea?

1 REPLY 1
Highlighted

Re: Guideline for the NIFI C2 (command and control) server

New Contributor

Hi,


The below work around might help you,


create a class name directory(test, as per your class name mentioned the url) inside ./files directory, the path should be ./files/test and place the config.text.yml.v1 and provide the necessary permissions and restart the C2C server and validate the url. Hope this works for you.