
Table of Contents
xxix
Chapter 4: Running DHCP and DNS. . . . . . . . . . . . . . . . . . . . . . . . . . . . .707
Running a DHCP Server ...............................................................................707
Installing DHCP ...................................................................................708
Con guring DHCP ..............................................................................709
Starting DHCP .....................................................................................710
Running a DNS Server .................................................................................711
Installing BIND ....................................................................................711
Looking at BIND con guration les .................................................712
Restarting BIND ..................................................................................716
Chapter 5: Doing the Samba Dance . . . . . . . . . . . . . . . . . . . . . . . . . . . .717
Understanding Samba .................................................................................717
Installing Samba ...........................................................................................718
Starting and Stopping Samba .....................................................................719
Using the Samba Server Con guration Tool ............................................721
Con guring server settings...............................................................722
Con guring Samba users ..................................................................723
Creating a share .................................................................................725
Editing the smb.conf File ............................................................................727
Using the Samba Client ...............................................................................729
Chapter 6: Running Apache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .731
Installing Apache .........................................................................................731
Starting and Stopping Apache ...................................................................732
Con rming that Apache Is Running ..........................................................733
Using the HTTP Con guration Tool ..........................................................734
Restricting Access to an Apache Server ...................................................735
Con guring Virtual Hosts ...........................................................................736
Con guring the default host .............................................................736
Creating a virtual host .......................................................................739
Setting the Apache User Account ..............................................................740
Manually Editing Apache’s Con guration Files .......................................741
Creating Web Pages .....................................................................................741
Chapter 7: Running Sendmail. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .743
Understanding E-Mail ..................................................................................743
Installing Sendmail ......................................................................................744
Modifying sendmail.mc ...............................................................................745
Enabling connections ........................................................................746
Enabling masquerading .....................................................................747
Setting up aliases ...............................................................................747
Using SpamAssassin ....................................................................................748
Installing SpamAssassin ....................................................................748
Customizing SpamAssassin ..............................................................749
Blacklisting and whitelisting e-mail addresses ..............................750
Using the Mail Console Client ....................................................................750
Using Evolution ............................................................................................752
02_625873-ftoc.indd xxix02_625873-ftoc.indd xxix 9/21/10 10:04 PM9/21/10 10:04 PM