Part V. Servers

This part discusses various topics related to servers such as how to set up a web server or share files and directories over a network.

Table of Contents

12. Web Servers
12.1. The Apache HTTP Server
12.1.1. Notable Changes
12.1.2. Updating the Configuration
12.1.3. Running the httpd Service
12.1.4. Editing the Configuration Files
12.1.5. Working with Modules
12.1.6. Setting Up Virtual Hosts
12.1.7. Setting Up an SSL Server
12.1.8. Enabling the mod_ssl Module
12.1.9. Enabling the mod_nss Module
12.1.10. Using an Existing Key and Certificate
12.1.11. Generating a New Key and Certificate
12.1.12. Configure the Firewall for HTTP and HTTPS Using the Command Line
12.1.13. Additional Resources
13. Mail Servers
13.1. Email Protocols
13.1.1. Mail Transport Protocols
13.1.2. Mail Access Protocols
13.2. Email Program Classifications
13.2.1. Mail Transport Agent
13.2.2. Mail Delivery Agent
13.2.3. Mail User Agent
13.3. Mail Transport Agents
13.3.1. Postfix
13.3.2. Sendmail
13.3.3. Fetchmail
13.3.4. Mail Transport Agent (MTA) Configuration
13.4. Mail Delivery Agents
13.4.1. Procmail Configuration
13.4.2. Procmail Recipes
13.5. Mail User Agents
13.5.1. Securing Communication
13.6. Additional Resources
13.6.1. Installed Documentation
13.6.2. Online Documentation
13.6.3. Related Books
14. File and Print Servers
14.1. Samba
14.1.1. Introduction to Samba
14.1.2. Samba Daemons and Related Services
14.1.3. Connecting to a Samba Share
14.1.4. Mounting the Share
14.1.5. Configuring a Samba Server
14.1.6. Starting and Stopping Samba
14.1.7. Samba Security Modes
14.1.8. Samba Network Browsing
14.1.9. Samba Distribution Programs
14.1.10. Additional Resources
14.2. FTP
14.2.1. The File Transfer Protocol
14.2.2. The vsftpd Server
14.2.3. Additional Resources
14.3. Print Settings
14.3.1. Starting the Print Settings Configuration Tool
14.3.2. Starting Printer Setup
14.3.3. Adding a Local Printer
14.3.4. Adding an AppSocket/HP JetDirect printer
14.3.5. Adding an IPP Printer
14.3.6. Adding an LPD/LPR Host or Printer
14.3.7. Adding a Samba (SMB) printer
14.3.8. Selecting the Printer Model and Finishing
14.3.9. Printing a Test Page
14.3.10. Modifying Existing Printers
14.3.11. Additional Resources
15. Configuring NTP Using the chrony Suite
15.1. Introduction to the chrony Suite
15.1.1. Differences Between ntpd and chronyd
15.1.2. Choosing Between NTP Daemons
15.2. Understanding chrony and Its Configuration
15.2.1. Understanding chronyd
15.2.2. Understanding chronyc
15.2.3. Understanding the chrony Configuration Commands
15.2.4. Security with chronyc
15.3. Using chrony
15.3.1. Installing chrony
15.3.2. Checking the Status of chronyd
15.3.3. Starting chronyd
15.3.4. Stopping chronyd
15.3.5. Checking if chrony is Synchronized
15.3.6. Manually Adjusting the System Clock
15.4. Setting Up chrony for Different Environments
15.4.1. Setting Up chrony for a System Which is Infrequently Connected
15.4.2. Setting Up chrony for a System in an Isolated Network
15.5. Using chronyc
15.5.1. Using chronyc to Control chronyd
15.5.2. Using chronyc for Remote Administration
15.6. Additional Resources
15.6.1. Installed Documentation
15.6.2. Online Documentation
16. Configuring NTP Using ntpd
16.1. Introduction to NTP
16.2. NTP Strata
16.3. Understanding NTP
16.4. Understanding the Drift File
16.5. UTC, Timezones, and DST
16.6. Authentication Options for NTP
16.7. Managing the Time on Virtual Machines
16.8. Understanding Leap Seconds
16.9. Understanding the ntpd Configuration File
16.10. Understanding the ntpd Sysconfig File
16.11. Disabling chrony
16.12. Checking if the NTP Daemon is Installed
16.13. Installing the NTP Daemon (ntpd)
16.14. Checking the Status of NTP
16.15. Configure the Firewall to Allow Incoming NTP Packets
16.15.1. Change the Firewall Settings
16.15.2. Open Ports in the Firewall for NTP Packets
16.16. Configure ntpdate Servers
16.17. Configure NTP
16.17.1. Configure Access Control to an NTP Service
16.17.2. Configure Rate Limiting Access to an NTP Service
16.17.3. Adding a Peer Address
16.17.4. Adding a Server Address
16.17.5. Adding a Broadcast or Multicast Server Address
16.17.6. Adding a Manycast Client Address
16.17.7. Adding a Broadcast Client Address
16.17.8. Adding a Manycast Server Address
16.17.9. Adding a Multicast Client Address
16.17.10. Configuring the Burst Option
16.17.11. Configuring the iburst Option
16.17.12. Configuring Symmetric Authentication Using a Key
16.17.13. Configuring the Poll Interval
16.17.14. Configuring Server Preference
16.17.15. Configuring the Time-to-Live for NTP Packets
16.17.16. Configuring the NTP Version to Use
16.18. Configuring the Hardware Clock Update
16.19. Configuring Clock Sources
16.20. Additional Resources
16.20.1. Installed Documentation
16.20.2. Useful Websites
17. Configuring PTP Using ptp4l
17.1. Introduction to PTP
17.1.1. Understanding PTP
17.1.2. Advantages of PTP
17.2. Using PTP
17.2.1. Checking for Driver and Hardware Support
17.2.2. Installing PTP
17.2.3. Starting ptp4l
17.3. Using PTP with Multiple Interfaces
17.4. Specifying a Configuration File
17.5. Using the PTP Management Client
17.6. Synchronizing the Clocks
17.7. Verifying Time Synchronization
17.8. Serving PTP Time with NTP
17.9. Serving NTP Time with PTP
17.10. Synchronize to PTP or NTP Time Using timemaster
17.10.1. Starting timemaster as a Service
17.10.2. Understanding the timemaster Configuration File
17.10.3. Configuring timemaster Options
17.11. Improving Accuracy
17.12. Additional Resources
17.12.1. Installed Documentation
17.12.2. Useful Websites