Manual installation from console
- Install prerequisits:
apt-get -y install perl-base libdevice-serialport-perl libwww-perl libio-socket-ssl-perl libcgi-pm-perl libjson-perl sqlite3 libdbd-sqlite3-perl libtext-diff-perl libtimedate-perl libmail-imapclient-perl libgd-graph-perl libtext-csv-perl libxml-simple-perl liblist-moreutils-perl ttf-liberation libimage-librsvg-perl libgd-text-perl libsocket6-perl libio-socket-inet6-perl libmime-base64-perl libimage-info-perl libusb-1.0-0-dev libnet-server-perl
- Download latest stable package:
wget http://fhem.de/fhem-==MAJOR==.deb
- Install package:
dpkg -i fhem-==MAJOR==.deb
- If you want to add the fhem user manually, just run the following command::
useradd --system --home /opt/fhem --gid dialout --shell /bin/false fhem
- You can find the init-script as /opt/fhem/contrib/init-scripts/fhem.3 and copy this to /etc/init.d/fhem
cp /opt/fhem/contrib/init-scripts/fhem.3 /etc/init.d/fhem
chmod a+x /etc/init.d/fhem
update-rc.d fhem defaults