![]()
Become root and go to the directory where you downloaded the packages and type:
- % su
- # rpm -i ensemble-0.40-1.rpm
- # rpm -i ejb-0.9-1.rpm
This installs the Ensemble utilities and development libraries, the EJB binaries, and creates a directory for maintaining information about your collection of CDs. The EJB server binaries are setuid to daemon, but the other binaries run as the user.
If you wish to save CD audio audio to your disk, you need to first create a directory where EJB will store the data. The directory should have group daemon. This directory will need to be quite large--each recording of a CD takes 150-170MB of disk space. Multiple directories can be managed. Remember the directory name(s), as you will need them in the next step when configuring EJB. For example, some people use /tmp/audio for their audio directory:
It is necessary to have the server running in order to use the ejb front-end. Only one such server should be run per machine. Once the server us started, it runs in the background and waits for requests from other remote servers and local clients.
While the server is running, it locks the /dev/cdrom device, preventing the tray from opening. If you want to insert a CD, the tray can be opened from within an ejb client process. Most of the options are provided during installation, but you may modify the server behavior by using the following options:
-cdda <dir>: this option specifies a directory that can be used to store user configurations and CDDB entries.
-dir <dir>: this option specifies an additional directory for storing audio data. This option may be used multiple times (and may be in addition to directories listed in /etc/cdda.conf).
-nocdrom: do not access the cdrom device on the machine. This is advisable when the machine does not have a cdrom drive.
-noaudio: do not access the sound card on this machine.
We have tested EJB on Gateway Pentium Pro machines, with ATAPI cdrom drives, and Soundblaster 16 audio cards, as well as the HP Vectra XU 5/133, with a Toshiba SCSI cdrom drive, and Soundblaster AWE 32 audio card.