Chapter 2: Sifting Through Services Flashcards
What are the two primary ways Linux servers run service programs?
The two primary ways linux servers run service programs are as a background process, running at all times listening for requests and as a process spawned by a parent program that listens for the requests
What is a daemon?
A daemon is when a linux service program runs continuously as a background process
How do you identify a daemon program?
Linux daemon programs often end with the letter d to indicate they’re daemon processes
What are super-servers?
Super-servers are programs that listen for network connections for several different applications. When the super-server receives a request for a service from the client, it spawns the appropriate service program
What is the original super-server program created for Linux?
The original super-servers program created for Linux was the internet daemon (inetd) application
What is the extended internet daemon (xinetd)?
The extended internet daemon is an advanced version of the inetd. It also launches service programs as requested by clients, but also contains additional features, such as access control lists (ACL’s), more advanced logging features , and the ability to set schedules to turn services on and off at different times of the day or week
What are three internet services Linux servers provide?
1) Web services
2) Database Services
3) Email Services
What are some of the Linux web servers?
1) The Apache Web Server
2) The nginX Web Server
3) The lighthttppd Web Server
What are the three most popular one-source database servers you’ll encounter when working in the Linux environment?
1) PostgreSQL
2) The MySQL Server
3) The MongoDB Server (NoSQL)
Describe the Linux email server
The Linux email server is normally divided into 3 separate functions:
1) The mail transfer agent (MTA)
2) The mail delivery agent (MDA)
3) The mail user agent (MUA)
Which one of the three functions of a Linux email server does the end user interact with?
The Mail User Agent (MUA) is the program that interacts with end users allowing them to view and manipulate email messages. The MUA’s don’t usually run on the server side but rather on the client side
What is the mail transfer agent (MTA) responsible for?
The mail transfer agent is responsible for handling both incoming and outgoing messages on the server.
Name three MTA packages that Linux uses
1) sendmail
2) Postfix
3) Exim
Describe the Mail Delivery Agent (MDA)
Responsible for delivering messages to local users. MDA Programs concentrate only on delivering messages to local users. The MDA program receives messages destined for local users from the MTA program then determines how those messages are to be delivered
Describe the two common MDA programs used in Linux
Binmail is the most popular MDA program used for Linux. Its named is derived from the location on the system bin/mail. By default, it can read email messages stored in the standard /var/spool/mail directory or can be pointed at an alternative mailbox
Procmail is popular because of its versatility in creating user-configured scripts that allows a user to direct how the server processes received emails
What are the two basic methods for sharing files in a local network environment?
1) Peer to Peer
2) Client / Server