1. Download Compressed Package
I use the mosquitto-1.4.5, download the address http://mosquitto.org/files/source/mosquitto-1.4.5.tar.gz
2. Decompression
Enter the directory where the package is located, and then unzip it by entering the following command
tar zxfv mosquitto-1.4.5.tar.gz
3. Into the unpacked directory
CD mosquitto-1.4.5
4. Installation
Make Install
PS: There may be problems during installation, the following is the installation notice point
If it is a centos system, please refer to the following address (reproduced)
http://blog.csdn.net/a358763471/article/details/44098677
if the Ubuntu system, please refer to the following address (reprint)
http://blog.csdn.net/xukai871105/article/details/39252653
5. After the installation, enter the Mosquitto command, if the following figure shows that the installation was successful