FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: gthshsxth am 19 Januar 2015, 16:29:30

Titel: How to install "fhem" on arch linux?
Beitrag von: gthshsxth am 19 Januar 2015, 16:29:30
Hello!
How to install "fhem" on arch linux? Please guide.
Titel: Antw:How to install "fhem" on arch linux?
Beitrag von: betateilchen am 19 Januar 2015, 16:38:26
Use the installation procedure described for Unix/OSX on http://fhem.de/fhem.html#Installation
Titel: Antw:How to install "fhem" on arch linux?
Beitrag von: gthshsxth am 19 Januar 2015, 17:10:58
In this guide, there are no details. I can not handle the installation.
Titel: Antw:How to install "fhem" on arch linux?
Beitrag von: gthshsxth am 19 Januar 2015, 17:30:51
Is this a good guide?
https://adke.org/?p=167 (https://adke.org/?p=167)
Titel: Antw:How to install "fhem" on arch linux?
Beitrag von: wkarl am 19 Januar 2015, 17:50:49
Hello,

months ago I started also with Arch Linux but meanwhile I moved to Fedora ARM. In comparison with Arch Fedora has the most recent software and libraries.

Zitat von: gthshsxth am 19 Januar 2015, 17:30:51
Is this a good guide?
https://adke.org/?p=167 (https://adke.org/?p=167)
Looks good.
I would skip this line.
Zitatcp fhem.cfg fhem.cfg.org;mv fhem.cfg.demo fhem.cfg

To my experience you need to install some Perl libraries via CPAN.

Edit: http://avedo.net/858/home-automation-raspberrypi-fhem-and-arch-linux (http://avedo.net/858/home-automation-raspberrypi-fhem-and-arch-linux) this one looks also pretty and the perl libs are documented as well.

ciao walter
Titel: Antw:How to install "fhem" on arch linux?
Beitrag von: gthshsxth am 20 Januar 2015, 09:01:09
Thank you for your help.
Titel: Antw:How to install "fhem" on arch linux?
Beitrag von: gthshsxth am 20 Januar 2015, 12:24:37
Run "fhem"
[pic@pic ~]$ cd /opt/fhem
[pic@pic fhem]$ su
Password:
[root@pic fhem]# perl /opt/fhem/fhem.pl /opt/fhem/fhem.cfg
[root@pic fhem]# ps auxw | grep fhem
fhem       649  1.1  1.1  12648 10548 pts/0    S    13:11   0:00 perl /opt/fhem/fhem.pl /opt/fhem/fhem.cfg
root       655  0.0  0.2   3548  2160 pts/0    S+   13:11   0:00 grep fhem


[root@pic fhem]#


I can not log in to the "fhem" by the browser

(http://s13.postimg.org/lldbj3zxf/2015_01_20_132158_1279x694_scrot.jpg) (http://postimg.org/image/lldbj3zxf/)

(http://s22.postimg.org/xqbs4aatp/2015_01_20_132234_1279x686_scrot.jpg) (http://postimg.org/image/xqbs4aatp/)
Titel: Antw:How to install "fhem" on arch linux?
Beitrag von: betateilchen am 20 Januar 2015, 12:48:15
You must not call url beginning with www. Instead use

http://<fhem_host>:8083/fhem

or

http://<fhem_host_ip>:8083/fhem

Titel: Antw:How to install "fhem" on arch linux?
Beitrag von: gthshsxth am 20 Januar 2015, 13:00:06
betateilchen, after entering the address
http: // pic: 8083 / fhem
I logged on to the server "fhem"
Thank you for your help.