question archive IS264: Linux II Homework 2: Soyinka Chapter 8 (7th ed) or 9 (8th ed) 2021 Review the material in the ‘Core System Services’ chapter (8 or 9 depending on your Soyinka edition) and then complete the questions below directly in this document
Subject:Computer SciencePrice:0 Bought3
IS264: Linux II
Homework 2: Soyinka Chapter 8 (7th ed) or 9 (8th ed) 2021
Review the material in the ‘Core System Services’ chapter (8 or 9 depending on your Soyinka edition) and then complete the questions below directly in this document. The material to be posted for the question would include (in most cases) a copy of the command you issue plus the system response; on situations where the system response is lengthy, only the first 12-15 lines need be copied into the document.
1) What is the system and service manager on our Fedora VMs? How can you verify that on your system? (show the command below). What version of Linux is running on fawad, and what is it’s system manager? (show commands below that answer the questions – with output included).
2) Investigate the units active on your system (units are described in the Soyinka chapter). Copy and paste here the results of commands to show the units for target, mount, and socket types. You only need to include the first 10 lines or so of each unit result.
3) Indicate the commands to turn off and then disable the Fedora firewall service, as well as the command to temporarily disable SE Linux (during a log-on session). Issue all these commands on your system. What commands should you then issue to verify that all steps were successful? (copy in the results of the verification commands to this document)
4) Install xinetd as discussed in the text and perform the echo service example in the text. Issue the command "telnet localhost 7" prior to completing work on the Echo service; copy and paste the screen response here to show the result. Then complete the echo-stream service steps as discussed in the text and show the result of the "telnet localhost 7" command (copy and paste the system response). (Note that the way to terminate the process once in telnet is to type ctrl-] and then type the command 'quit')
5) Examining system startup messages (syslog) in versions prior to Fedora 20 was based on a utility called rsyslog. However, current Fedora versions no longer have rsyslog installed by default, and instead use a utility called journalctl. To compare the two utility processes, do the following:
a) after a reboot, run the "journalctl" and "journalctl -f" commands and copy 10 lines from each into the document
b) reinstall rsyslog and follow the text instructions regarding the change to the rsyslog.conf file to direct Kernel messages to a file called /var/log/kernmessages. Reboot your system and copy/paste the top 10 lines of the new kernmessages file to your assignment document (see Soyinka for details).
c) use your results from step b to build a grep of the journalctl output to try to locate the same information in the journal as you had from rsyslog. Copy/paste the results here.
6) After reviewing the information in the crontab section of the text edit your Fedora user's crontab file to cause it to send 3 pings to yahoo.com every 2 minutes; have the result of the pings *add* to a file called yahooping in your user home directory. What command did you add to crontab (indicate below)? Include a copy/paste of your yahooping file after at least 2 cycles (i.e., 4 minutes).
Important: after you have accomplished the crontab step, please *remove* your crontab entry so that it does not continue to ping!
Submit your completed document by clicking on the assignment title which is a link to an upload page: paste your document and submit.