linux-lab.sh - A script used to download, setup and grade the CIT-220 lab enviornment for my CIT-220 Linux System Administration classes.
Copyright © (2022-2024) Dr. Matthew Kisow. All rights reserved.
Dr. Matthew Kisow mkisow@ccac.edu
- LAB01-01 - Student Install
- LAB10-01 - SFTP in CHROOT JAIL (SEE LAB 29)
- LAB13-01 - (ssh) pr. 364-365, TCP WRAPPERS
- LAB17-01 - (lsmod)
- LAB21-01 - Network Troubleshooting
- LAB29-01 - Chroot on Apache Server
- RESET MODULES FOR ALL LABS
- GRADING MODULES FOR ALL LABS
- Following the instructions for your distribution, install git.
- Using the mkdir command, create a directory called /Lab Files at the root of the drive.
cd /
mkdir "/Lab Files"
- Using the curl command, download the linux-lab script executable.
curl -s -L "https://github.com/DoctorKisow/CIT-220/raw/main/linux-labs" >> linux-labs
- Using the chmod command, change the permissions of the linux-labs script to 750.
chmod 750 linux-lab
- Using the linux-lab command, install the labs by issuing the linux-lab command using the -i switch.
bash linux-lab -i
- Using the chown command, change the ownership of the linux-labs script to root:labusers1.
chown root:labusers1 linux-lab
By typing linux-lab with no options, or linux-lab -h you can get help.
This is a learning and teaching tool ONLY and should NOT be used in a PRODUCTION enviornment!
This work is licensed under the Creative Commons Attribution-NoDerivatives 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nd/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.