Installation, Windows xp or windows 7, Linux – ADLINK Hurricane-QM57 User Manual

Page 24: 3 installation

Advertising
background image

SME-LEMT-R0V8

Revision 0.8

Page 20 of 22

7.3 Installation

Windows XP or Windows 7

To install the LEMTWeb utility under Windows XP or Windows 7 run the provided installation
prgramm: LEMTweb_setup.exe. This will install the LEMTWeb tool and the Internet Information
Server (IIS) as web server. The setup process should be self explaining. The installation will allow
you to set an exception for the Windows Firewall.

If you want to use another web server please refer to the documentation provided by the
appropriate server and it’s paragraph about installing a CGI program, like LEMTWeb.exe.

After installation the LEMTWeb is available using the following URL:

http://your.ip.address/cgi-bin/lemtweb.exe

Note Windows XP might need the Windows installation CD to finish the IIS

installation!

Note It might be necessary also to change the CGI-BIN access user. Run

iis.msc. Select from the websites – tree the cgi-bin node, right click and
select properties. Next select the Directory Security tab and press Edit.
Select a user for anonymous access which has the access rights to run the
LEMT tool.

Note Windows Embedded Standard 7 might as work as well. As minimum

requirement the IIS7 package and its dependencies must be included in
the Windows Embedded Standard 7 image! Please select Windows 7 as OS
if questioned by the installer.

Linux

Web Server

The first component is a web server, to accept incoming network connections and serve the content
to the user's browser. A server already running on the supervised system for some other purpose
may be co-used, otherwise you will need to install one. It must support CGI, but virtually all do, so
you may pick any server you feel comfortable with. Apache is fully featured and widely known, but
clearly overkill for this purpose. We'll be using thttpd for the sake of this documentation.

Of course you could download thttpd from its home page but it is far easier to install the
appropriate software package for your distribution. For example if you are running Debian or
Ubuntu, simply do:

apt-get install thttpd

Other distributions may use installpkg, yum, yast or rpm, please refer to your distribution's manual
for more information.

Thttpd's configuration file can often be found in /etc/thttpd/thttpd.conf, open it with any text
editor to adapt it to your needs. We assume the following settings:

Nochroot
dir=/var/www
cgipat=/cgi-bin/*

Chroot means the web server will restrict all access to /var/www (whatever dir is set to) or below.
This does increase security but means that not only the CGI programs but also any referenced
libraries, device files, etc. need to be copied to this directory. This sandbox or chroot jail is rather

Advertising
This manual is related to the following products: