Computer Science 330
Operating Systems
Fall 2022, Siena College
In this lab, you will gain experience using your Unix accounts for this class. This is an individual lab, but you should feel free to ask for help and be willing to offer help to classmates.
Learning goals:
Getting Set Up
The link to create your GitHub repository for this lab is in Canvas.
Please put your name in the README.md of the repository before continuing.
C and GitHub on FreeBSD
Log into noreaster.teresco.org using ssh and complete these tasks. You might need to ask questions. You might need to create a GitHub Personal Access Token. This assumes you remember how to run C programs in Unix.
git config --global user.name "jcool" git config --global user.email "jcool@teresco.org"
Linux VM Configuration
Next, you will do some configuration of the Linux virtual machine (VM) that has been created for you on the College's OpenNebula server.
Your VM has a public name (your last name followed by .teresco.org, so Joe Cool's would be cool.teresco.org) but this name maps to an IP address that is private to Siena's network. You will only be able to connect to your VM from on-campus computers (or other VMs, like VMWare Horizon via aruba.siena.edu).
Before you start, you will need your VM's name as described above, the username and password for the initial account that was created on your VM, and the root password for your VM.
Each of your VMs should be configured with the Debian 9 Linux distirbution, and has access to 1 GB of main memory and 2 GB of disk storage.
Please complete the steps below to configure your VM.
apt-get update apt-get install git apt-get install gcc apt-get install make
and if you'd like to have the Emacs editor, also
apt-get install emacs
We will likely install additional software later in the semester.
adduser joe
You will likely get several harmless warnings and/or error messages. If all goes well, you should be prompted for the password to set for the new account (you'll have to type it twice), then for some additional information about the account. Set an appropriate "Full Name" (your actual name would be good) but don't worry about the other fields. You can change your password later with the passwd command, and your other account information with the chfn command.
C and GitHub on your Linux VM
Log into your VM with the account you created for yourself using ssh and complete these tasks.
git config --global user.name "jcool" git config --global user.email "jcool@teresco.org"
Submission
If you did all of the commiting and pushing, you're already done.
Make an Issue in your repository on GitHub tagging me
(@jteresco
) in the text of the Issue to let me know you're done.
Grading
This assignment will be graded out of 40 points.
Feature | Value | Score |
C and GitHub on FreeBSD | 15 | |
Linux VM Configuration | 10 | |
C and GitHub on Linux VM | 15 | |
Total | 40 | |