Institute of Computer Science
  1. Courses
  2. 2019/20 fall
  3. Mobile Computing and Internet of Things (LTAT.06.009)
ET
Log in

Mobile Computing and Internet of Things 2019/20 fall

  • Main
  • Lectures
  • Labs
  • Homeworks & Home Assignments
  • Projects
    • Teams & Topics
    • Presentations & Report
    • Grading & Submission
  • Google Group
  • Task submission
  • Results
  • Other

Installing Mosquitto on MacOS

Mosquitto is installed via homebrew

If you don't have homebrew already:

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install Mosquitto:

    brew install mosquitto

To start a mosquitto broker:

    mosquitto

If you get command not found run the following and restart console:

    echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.bash_profile

Homebrew installs the broker, client binaries in:

  • /usr/local/sbin/mosquitto
  • /usr/local/opt/mosquitto/bin/mosquitto_pub
  • /usr/local/opt/mosquitto/bin/mosquitto_sub

The default conf file is in -c /usr/local/etc/mosquitto/mosquitto.conf

  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment