Download Red Hat Enterprise Linux 4 System Administration

Transcript
IV. Network-Related Configuration .............................................................................................. 129
18. Network Configuration ................................................................................................... 131
18.1. Overview .......................................................................................................... 132
18.2. Establishing an Ethernet Connection ............................................................... 132
18.3. Establishing an ISDN Connection ................................................................... 133
18.4. Establishing a Modem Connection .................................................................. 135
18.5. Establishing an xDSL Connection ................................................................... 136
18.6. Establishing a Token Ring Connection ............................................................ 138
18.7. Establishing a Wireless Connection ................................................................. 139
18.8. Managing DNS Settings .................................................................................. 141
18.9. Managing Hosts ............................................................................................... 142
18.10. Working with Profiles .................................................................................... 143
18.11. Device Aliases ............................................................................................... 145
18.12. Establishing an IPsec Connection .................................................................. 146
18.13. Saving and Restoring the Network Configuration ......................................... 151
19. Basic Firewall Configuration .......................................................................................... 153
19.1. Security Level Configuration Tool................................................................ 153
19.2. Activating the iptables Service.................................................................... 155
20. Controlling Access to Services ....................................................................................... 157
20.1. Runlevels.......................................................................................................... 157
20.2. TCP Wrappers.................................................................................................. 158
20.3. Services Configuration Tool .......................................................................... 159
20.4. ntsysv............................................................................................................... 160
20.5. chkconfig ...................................................................................................... 161
20.6. Additional Resources ....................................................................................... 161
21. OpenSSH......................................................................................................................... 163
21.1. Why Use OpenSSH?........................................................................................ 163
21.2. Configuring an OpenSSH Server ..................................................................... 163
21.3. Configuring an OpenSSH Client...................................................................... 163
21.4. Additional Resources ....................................................................................... 168
22. Network File System (NFS)............................................................................................ 169
22.1. Why Use NFS? ................................................................................................ 169
22.2. Mounting NFS File Systems ............................................................................ 169
22.3. Exporting NFS File Systems............................................................................ 171
22.4. Additional Resources ....................................................................................... 175
23. Samba.............................................................................................................................. 177
23.1. Why Use Samba? ............................................................................................. 177
23.2. Configuring a Samba Server ............................................................................ 177
23.3. Connecting to a Samba Share .......................................................................... 183
23.4. Additional Resources ....................................................................................... 185
24. Dynamic Host Configuration Protocol (DHCP) ............................................................. 187
24.1. Why Use DHCP? ............................................................................................. 187
24.2. Configuring a DHCP Server ............................................................................ 187
24.3. Configuring a DHCP Client ............................................................................. 192
24.4. Additional Resources ....................................................................................... 193
25. Apache HTTP Server Configuration ............................................................................... 195
25.1. Basic Settings................................................................................................... 195
25.2. Default Settings................................................................................................ 197
25.3. Virtual Hosts Settings ...................................................................................... 202
25.4. Server Settings ................................................................................................. 205
25.5. Performance Tuning......................................................................................... 207
25.6. Saving Your Settings ........................................................................................ 207
25.7. Additional Resources ....................................................................................... 208
26. Apache HTTP Secure Server Configuration ................................................................... 211
26.1. Introduction ...................................................................................................... 211
26.2. An Overview of Security-Related Packages .................................................... 211