Commit 811b6525 authored by Peter-Bernd Otte's avatar Peter-Bernd Otte

Update README.md

parent 8fe83b49
......@@ -58,32 +58,5 @@ cd SBFspot/SBFspot
make nosql
```
**Install MQTT for php**
- Installation hints: http://www.notespoint.com/mosquitto-php-library-install/
```bash
sudo apt install mosquitto
sudo apt install php-pear
sudo apt install php-dev
sudo apt install libmosquitto-dev
sudo pecl
sudo pecl install Mosquitto
sudo pecl install Mosquitto-beta
sudo su
cd /etc/php/7.0/mods-available/
nano mosquitto.ini
#cat mosquitto.ini: extension=mosquitto.so
#check, packages installed with
dpkg -l | grep mosquitto
sudo phpenmod mosquitto
sudo service apache2 restart
```
Check for running data:
```bash
mosquitto_sub -v -t 'energie/zaehler/#'
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment