WAND Network Research Group Trac University of Waikato Crest Of Arms

Installing the Configuration System Daemon (ccsd)

System Requirements

You need to add the CRCnet Package Repository to your source.list file:

deb http://packages.crc.net.nz/debian/ crcnet main

You may want to pin it so that only the following packages are used.

Then ensure the following packages are installed

  • python2.4
  • python2.4-twisted
  • python2.4-pyopenssl
  • python2.4-pgsql
  • python2.4-svn
  • python2.4-cheetah

Installing from Source

  1. Untar the downloaded source
  2. run make install-server as root
  3. Initialise the database as described at DatabaseInstallation
  4. Create certificates as described at Authentication
  5. Create a configuration file based off the DefaultServerConfiguration
  6. run ccsd -c <location of configuration file>

Installing from .deb

If you have added the CRCnet repository specified about to your sources.list you can simply run

apt-get install ccsd

Installing the Web Interface (ccsweb)

System Requirements

You will need the following packages installed

  • apache (with SSL support) or apache2
  • php4
  • php4-curl (for SSL support)
  • smarty

Installing from Source

  1. Untar the downloaded source into a directory, we will refer to this directory as ccsweb_base
  2. Install the DefaultApacheConfiguration at <ccsweb_base>/httpd.conf
  3. Create a client certificate as described in Authentication
  4. Add an approprite entry to html/lib/ccsweb.conf eg.
    // addNetwork(name, site, server, port, cert, server_path, admin_email)
    addNetwork("Site Name", "admin.localdomain", "ccsd.localdomain", 5565, 
        "/path/to/webcert.pem", "/RPC2", "root@localdomain");
    
  5. Add an Include line to your apache.conf to enable the configuration, eg.
    Include <ccsweb_base>/httpd.conf