# Installation of webCDwriter

## Introduction

webCDwriter consists of the server CDWserver and the clients webCDcreator and rcdrecord. CDWserver has to be installed on the machine with the real CD-writer. The client webCDcreator will be exported by CDWserver. Only the command line client rcdrecord has to be installed locally on the client machines.

## Installing by RPM

If there is a RPM package available for your system, install it by

    rpm -ihv webCDwriter-version.rpm

Follow the instructions of this command to start and test CDWserver.

You may upgrade an existing webCDwriter installation by

    rpm -Uhv webCDwriter-version.rpm

This should leave the configuration files below /etc/CDWserver/ untouched.

If the available binary RPMs do not exactly match your system, you may try to build your own one by

    mkdir -p /tmp/webCDwriter/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
    rpm -tb --define '_topdir /tmp/webCDwriter' webCDwriter-version.tar.bz2
    mv -v /tmp/webCDwriter/RPMS/*/* .

## Installing webCDwriter-version.tar.bz2

If there is no RPM available for your system, you may install webCDwriter from webCDwriter-version.tar.bz2. Execute the following lines

    bunzip2 --stdout webCDwriter-version.tar.bz2 | tar xvf -
    cd webCDwriter-version
    ./configure
    make
    su
    make install

Now you can start CDWserver by

    /etc/rc.d/init.d/CDWserver start

and stop it by

    /etc/rc.d/init.d/CDWserver stop

Try to get the status of CDWserver by

    /etc/rc.d/init.d/CDWserver status

or visit http://localhost:12411 to make sure everything is OK.

## Installing rcdrecord

On Unix and Windows clients you may download the command line client rcdrecord and install it by

    bunzip2 --stdout rcdrecord-version.tar.bz2 | tar xvf -
    cd rcdrecord-version
    ./configure --server=address_of_your_CDWserver
    make
    su
    make install