Installation guide
7.4. Configuring Services ........................................................................................ 89
7.5. Activating the Firewall..................................................................................... 90
8. Controlling Access to Services .......................................................................................91
8.1. Runlevels ............................................................................................................91
8.2. TCP Wrappers....................................................................................................92
8.3. Serviceconf ........................................................................................................ 93
8.4. ntsysv.................................................................................................................. 94
8.5. chkconfig .......................................................................................................... 95
8.6. Additional Resources ....................................................................................... 95
9. OpenSSH ...........................................................................................................................97
9.1. Why Use OpenSSH? ......................................................................................... 97
9.2. Configuring an OpenSSH Server.................................................................... 97
9.3. Configuring an OpenSSH Client .................................................................... 97
9.4. Additional Resources ..................................................................................... 102
10. Network File System (NFS) ........................................................................................ 103
10.1. Why Use NFS?............................................................................................... 103
10.2. Mounting NFS Filesystems..........................................................................103
10.3. Exporting NFS Filesystems.......................................................................... 104
10.4. Additional Resources ................................................................................... 106
11. Samba............................................................................................................................. 107
11.1. Why Use Samba?...........................................................................................107
11.2. Configuring Samba ....................................................................................... 107
11.3. Connecting to a Samba Share...................................................................... 109
11.4. Additional Resources ................................................................................... 110
12. Dynamic Host Configuration Protocol (DHCP)......................................................111
12.1. Why Use DHCP?........................................................................................... 111
12.2. Configuring a DHCP Server........................................................................111
12.3. Configuring a DHCP Client ........................................................................ 116
12.4. Additional Resources ................................................................................... 116
13. Apache Configuration.................................................................................................119
13.1. Basic Settings ................................................................................................. 119
13.2. Default Settings ............................................................................................. 121
13.3. Virtual Hosts Settings ................................................................................... 127
13.4. Server Settings ............................................................................................... 132
13.5. Performance Tuning .....................................................................................134
13.6. Saving Your Settings..................................................................................... 135
13.7. Additional Resources ................................................................................... 135
14. Apache Secure Server Configuration........................................................................ 137
14.1. Introduction ...................................................................................................137
14.2. An Overview of Security-Related Packages ............................................. 137
14.3. An Overview of Certificates and Security................................................. 139
14.4. Using Pre-Existing Keys and Certificates..................................................140
14.5. Types of Certificates...................................................................................... 141
14.6. Generating a Key........................................................................................... 142
14.7. Generating a Certificate Request to Send to a CA.................................... 143
14.8. Creating a Self-Signed Certificate...............................................................145
14.9. Testing Your Certificate ................................................................................ 146
14.10. Accessing Your Secure Server ................................................................... 147
14.11. Additional Resources .................................................................................148
15. BIND Configuration .................................................................................................... 149
15.1. Adding a Forward Master Zone .................................................................150
15.2. Adding a Reverse Master Zone .................................................................. 152
15.3. Adding a Slave Zone ....................................................................................154
16. Mail Transport Agent (MTA) Configuration............................................................ 155