
Obtaining the Kernel Sources ........................................................ 420
Patching the Kernel
..................................................................... 421
Compiling the Kernel
................................................................... 422
Using
xconfig to Configure the Kernel.................................... 425
Creating an Initial RAM Disk Image
........................................ 429
When Something Goes Wrong
...................................................... 429
Errors During Compile
......................................................... 429
Runtime Errors, Boot Loader Problems, and Kernel Oops
............ 430
References
.................................................................................. 431
Part IV Ubuntu as a Server
22 File and Print 433
Using the Network File System
...................................................... 434
Installing and Starting or Stopping NFS
................................... 434
NFS Server Configuration
...................................................... 434
NFS Client Configuration
...................................................... 436
Putting Samba to Work
................................................................ 437
Manually Configuring Samba with
/etc/samba/smb.conf........... 438
Testing Samba with the
testparm Command............................ 442
Starting, Stopping, and Restarting the
smbd Daemon.................. 442
Mounting Samba Shares
....................................................... 443
Configuring Samba Using SWAT
............................................. 444
Network and Remote Printing with Ubuntu
..................................... 448
Creating Network Printers
..................................................... 448
Using the Common UNIX Printing System GUI
........................ 450
Avoiding Printer Support Problems
......................................... 453
References
.................................................................................. 454
23 Apache Web Server Management 455
About the Apache Web Server
........................................................ 455
Installing the Apache Server
.......................................................... 457
Installing from the Ubuntu Repositories
.................................. 457
Building the Source Yourself
.................................................. 458
Starting and Stopping Apache
....................................................... 460
Starting the Apache Server Manually
....................................... 461
Using
/etc/init.d/apache2 .................................................. 462
Runtime Server Configuration Settings
............................................ 463
Runtime Configuration Directives
.......................................... 464
Editing
apache2.conf ........................................................... 464
Apache Multiprocessing Modules
........................................... 467
Using
.htaccess Configuration Files....................................... 467
Ubuntu Unleashed
xvi