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

Mobile Computing and Internet of Things 2020/21 fall

  • Main
  • Lectures
  • Labs
  • Homeworks & Home Assignments
  • Quizes
  • Task submission
  • Extra Materials
  • Projects
    • Teams & Topics
    • Presentations & Report
    • Grading & Submission

Installing Mosquitto on MacOS

Mosquitto is installed via homebrew

If you don't have homebrew already:

  /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Install Mosquitto:

  brew install mosquitto

Verify that mosquitto broker can be started ( not give command not found):

  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/opt/mosquitto/bin/mosquitto_pub
  • /usr/local/opt/mosquitto/bin/mosquitto_sub
  • /usr/local/sbin/mosquitto (the broker)

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