1. | What do LAN, WAN, TCP/IP, PPP, and ISDN stand for? |
|
2. | Determine a Public Class C IP address and specify it with netmask . |
|
3. | Determine various IP ranges available to be used as Private IP addresses for your LAN. |
|
4. | Write down the steps to change the Apache 2 Web server port number from 80 to 81, on which Apache will listen for incoming requests . |
|
5. | Check the Apache Web server configuration file ( httpd.conf ) for syntax errors. |
|
6. | Restart the Apache Web server without affecting any connected clients . |
|
7. | Using the RPM command-line interface, determine the FTP server currently installed on your system. |
|
8. | Change the FTP greeting banner on your vsftpd server and test it. |
|
9. | Check the print queue using the command line utilities. |
|
10. | Check the Samba configuration file ( /etc/samba/smb.conf ) for correctness. |
|
11. | Check the mail queue on your Mail server. |
|
12. | What is the location of the DHCP server configuration file? |
|
Answers
1. | These abbreviations stand for the following: LAN: Local Area Network WAN: Wide Area Network TCP/IP: Transmission Control Protocol / Internet Protocol PPP: Point-to-Point Protocol ISDN: Integrated Services Digital Network |
2. | 192.168.1.10 with a netmask of 255.255.255.0 is a Public Class C IP address. |
3. | Following are the Private IP ranges available to be used in your LAN: 10.0.0.0 “10.255.255.255 172.16.0.0 “172.31.255.255 192.168.0.0 “192.168.255.255 |
4. | Following are the steps to change the Apache port number to listen for inkling requests: a. Open the /etc/httpd/conf/httpd.conf file in your preferred editor. b. Search for the following configuration line: Listen 80 c. Change this line to the following: Listen 81 d. Save the file. e. the Apache Web Server using the service command as follows : service http restart |
5. | To check the httpd.conf configuration file for syntax errors, use the following command: service httpd configtest . |
6. | To restart the Apache Web Server without affecting any connected client and without any downtime on the Web site hosted on Apache Web Server, use the following command: service httpd graceful . The graceful option restarts the Apache httpd daemon without aborting currently open connections. |
7. | You can find out any RPM package installed on your system by using the following command: rpm -qi vsftpd . If you can t remember the exact name of the package, you can also search for a package using the following command to display the list of packages installed on your system with ftp in their package names : rpm -qagrep ftp . Once you learn the name of the package, you can get more information about that package using the rpm -qi [ package name ] command. |
8. | To change the ftp banner on your vsftpd server, follow these steps: a. Open the vsftpd configuration file /etc/vsftpd/vsftpd.conf in your preferred text editor. b. Find the following configuration directive: #ftpd_banner=Welcome to blah FTP service . c. Uncomment and change the preceding configuration directive to look something like the following: ftpd_banner=Welcome to the Wrox Press FTP service . d. Save the configuration file and restart the vsftpd service as follows: service vsftpd restart . |
9. | You can check the print queue on the print server using the lpq command line utility as follows: lpq -a . |
10. | The SAMBA package comes with a command line utility called testparm to check the SAMBA configuration file. Execute the command on the command line to check the /etc./samba/smb.conf file as follows: testparm . |
11. | Execute the mailq command on the command line as follows: mailq . |
12. | The location of the DHCP configuration file is /etc/dhcpd.conf . |