mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
HOWT_Windows.txt changed to html
git-svn-id: https://svn.fhem.de/fhem/trunk@3801 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5b309b7ea2
commit
3b5c2b9901
@ -1,66 +1,119 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
<title>FHEM on Windows</title>
|
||||
<link rel="stylesheet" type="text/css" href="../www/pgm2/style.css" />
|
||||
<meta http-equiv="Content-type" content="text/html;charset=ISO-8859-1"/>
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
<div id="menuScrollArea">
|
||||
<div id="logo"></div>
|
||||
<div id="menu">
|
||||
<h3>FHEM on Windows</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="right">
|
||||
|
||||
<h2><a href="fhem.html">FHEM</a> on Windows</h2>
|
||||
|
||||
The following description will show you how to install FHEM on Windows on a separate
|
||||
USB-Drive, without any Windows-registry modifications.
|
||||
You can use the internal HD for installation too, and you can register fhem as
|
||||
a service, see below.
|
||||
<br><br>
|
||||
|
||||
Install FHEM:
|
||||
<h3>Install FHEM:</h3>
|
||||
<ul>
|
||||
Download the latest fhem-X.Y.tar.gz package from http://fhem.de#Download
|
||||
(currently it is fhem-5.4.tar.gz), and unpack it into a directory where you
|
||||
have at least 350MB+ free space. I will use F:\tmp for this purpose, after
|
||||
unpacking the .tar.gz file we will have a new directory F:\tmp\fhem-5.4
|
||||
</ul>
|
||||
|
||||
|
||||
Install perl:
|
||||
<h3>Install perl:</h3>
|
||||
<ul>
|
||||
Download a Strawberry perl Portable-Edition (this version won't
|
||||
generate Registry-Entries, and can be installed on USB disks) from
|
||||
http://strawberryperl.com/releases.html, and extract it into the previously
|
||||
created directory, in our case F:\tmp\fhem-5.4
|
||||
My file was called strawberry-perl-5.16.2.1-32bit-portable.zip
|
||||
</ul>
|
||||
|
||||
|
||||
Start FHEM:
|
||||
<h3>Start FHEM:</h3>
|
||||
<ul>
|
||||
Open a command line window (cmd), change to the previous directory, and start
|
||||
FHEM:
|
||||
C:> F:
|
||||
F:> cd \tmp\fhem-5.4
|
||||
F:\tmp\fhem-5.4> mkdir log
|
||||
F:\tmp\fhem-5.4> perl\bin\perl fhem.pl fhem.cfg
|
||||
<ul><code>
|
||||
C:> F:<br>
|
||||
F:> cd \tmp\fhem-5.4<br>
|
||||
F:\tmp\fhem-5.4> mkdir log<br>
|
||||
F:\tmp\fhem-5.4> perl\bin\perl fhem.pl fhem.cfg<br>
|
||||
</code></ul>
|
||||
Note:
|
||||
<ul>
|
||||
There is no visible output and the command won't terminate.
|
||||
You probably have to confirm a Firewall exception (Do not block), as FHEM
|
||||
opens a Web-Server Port.
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
|
||||
Connect to the FHEM Web frontend (FHEMWEB):
|
||||
<h3>Connect to the FHEM Web frontend (FHEMWEB):</h3>
|
||||
<ul>
|
||||
Start your browser (Firefox, Chrome or Safari are preferred) and open
|
||||
<ul><code>
|
||||
http://localhost:8083/fhem
|
||||
</code></ul>
|
||||
You'll see a smiling-house icon on a light-yellow background.
|
||||
</ul>
|
||||
|
||||
|
||||
Update FHEM to get access to the latest development version (recommended but
|
||||
not mandatory):
|
||||
<h3>Update FHEM to get access to the latest development version (recommended
|
||||
but not mandatory):</h3>
|
||||
<ul>
|
||||
In the browser window, on the FHEMWEB page, in the command line (upper text
|
||||
input field, right of the smiling house icon), type in the following 4
|
||||
commands one-by-one, confirming each one with Enter:
|
||||
notice confirm update-20130127-001
|
||||
attr global backup_before_update 0
|
||||
save
|
||||
update
|
||||
<ul><code>
|
||||
notice confirm update-20130127-001<br>
|
||||
attr global backup_before_update 0<br>
|
||||
save<br>
|
||||
update<br>
|
||||
</code></ul>
|
||||
Note:
|
||||
- the last command will take a while (around a minute), and after finished
|
||||
<ul>
|
||||
<li>the last command will take a while (around a minute), and after finished
|
||||
it will ask you to "shutdown restart". Ignore this, and just type
|
||||
shutdown in the FHEMWEB command line.
|
||||
- Switch to the command line window, and restart FHEM with the last command,
|
||||
i.e. arrow up and RETURN or type in
|
||||
<li>Switch to the command line window, and restart FHEM with the last command,
|
||||
i.e. arrow up and RETURN or type in again:
|
||||
<ul><code>
|
||||
perl\bin\perl fhem.pl fhem.cfg
|
||||
again.
|
||||
</ul></code>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
|
||||
Install FHEM as a service (better to install perl on the internal hard-disk for
|
||||
this scenario):
|
||||
<h3>Install FHEM as a service (better to install perl on the internal hard-disk
|
||||
for this scenario):</h3>
|
||||
<ul>
|
||||
Terminate fhem by typing shutdown again in the FHEMWEB command line.
|
||||
Install the missing Win32::Daemon perl module by typing in the command window:
|
||||
F:\tmp\fhem-5.4> PATH=F:\tmp\fhem-5.4\c\bin;F:\tmp\fhem-5.4\perl\bin;%PATH%
|
||||
F:\tmp\fhem-5.4> perl\bin\cpan -i Win32::Daemon
|
||||
<ul><code>
|
||||
F:\tmp\fhem-5.4> PATH=F:\tmp\fhem-5.4\c\bin;F:\tmp\fhem-5.4\perl\bin;%PATH%<br>
|
||||
F:\tmp\fhem-5.4> perl\bin\cpan -i Win32::Daemon<br>
|
||||
</ul></code>
|
||||
Install FHEM as a service
|
||||
F:\tmp\fhem-5.4> perl\bin\perl fhem.pl fhem.cfg -i
|
||||
<ul><code>
|
||||
F:\tmp\fhem-5.4> perl\bin\perl fhem.pl fhem.cfg -i<br>
|
||||
</code></ul>
|
||||
</ul>
|
||||
</body>
|
Loading…
Reference in New Issue
Block a user