Pre-requisites
We assume that you are using an IDE CD writer. Refer to the article Burn CDs on Linux on page 125 for setting up your CD Writer on PCQLinux 7.1. You must be running Apache Web server. Install RPM mpg123-0.59r-10.i386.rpm from CD1 of PCQLinux 7.1.
Mount this month’s CD and install the RPMs found in the directory cdrom/linux/webcdwriter as:
rpm -Uvh cdrtools-cdrecord-1.10-1.i386.rpm
rpm —ivh webCDwriter-2.1-1.i586.rpm
Start Apache Web server and subsequently the webCDWriter as:
/etc/rc.d/init.d/httpd restart
/etc/rc.d/init.d/CDWserver start
Issue the command:
/etc/rc.d/init.d/CDWserver status
If you get an error message as follows:
Error running cdrecord —scanbus
then issue:
cdrecord -scanbus
See the status again. If you don’t get an error message, append the above command to the file ‘profile’ found in /etc directory.
Configure web browser to use webCDwriter
We’ll now see how to set up Internet Explorer and Netscape Navigator on Windows machine and Netscape Navigator on PCQLinux 7.1. Setting these up requires downloading and installing the appropriate Java plugin from http://java.sun.com/ products/plugin/. Otherwise, it will also work if you install the JDK (Java Development Kit) 1.4 for Windows and Linux found on the September 2001 PCQuest CD. It contains the plugin as well as the JRE (Java Runtime Environment) required by the plugin. To install JDK on Windows, run the installer from Specials>Java section on the September CD. The plugin will be automatically invoked when you access the webCDwriter’s applet. To install JDK for PCQLinux refer to the section ‘Setting up Tomcat’ in the article ‘Web FrontEnds for MySQL’ (page 108) in January 2002 issue. You must also go through the following steps to enable the plugin in Netscape Navigator on PCQLinux. Issue the following command:
export NPX_PLUGIN_PATH=$NPX_PLUGIN_PATH:/usr/java/j2sdk1.4.0/jre/plugin/i386/ns4
Also append the above line to the file /etc/profile to make the setting persistent across reboots. Your work t\at this end is done. Now start X Window and run Netscape Navigator. Here, click on Edit>Preferences>Advanced and select ‘Enable Java’ and ‘Enable Java Plugin’ options.
Burning the CD
Enter the following URL in your web browser:
Click on the ‘start’ link below the browser and platform you are using. All subsequent actions may take time. You will be shown some pop-up windows titled as ‘Security Warning’. Click on the button ‘Grant always’. In the next page, click on the button labeled ‘Start’. A dialog box saying ‘Welcome to CDWserver’ will pop up. Sometimes you may get an error message saying ‘not able to connect to the server’. In that case click on the ‘start’ button again and ensure that the webCDwriter server is running. Clicking on the ‘OK’ button will prompt you to select whether you want to burn a data CD, ISO image or an audio CD. From here on, refer to the user guide accessible through the ‘Help’ menu. You can find other related documentation at /usr/share/doc/webCDwriter-2.1 on the Linux machine where you installed webCDwriter.