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.

mosquitto installation on hdp2.5

Solved Go to solution
Highlighted

mosquitto installation on hdp2.5

New Contributor

Can some one tell me how to install the mosquitto on hdp2.5 sandbox

1 ACCEPTED SOLUTION

Accepted Solutions

Re: mosquitto installation on hdp2.5

@Subramaniyam KMV

I assume you mean mosquito mqtt.

Here is an example of installation on centos-7:

https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-messag...

You can probably skip the "secure" part.

This is not specific to HDP 2.5, you can assume that the sandbox is just a Centos VM for your case. What it matters is the OS and availability of resources.

5 REPLIES 5

Re: mosquitto installation on hdp2.5

@Subramaniyam KMV

I assume you mean mosquito mqtt.

Here is an example of installation on centos-7:

https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-messag...

You can probably skip the "secure" part.

This is not specific to HDP 2.5, you can assume that the sandbox is just a Centos VM for your case. What it matters is the OS and availability of resources.

Re: mosquitto installation on hdp2.5

New Contributor

i think HDP 2.5 is Cent OS 6.8, will the above steps will be applicable to the HDP 2.5 sandbox ??

Re: mosquitto installation on hdp2.5

@Subramaniyam KMV

Go to: https://mosquitto.org/download/ and follow Centos 6 instructions.

If this helps, please vote/accept best answer. Time spent to help should be appreciated.

Re: mosquitto installation on hdp2.5

Super Guru

o install a Mosquitto MQTT Server on Centos7

yum -y install unzip

Step 1: Add the CentOS 7 mosquitto repository

cd /etc/yum.repos.d

wget http://download.opensuse.org/repositories/home:/oojah:/mqtt/CentOS_CentOS-7/home:oojah:mqtt.repo

sudo yum update

Step 2: Install mosquitto & mosquitto-clients

sudo yum install -y mosquitto mosquitto-clients

Step 3: Run mosquitto

sudo su /usr/sbin/mosquitto -d -c /etc/mosquitto/mosquitto.conf > /var/log/mosquitto.log 2>&1

https://community.hortonworks.com/content/kbentry/55839/reading-sensor-data-from-remote-sensors-on-r...

Re: mosquitto installation on hdp2.5

New Contributor

i think HDP 2.5 is Cent OS 6.8, will the above steps will be applicable to the HDP 2.5 sandbox ??

Don't have an account?
Coming from Hortonworks? Activate your account here