0% found this document useful (0 votes)
9 views3 pages

Assignment - Group Activity

Uploaded by

lucix910
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views3 pages

Assignment - Group Activity

Uploaded by

lucix910
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Assignment

Group activity
1. Choose one scenario within below scenarios.
2. Prepare document with each steps you follows to do the activity and attach the screenshots for
each steps.
Content of the document:
1. Introduction about the scenario
2. goal
3. What are the tools you have used
4. Steps with screenshots
5. Conclusion
3. Prepare complete Document and upload it to the LMS with the name of Document Title.

Scenarios:

1. Troubleshooting Scenario: Solve the Mystery Issue

 Objective: Develop troubleshooting and problem-solving skills.


 Activity: Set up a Linux environment with multiple “mystery” issues (e.g., a
misconfigured network interface, full disk, or stopped service). Each group needs to
troubleshoot and resolve as many issues as possible.
 Tools Used: ping, ps, df, systemctl, top
 Goal: Groups apply problem-solving skills and use troubleshooting commands to identify
and fix the issues. This scenario mimics real-world situations where multiple issues can
affect system functionality.

2. Mini-Project: Deploy a Simple Web Server

 Objective: Gain experience with setting up and configuring a web server.


 Activity: Each group sets up a web server on a Linux machine.
o Install Apache or Nginx.
o Configure a simple HTML page.
o Ensure the server is accessible on the network.
 Commands Used: sudo apt install apache2/nginx, systemctl start, nano
 Goal: Groups practice installation and basic configuration of a web server. This mini-
project provides a practical look at setting up server software and managing it on Linux.

3. Cron Job Scheduling Race

 Objective: Understand scheduling and automation with cron.


 Activity: Give groups a list of tasks to automate using cron jobs. Examples include:
o Create a backup of a directory every 10 minutes.
o Log system CPU and memory usage to a file every hour.
o Send a “Hello World” message to a specific file every 5 minutes.
 Commands Used: crontab -e, echo, top, df, tar
 Goal: The group that completes the most scheduled tasks within the time limit wins. This
activity builds familiarity with cron and task automation.

4. Log Analysis and Reporting Challenge

 Objective: Practice log file analysis and summary generation.


 Activity: Provide a sample log file and give groups a set of tasks:
o Extract specific information (e.g., lines containing “ERROR” or “WARN”).
o Count the number of occurrences of certain patterns.
o Generate a summary report of key log events and save it in a separate file.
 Commands Used: grep, awk, sed, wc, echo
 Goal: Groups learn to navigate and extract information from log files, which is essential
in real-world system administration for troubleshooting and monitoring.

5. Disk Space and Process Management Drill

 Objective: Familiarize with disk space management, process control, and system
monitoring.
 Activity: Provide groups with a Linux system setup where disk space is nearly full and
system performance is impacted by a high-CPU process.
o Task 1: Find large files or unused files and delete them to free up space.
o Task 2: Identify the high-CPU process and stop or prioritize it accordingly.
 Tools Used: df, du, ps, top, kill
 Goal: Groups practice identifying and resolving issues related to disk usage and process
management. They’ll learn about monitoring, analyzing disk space, and controlling
processes.

6. Network Troubleshooting Lab

 Objective: Practice networking and troubleshooting commands.


 Activity: Set up a scenario where certain network services are intentionally
misconfigured (e.g., DNS is misconfigured, a specific port is closed). Each group must
identify and resolve network issues to “restore” network connectivity.
 Tools Used: ping, traceroute, ifconfig/ip, netstat, ss, nslookup.
 Goal: Groups work through network troubleshooting steps, identify the root cause, and
discuss how they solved each issue. This is a hands-on way to teach common network
utilities and troubleshooting processes.

7. User Management and Permissions Challenge

 Objective: Understand user, group, and file permission management.


 Activity: Give each group a task to set up a simulated "company structure" on a Linux
system. They will:
o Create multiple users and groups.
o Set permissions on directories to restrict access based on group membership (e.g.,
only the HR group can access the HR directory).
o Configure file permissions so users can read or write files only according to their
group permissions.
 Goal: Groups will practice user management (useradd, usermod), group management
(groupadd), and permission handling (chmod, chown) to ensure proper access control.

8. Collaborative Scripting Project

 Objective: Practice basic scripting and automation.


 Activity: Assign each group a small scripting project where they need to create a script
that performs a set of actions. Example projects include:
o A script that organizes files by file type into separate folders.
o A backup script that compresses and saves certain files into a backup directory.
o A log monitoring script that identifies lines with specific keywords (e.g.,
“ERROR” or “WARNING”) in a log file and outputs a summary.
 Goal: Groups work together to brainstorm, write, test, and troubleshoot their scripts. This
exercise reinforces concepts around file handling, conditionals, and basic loops in bash
scripting.

9. Command-Line Scavenger Hunt

 Objective: Improve familiarity with essential Linux commands.


 Activity: Divide students into groups and give each group a list of tasks they need to
complete using specific Linux commands. Examples include:
o Create a directory structure with multiple subdirectories.
o Search for a file with specific content using grep.
o Display the top 5 largest files in a given directory using du.
o Check the current network connections with netstat or ss.
 Goal: First group to complete all tasks correctly wins. Each task requires using a
different set of commands, encouraging students to explore various tools in Linux.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy