Lab 7 status report

docx

School

Portland Community College *

*We aren’t endorsed by this school

Course

240L

Subject

Computer Science

Date

Nov 24, 2024

Type

docx

Pages

6

Uploaded by JudgeBoulder5277

Report
Name: Date: 12-1-23 Class: CIS 240L Lab 7 status report 1. What important tasks did you accomplish this week? 2. What problems did you encounter? If you had no problems, what was the most challenging aspect of this lab? What did you do to solve the problems? Include a detailed description of the problem, exact error messages (if any), and screenshots if it helps describe the problem. Status reports that demonstrate good troubleshooting skills have fewer points deducted for not completing the lab. But again the status report must provide enough details to demonstrate your trouble shooting skills. This is a real world expectation. We all get stuck on a technical problem at times. But without details in the status report, it is difficult for anyone to help. This week, I successfully mastered crucial aspects of shell scripting, particularly in Bourne or Bash Shell, focusing on automating tasks and scheduling using cron jobs. I became proficient in file manipulation commands like `cp`, `scp`, `tar`, and `rsync`, enabling efficient management of directories and data. Moreover, I explored backup strategies, ensuring data security and integrity, while also learning about process priorities using the `nice` command for system performance tuning. I engaged in client communication, proposing feasible solutions within constraints, and practically applied my knowledge by creating test environments to validate commands effectively. Overall, I achieved a comprehensive understanding of Linux system administration, scripting, and resource optimization through hands-on experience and practical application. The most challenging aspect of this lab was solving permission issues and what I found that I could do is use sudo to execute sudo mkdir -p /run/media/dmandel/BACKUP-FLASH-DRIVE/ to resolve my permission issue. 3. What did you learn?
In this lab, I learned essential shell scripting skills, focusing on Bourne or Bash Shell automation and cron job scheduling for tasks like backups and file transfers. Understanding file manipulation commands such as `cp`, `scp`, `tar`, and `rsync` was key. I also explored backup strategies for specific data, emphasizing data security and integrity alongside system-wide backups. Learning about process priorities using the `nice` command offered insights into system performance tuning. Moreover, I gained valuable experience in client communication, problem- solving within constraints, and practical application through creating test environments to validate commands. Overall, this lab provided a solid foundation in Linux system administration, scripting, and resource management. 4. Include the couple paragraphs your thoughts on this situation and the complications and considerations from Task 1. Regarding the update for the /etc/hosts files across the 11 computers, the plan involves creating a Bourne Shell script to transfer the updated file from Server-01 to other machines using 'scp'. This script will be scheduled to run daily at 1:30 AM via 'cron'. However, potential hurdles might involve permission settings during file transfer and the risk of conflicting updates on Server-01 during the distribution process. As for the client's backup requirement, utilizing 'rsync' within a script seems viable to perform daily backups of the 'PersonalBusiness' and 'Health' directories onto the dedicated flash drive. Nevertheless, considerations arise regarding flash drive space management and the possibility of maintaining multiple backup versions. Additionally, the absence of test data from the client necessitates the creation of similar data for testing purposes. Implementing flash drive space monitoring using 'df -h' for alerts could be challenging within the Bourne Shell scripting realm. Furthermore, adhering to the 8-hour consulting window might pose a challenge if unforeseen complexities arise, necessitating clear communication with the client regarding any potential delays or adjustments. 5. Include a copy of your Bourne shell script from Task 1. #!/bin/bash
# Source directories src_dir1=~/PersonalBusiness src_dir2=~/Health # Destination directory (e.g., flash drive or backup directory) dest_dir=/run/media/dmandel/BACKUP-FLASH-DRIVE/ # Backup command using rsync rsync -av "$src_dir1" "$dest_dir" rsync -av "$src_dir2" "$dest_dir" 6. A screenshot of the terminal window showing the crontab -l command from Task 1.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
7. A screenshot of the terminal window from Task 2, step 1.
8. A screenshot of the terminal window from Task 2, step 2. Make sure that you show *both* values.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help