This is an old revision of the document!
These are some notes on how to setup various of my developments regarding OWFS on a Raspberry Pi.
Install required packages. Some of the packages removed above will be reinstalled due to dependencies.
apt-get install at libow-perl librrdtool-oo-perl libtie-ixhash-perl nginx-light owfs ow-shell php5-cgi php5-cli php5-sqlite libow-php5 rrdtool fcgiwrap apt-get install ferm lzma nullmailer vim unattended-upgrades #for convenience * remove 'n' in /usr/lib/perl5/OW.pm at line 68
mkdir /var/lib/owst sqlite3 /var/lib/owst/owst.sq3 < config/database.sql touch /var/lib/owst/owst.lock /var/log/owst.log chown pi.www-data /var/lib/owst /var/lib/owst/owst.sq3 /var/lib/owst/owst.lock /var/log/owst.log chmod 660 /var/lib/owst/owst.sq3 /var/lib/owst/owst.lock /var/log/owst.log chmod 770 /var/lib/owst
; configuration for owphp module ; priority=20 extension=libowphp.so
php5enmod owphp
cp config/etc.cron.d.owst /etc/cron.d/owst cp config/etc.sudoers.d.owst /etc/sudoers.d/owst
libexec/gen_rrd_create.pl
- run the output as a command1wSensorMon.pl
- no error this time*/5 * * * * root 1wSensorMon.pl 2> /dev/null