Support Questions
Find answers, ask questions, and share your expertise

mosquitto installation on hdp2.5

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

1 ACCEPTED SOLUTION

Accepted Solutions

@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.

View solution in original post

5 REPLIES 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.

View solution in original post

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

@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.

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...

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