This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
how_to_setup_one_wire_projects_on_raspberry_pi [2016/09/30 09:50] admin |
how_to_setup_one_wire_projects_on_raspberry_pi [2020/04/08 08:35] (current) admin |
||
---|---|---|---|
Line 3: | Line 3: | ||
These are some notes on how to setup various of my developments regarding OWFS on a Raspberry Pi. | These are some notes on how to setup various of my developments regarding OWFS on a Raspberry Pi. | ||
- | I am not going to use the X server on my system, therefore let's clean it up, so future updates will consume less time and resources. See also [[http:// | + | Install required packages. |
- | apt-get install deborphan | + | apt-get install fcgiwrap |
- | apt-get remove | + | |
- | apt-get autoremove --purge libx11-.* lxde-.* raspberrypi-artwork xkb-data omxplayer penguinspuzzle sgml-base xml-core alsa-.* cifs-.* samba-.* fonts-.* desktop-* gnome-.* java-common tasksel nano | + | |
- | sudo apt-get remove --purge $(deborphan) | + | |
- | sudo apt-get autoremove | + | |
- | + | ||
- | Install required packages. Some of the packages removed above will be reinstalled due to dependencies. | + | |
- | apt-get install | + | |
apt-get install ferm lzma nullmailer vim unattended-upgrades #for convenience | apt-get install ferm lzma nullmailer vim unattended-upgrades #for convenience | ||
- | | ||
- | * remove ' | ||
===== OWST ===== | ===== OWST ===== | ||
* Download phpliteadmin from https:// | * Download phpliteadmin from https:// | ||
* In phplieadmin' | * In phplieadmin' | ||
- | * Create sqlite3 database as well as log and lock file and set permissions< | + | * Create sqlite3 database as well as log and lock file and set permissions |
- | mkdir / | + | |
- | sqlite3 / | + | |
- | touch / | + | |
- | chown pi.www-data / | + | |
- | chmod 660 / | + | |
- | chmod 770 / | + | |
- | </ | + | |
* Insert into the databases' | * Insert into the databases' | ||
* ow_type e.g. //DS2413// | * ow_type e.g. //DS2413// | ||
* ow_address e.g. // | * ow_address e.g. // | ||
* ow_pio e.g. //PIO.B// | * ow_pio e.g. //PIO.B// | ||
- | | + | |
- | * Dynamic loading doesn' | + | |
- | * Create / | + | |
- | ; configuration for owphp module | + | |
- | ; priority=20 | + | |
- | extension=libowphp.so | + | |
- | </ | + | |
- | * run '' | + | |
- | * reload php-fastcgi | + | |
- | * Copy cron and sudo config files< | + | |
- | cp config/ | + | |
- | cp config/ | + | |
- | </ | + | |
===== 1w Monitoring ===== | ===== 1w Monitoring ===== | ||