2.0 Systems Operation and Maintenance Flashcards
Describe the ways to start server programs in Linux
Server Programs in Linux can either run continually in the background as a daemon process or be started from a super-server daemon when requested by a client
How do clients know how to contact a server program?
Server applications listen for client connections on well-known ports. Clients must send a connection requests to the server on the well-known port for the application they want to interact with
What are the commonly used components in the LAMP stack?
The LAMP stack uses the Linux operating system, the Apache web server, the MYSQL database server, and the PHP programming language to provide a platform for web applications
What are some ways a Linux server can share files in a local network?
Linux servers can use the nfs-utils package to communicate with other Linux servers to share folders using NFS.
The local Linux server can mount folders from the remote Linux server as if they were local disks.
Linux servers can also use the Samba package to share files on Windows local networks with Window client and servers as well as map folders on Windows servers
Which server packages are commonly used to support network features on a local network?
The DHCPd package provides DHCP server services to assign IP addresses to clients. The BIND package provides DNS server services to both clients and servers on a local network for hostname resolution. The net-snmp package allows you to implement remote device management using SNMP, and you can use the ntpd package to create an NTP time server for the local network
How do you create a network directory server using Linux?
The OpenLDAP package allows you to create an LDAP directory of users and devices on the local network. Clients and other servers can use the LDAP directory to authenticate users and devices on the network
How can you improve the performance of a network application?
For network applications in a high-volume environment, you can improve performance by implementing either a cluster or load balancing environment.
In a cluster, you can split application functions between multiple servers by using cluster package such as Apache Hadoop.
With load balancing, you can distribute client connections between multiple servers using packages such as HAProxy and Linux Virtual Server (LVS)
What web server is used in the popular LAMP stack?
Apache
A _____ runs in background and listens for client connection requests for a single application
daemon
Which open-source database provided fast performance and became a popular choice for web applications?
MYSQL Database
How does a server know what client request is sent to which application in a daemon?
Linux services listen own well-known ports for requests from clients
What popular open source web server can also perform as a load balancer
The nginX web server can also perform as a load balancer and send client requests to multiple backend web servers
What format does MongoDB use to store data elements in the database?
The MongoDB database server uses the JSON format for storing data records
Which part of the Linux mail process allows you to create filters to automatically redirect incoming mail messages?
The MDA allows you to create filters to match email messages to redirect to other folders
What protocol should you use to mount folders from remote Linux servers on your local Linux server?
The NFS protocol is used to share folder areas on the network with clients
The ______ software package allows your windows workstations to mount a folder stored on a Linux server
The Samba software package allows a Linux server to communicate with Windows servers and clients using the SMB protocol
What two software packages are used in Linux to maintain log files?
The rsyslogd program is used by SysV init systems to log events, and the journald program is used by Systemd systems to log events
Which software program should you load on your Linux server to synchronize its time with a standard time server?
The ntpd service uses NTP to synchronize the server time with a remote system
What software package allows a Linux server to print to a network printer?
The CUPS application provides printer drivers and services that allow Linux systems to connect with local and remote printers
If you see the named program running in background on your Linux server, what service does it provide?
The named program is part of the BIND application, which provides hostname resolution services
Which authentication packages used to be called by the name “Yellow Pages”?
The NIS package was formerly called Yellow Pages (YP), but the name had to be changed due to trademark issues
What package do you need to install to allow your Linux server to provide IP addresses to clients on your local network?
The DHCPd program provides DHCP server services on a local network
The _____ package allows you to create a secure tunnel across a private network to access your local network remotely
The OpenSSH package allows you to use certificates to establish a secure connection between two devices on the network
What server role should you implement to increase performance on your company’s website?
A web proxy server allows you to intercept client web requests and block any requests based on rules you define
A _____ allows your developers to easily deploy applications between development, test, and production
A container allows developers to develop applications in a controlled environment that can easily be deployed to other servers
Which part of the Linux mail process is responsible for sending emails to remote hosts?
The MTA package is responsible for connecting with remote mail hosts to deliver email messages
What are some typical base file and directory management activities?
The typical basic file and directory management activities include viewing and creating file, copying and moving files, and deleting files.
What commands are used for viewing and creating files in directories?
The ls, touch, and mkdir commands
What commands should you use when you need to duplicate, rename, or move files?
Use one of the mv, cp. or rsync commands
For local large file copies, the rsync utility is typically the fastest. You can quickly delete an empty directory using the rmdir utility, but for directories full of files, you will need to use the rm -r command. Also, if you need to ensure that you are removing the correct files, be sure to use the -i option on the rm utility
Describe both structures and commands involved in linking files
Linking files is rather easy to do with the ln command. However, it is important for you to describe the underlying link structure. Hard linked files share the same inode number, while soft linked files do not. Soft or symbolic links can be broken if the file they link to is removed. It is also useful to understand the readlink utility to help you explore files that have multiple links