Learning Debian GNU/LinuxBy Bill McCarty
1st Edition September 1999
1-56592-705-2, Order Number: 7052
360 pages, $34.95 , Includes CD-ROM
This section gives details on the installation and configuration of packages mentioned throughout the book.
Table C.1 describes the X servers included in Debian GNU/Linux and identifies the supported cards and chipsets.
Table C.1: X Servers for Accelerated Graphics Cards
Supported Cards and Chipsets
IBM 8514/A and other compatible cards
All AGX cards
#9 Imagine 128 (including Series II) cards
ATI cards using the Mach32 chipset
ATI cards using the Mach64 chipset
ATI cards using the Mach8 chipset
Diamond Viper and other P9000 cards (excluding cards using the 9100)
#9 cards, most Diamond cards, some Orchid cards, and others
Cards using the S3 ViRGE chipset, including the DX, GX, and VX
ET4000/W32 cards, excluding standard ET4000 cards
Table C.2 describes other X-related packages you should install in order to run X.
Table C.2: Recommended X-Related Packages
Miscellaneous X clients
100-dpi fonts for X servers
75-dpi fonts for X servers
Standard fonts for X servers
Scalable fonts for X servers
Basic components of the X Windows System
Shared libraries for X clients
X Pixmap libraries
Components common to X servers
X terminal emulator
Table C.3 describes the packages you should install in order to run GNOME.
Table C.3: GNOME-Related Packages
GNOME file manager
GNOME applications and utilities
GNOME window managers
Window Maker compiled with GNOME support
Window Maker Users' Guide
Debian's rigid adherence to exclusively open-source software means that many programs, like WordPerfect or Applixware, are not (currently) available as Debian packages. Often, though, a pre-compiled binary is available; follow the instructions (usually found in a README file) to install the software.
To install StarOffice, install the Debian package staroffice3 and follow the instructions that accompany it. You'll also need to download the StarOffice files from Sun's web site, http://www.sun.com/products/staroffice/.
To install Applixware, download the files from the Applix web site, http://www.applix.com/.
To install WordPerfect for Linux, download the files from Corel's Web site, http://www.corel.com/.
Table C.4 lists the packages you should install to experiment with WINE. Mesa and WINE are frequently updated. Ideally, you should download the latest versions of Mesa and WINE from http://www.winehq.com/. However, the WINE developers do not currently make Debian packages available.
Table C.4: WINE-Related Packages
Mesa graphics libarary
DOOM and Quake II pose different challenges while installing. The following sections will lead you through the installation for each.
You can download Linux Doom and the required IWAD file from id Software's web site, http://www.idsoftware.com/archives/. You can download either an SVGA ( linuxsdoom) or X11 ( linuxxdoom) version of the game. The X11 version requires some deprecated libraries that are no longer part of the Debian distribution; it can't be run without extraordinary measures. However, id Software has released the source code for Doom, and at least one Debian developer has compiled an X11 version of Doom that's compatible with the current libraries. See the mail list archive on the Debian web site, http://www.debian.org/.
To install the files, move to the directory into which you downloaded them and issue the following commands:tar zxvf linuxsdoom.tar.gz gunzip doom-1.8.wad.gz
If you prefer, you can download and install the DOSEMU package, which lets you run the MS-DOS version of Doom under Linux.
To install Quake II under Linux, you'll need the quake2 package and the game data. You can obtain the game data in any of several ways. The best way is by purchasing the retail Quake II CD-ROM. However, if you want merely to try out the game, you can download the Windows 9x demo file.
To install Quake II, issue the following command:apt-get quake2
If your video card has Voodoo acceleration and you want to enable the acceleration, you'll face several challenges. See /usr/doc/quake2/README for details. Also see the Linux Quake HOWTO ( http://www.linuxquake.com/howto/Quake-HOWTO.html).
If you have the Quake II CD-ROM, mount it and copy the files in the Install/Data directory (and all its subdirectories) to the current working directory. To copy the subdirectories, use the -r argument:mount -t iso9660 /dev/cdrom /cdrom cp -r /cdrom/Install/Data/* .
Now you can delete some unneeded files:rm -f /usr/local/quake2/*.dll rm -f /usr/local/quake2/quake2.exe rm -f /usr/local/quake2/baseq2/gamex386.dll
If you have the self-extracting demo file ( q2-314-demo-x86.exe or a similarly named file) rather than the CD-ROM, place the file in the current working directory and use the unzip utility to extract its contents:unzip q2-314-demo-x86.exe
If your file has a different name, adjust the command accordingly. If your system doesn't include the unzip package, you'll have to install it before you can extract the contents of the demo file.
Then, rearrange some files and delete others:rm -rf Splash Setup.exe mv Install/Data/baseq2 . mv Install/Data/DOCS docs rm -rf Install rm -f baseq2/gamex86.dll
These packages will help establish a local network.
When installing the lynx package, the configuration script asks what default URL should be used when invoking lynx. If you have a favorite web page that's available at all times - even when you're not dialed into your ISP, for example - you can specify that page. Otherwise, you may find it convenient to specify the URL file:/usr/doc/lynx/lynx_help/lynx_help_main.html, the main lynx help page.
To install samba, install the packages listed in Table C.5.
Table C.5: Samba-Related Packages
A Microsoft-compatible network server.
Web-based configuration tool for Samba.
The samba configuration script will ask if you want to run samba as a daemon or from inetd.conf. If your expected usage is quite low, it's appropriate to run samba from inetd.conf; otherwise you should run it as a daemon.
The samba configuration script will also ask if you are going to use encrypted passwords. You should respond yes in order to configure samba to work properly with Windows 98 and Windows NT. To establish an encrypted password for a user, issue the smbpasswd command. For example:debian:/etc/samba# smbpasswd debian:/etc/samba# smbpasswd bmccarty New SMB password: Retype new SMB password: Password changed for user bmccarty.
To use swat, you must add a line to the /etc/services file:swat 901/tcp
Place the new line so that the number of the related service (901) is properly sequenced.
You must also add a line to /etc/inetd.conf:swat stream tcp nowait.400 root /usr/sbin/swat swat
You may find it convenient to add the line near the line that refers to smbd, if any.
At present, swat is considered unstable, though the author has used it extensively without difficulty. Nevertheless, you may want to obtain an updated version - when available - from the Debian web site, http://www.debian.org/.
While most of these packages are available as Debian packages, Netscape Navigator is not (at least not yet). More information is available in each subsection.
To install wvdial, issue the following command:apt-get install wvdial
The installation script asks you for:
Next, the install script scans your serial ports to locate your modem and establish its configuration. Generally, the scan is successful; however, some systems hang, forcing you to reboot the system and configure the modem manually.
Here's a typical wvdial.conf file, as built by the configuration script:[Dialer Defaults] Phone = 1-714-555-0612 Username = bmccarty Password = abrupti New PPPD = yes Modem = /dev/ttyS0 Baud = 57600 Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
Netscape Navigator is subject to distribution restrictions, which prevent it from being included in the Debian GNU/Linux distribution. However, you can install Navigator by downloading and installing the packages netscape-base-4, netscape-base-45, netscape-java-45, navigator-base-45, navigator-nethelp45, and navigator-smotif45, which are available on the Debian web site, http://www.debian.org/.
To install seyon, simply install the package by using the command:apt-get --install seyon
A sample configuration dialog follows:Do you have a color X11 system? (Y/n)y Where is your modem located? (0) /dev/ttyS0 (equivalent to DOS COM1) (1) /dev/ttyS1 (equivalent to DOS COM2) (2) /dev/ttyS2 (equivalent to DOS COM3) (3) /dev/ttyS3 (equivalent to DOS COM4) Enter (0/1/2/3) -> 1 Modem configured for: /dev/ttyS1 *** Important *** Users must be added to the 'dialout' group to allow access to the modem device.
To add the user
bmccarty, for example, to the
dialoutgroup, issue the commandaddgroup bmccarty dialout
To install minicom, issue the following commands:apt-get install minicom
The minicom configuration will ask if you want to use the Meta ( Alt) key as the minicom command key. Doing so precludes you from using minicom under X, so you should normally respond No. After installing minicom you can set system-wide options by issuing the commandminicom -s
You must be logged in as
rootto accomplish this. As with seyon, ordinary users cannot access minicom unless they are members of the
U.S. law forbids the export of strong cryptography software. Consequently, the secure shell packages cannot be included on the CD-ROM accompanying this book.
To install the Apache web server, issue the following commands:apt-get install apache
The configuration script will ask:
- The email address of the server administrator (ServerAdmin).
Specify your email address.
- The absolute path of the directory that will be the root directory (DocumentRoot).
Specify /var/www or another directory.
- What port Apache should listen on
Specify 80 or another port of your choice. If you specify a port other than 80, users must include the port in the URL of each page accessed.
- Whether you want to manually choose the modules to be loaded
Normally, you should respond No.
- Whether to save changes to the configuration files
Normally, you should respond Yes.
- Whether to restart Apache
Normally, you should respond Yes.
Owing to U.S. export laws, these packages do not appear on the CD-ROM. To install the Secure Shell client and server, issue the following commands:apt-get install ssh
Your sources.list file must point to a source for non-US packages.
Back to: Learning Debian GNU/Linux
© 2001, O'Reilly & Associates, Inc.