INSTALL

changeset 553
4091d4fe217f
parent 552
8b56f1b4e7ec
equal deleted inserted replaced
552:8b56f1b4e7ec 553:4091d4fe217f
1 1
2 Compiling and building on a Raspberry runing Debian Stretch: 2 Debian Stretch.
3 ---------------
3 4
4 Install the packages libjson-c-dev, libxml2-dev, mosquitto-clients, 5 All extra libraries and packages are since Debian Strech present in the
5 libmosquitto-dev, wiringpi, i2c-tools, nginx, php-fpm, uuid-dev. 6 standard repository. There is no need for manual downloading and building
7 packages, only thermferm needs to be build manually.
6 8
9 Using sudo apt-get install the following packages:
10 libjson-c-dev, libxml2-dev, mosquitto-clients, libmosquitto-dev, wiringpi,
11 i2c-tools, nginx, php-fpm, uuid-dev.
7 12
8 If running over WiFi consider running a local mosquitto server that runs as a 13 If running over WiFi consider running a local mosquitto server that runs as a
9 bridge to the main mosquitto server. Install mosquitto. 14 bridge to the main mosquitto server. Install mosquitto.
10 15
16
17 Compiling and install.
18 ----------------------
19
20 In the main mbsePi-apps directory run:
21 make clean
22 ./configure
23
24 After configure, see that wiringPi and MQTT are included. Then run:
25 make
26 sudo make install
27 systemctl enable thermferm
28 systemctl start thermferm
29
30
31 Configure nginx.
32 ----------------
33
34 Configure local mosquitto.
35 --------------------------
36
37

mercurial