Index

WebBrick Gateway Linux Prerequisites.

  1. Check python version
  2. Turbogears
  3. Serial support
The Webbrick gateway needs python 2.5 installed on the platform. There are packages on the install CD but is is suggested that you use the platforms package manager to handle the software install using a network connection or system CDs.

Check python version

From a terminal window enter the command python -V (note capital V) to display the python version on your system.You will get an output like Python 2.3.4 in this case the version needs upgrading. Use the system package mananger to install version 2.5, ideally 2.5.1. If you receive Python 2.5.0 then nothing needs to be done.

Debian

Ensure libc6-dev installed. Ensure python-dev installed as well as python 2.5. apt-get install python2.5-dev Or use apt-get install python-turbogears to install turbogears.

Fedora Core

Ubuntu

Red Hat

Source Code

Download from python.org http://www.python.org/ftp/python/2.4.4/Python-2.4.4.tgz or locate in the python directory of the install package. From a command shell change to the directory where you downloaded the source file and enter the following commands. tar -xvf Python-2.5.1.tgzcd Python-2.5.1.tgz./configuremakemake install

Turbogears

The Webbrick Gateway uses the TurboGears framework to generate user interfaces. This can be installed over the Internet or from local files.

Net install

Download http://www.turbogears.org/download/tgsetup.py or locate in the Turbogears folder of the install media. Start a command shell and go to where downloaded to or to the Turbogears folder on the install kit. Enter the command python tgsetup.py

Local install

Start a command shell and go to the Turbogears folder on the install kit. Enter the command python tgsetup.py -f . TurboGears-1.0.3.2-py2.5.egg

Serial support

The gateway can connect to devices over serial connections and uses pyserial for this support. This again can be installed over the Internet or from local files.

Net install

Start a command shell, Enter the command easy_install pyserial

Local install

Start a command shell and go to the python folder on the install kit. Enter the command easy_install pyserial2.2.zip