Question: Assignment Overview Shell scripting is commonly used to automate changes and install updates. Write a script to automatically install software on the Centos Server from
Assignment Overview
Shell scripting is commonly used to automate changes and install updates.
Write a script to automatically install software on the Centos Server from Homework 3. Make sure that the script performs the following actions. You are only required to configure the service if the following requirements ask you to.
Instructions
Create a script that performs the following tasks:
Updates the entire Linux machine to the latest version
Installs a mail server (postfix) for sending and receiving email
Installs a mail server (dovecot) delivering messages
Installs a mail client SquirrelMail for viewing messages
Restart httpd (as this is required)
Install FreeIPA an LDAP and DNS server - https://www.freeipa.org/page/Quick_Start_GuideLinks to an external site.
Configure FreeIPA from the script using a silent install
We have provided a few external resource links to assist you and as always the instructor is here to help
Students should submit a .sh file named serviceInstall.sh
This will be graded according to the supplied rubric
RUBRIC:
Homework Rubric: Week 6
| Criteria | Ratings | Pts | ||
|---|---|---|---|---|
| This criterion is linked to a Learning OutcomeStudent uploads a .sh file with the correct first line and logger is used to log all steps to /var/log/messages or syslog. |
| 1 pts | ||
| This criterion is linked to a Learning OutcomeThe file includes an update command to update all packages on the server. |
| 1 pts | ||
| This criterion is linked to a Learning OutcomeThe script installs all selected applications. |
| 2 pts | ||
| This criterion is linked to a Learning OutcomeThe script correctly configures FreeIPA by following the quick start guide and using a silent install method. |
| 2 pts | ||
| This criterion is linked to a Learning OutcomeThe file cleans up any temporary files. |
| 2 pts | ||
| Total Points: 8 | ||||
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
