Help us understand the problem. What is going on with this article?

Raspberry PiにMosquitto Brokerをインストールする

More than 3 years have passed since last update.

OSはRaspbian Jessieという前提です。


# GPG鍵のインストール
$ wget
$ sudo apt-key add mosquitto-repo.gpg.key

# mosquitto-jessie.listのインストール
$ sudo wget -O /etc/apt/sources.list.d/mosquitto-jessie.list


$ sudo apt-get install mosquitto


$ mosquitto -v
1498138035: mosquitto version 1.4.12 (build date Thu, 25 May 2017 22:38:16 +0100) starting
1498138035: Using default config.
1498138035: Opening ipv4 listen socket on port 1883.
1498138035: Error: Address already in use

最後に"Error: Address already in use"と表示されていますが、これは既にMosquitto Brokerが動いている場合に表示されるもので、無視しても問題ないようです。


Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away