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
What are the two common server software packages used for sharing files?
Network File System (NFS) is a protocol used to share folders in a network environment. With NFS, a linux system can share a portion of its virtual directory on the network to allow access by clients as well as other servers
The packed used in linux is nfs-utils
Samba was created to allow Linux systems to interact with the windows client and servers
What are some popular DHCP clients for Linux?
1) dhclient
2) dhcpcd
3) pump
What does DHCP stand for?
Dynamic Host Configuration Protocol
What are the two main logging packages used in Linux?
rsyslogd: The SysVinit and Upstart systems utilize the rsyslogd service program to accept logging data from remote servers
journald: The Systemd system utilizes the journald service for both local and remote logging of system information.
Both rsyslogd and journald utilize configuration files that allow you to define just how data is logged and what clients the server accepts log messages from
Describe SNMP
Simple Network Management Protocol (DNMP) provides a way for an administrator to query remote network devices and servers to obtain information about their configuration, status and even performance
The most popular SNMP package in Linux is the net-snmp package
Describe the Network Time Protocol (NTP)
The NTP allows servers and clients to synchronize on the same time source across multiple networks.
Implementing Security
Each Linux server maintains its own list of valid user accounts that have access on that server
Describe the Network Information System(NIS)
The Network Information System (NIS) is a directory service that allows both client and servers to share a common naming directory. The NIS naming directory is often used as a common repository for user accounts, hostnames, and even email information on local networks.
The nis-utils package is used for implementing an NIS or NIS+ directory