Install Mosquitto MQTT: Difference between revisions

From JoBaPedia
Jump to navigation Jump to search
(Created page with "= Mosquitto Installation = == Prerequisites == sudo zypper in libcares-devel docbook-xsl-stylesheets cd /usr/share/xml/docbook/stylesheet sudo ln -s nwalsh/current docboo...")
 
No edit summary
Line 7: Line 7:
  sudo ln -s nwalsh/current docbook-xsl
  sudo ln -s nwalsh/current docbook-xsl
   
   
== Git Install ===
== Git Install ==


  cd ~/workspace
  cd ~/workspace

Revision as of 23:24, 30 July 2017

Mosquitto Installation

Prerequisites

sudo zypper in libcares-devel docbook-xsl-stylesheets
cd /usr/share/xml/docbook/stylesheet
sudo ln -s nwalsh/current docbook-xsl

Git Install

cd ~/workspace
git clone https://github.com/eclipse/mosquitto.git
cd mosquitto
git tag
git checkout v1.4.14
make
sudo make install

Configuration

only needed if options need to be changed from defaults (e.g for TLS cert or PSK encryption)

sudo cp /etc/mosquitto/mosquitto.conf.example /etc/mosquitto/mosquitto.conf