25 pts - Operating Systems Q&A III
Visit this course in D2L and complete Quiz03 (questions taken from Chapter 2. Operating System Structures from Operating System Concepts Essentials) by the due date / time for this assignment.
(25 pts) Install web server & create a web page
Windows Internet Information Services
Ref: (Video) Basic IIS web server in Windows (note the video mentions AIST2330 and not AIST3720 but otherwise demonstrates the critical steps).
Ref: (Document) Installing IIS on Windows Server
Install IIS web server in your xxxxWS1 VM. Your features set should look like the video; beyond defaults we included Basic and Windows authentication for the IIS installation.
Use NotePad (or other tool) to create an html page named AIST3720Home.html which welcomes visitors to the web site; the welcome should include your name in the page and include a link to our course site at https://tschultz.azurewebsites.net/courses/aist3720. Adjust settings so that this page comes up automatically if someone visits your VM's root website without identifying a specific file.
Using the browser on the VM get a screen cap of the the landing page http://localhost (including the URL) in an image file named WSWeb.jpg.
Copy the AIST3720Home.html to AIST3720HomeWS.txt (this is so D2L will allow you to upload it) and attach AIST3720HomeWS.txt and WSWeb.jpg to this assignment D2L.
Linux Apache
Ref: (Video) Basic Apache web server in Linux (note the video mentions AIST2330 and not AIST3720 but otherwise demonstrates the critical steps)
Ref: (Document) Install & configure Apache in Ubuntu
Install Apache web server in your xxxxLS1 VM.
Use nano editor (or other tool) to create an html page named AIST3720Home.html which welcomes visitors to the web site; the welcome should include your name in the page and include a link to our course site at https://tschultz.azurewebsites.net/courses/Aist3720. Adjust settings so that this page comes up automatically if someone visits your VM's root website without identifying a specific file.
Using the browser on the VM get a screen cap of the the landing page http://localhost (including the URL) in an image file named LSWeb.jpg.
Copy the AIST3720Home.html to AIST3720HomeLS.txt (this is so D2L will allow you to upload it) and attach AIST3720HomeLS.txt and LSWeb.jpg to this assignment D2L.
(25 pts) Scripting 'Newer School'
Prereq: Install PowerShell Core and Visual Studio Code in your xxxxLS1 and xxxxWS1 VMs: Overview | Linux | Windows
Ref: (Video) Intro to cross-platform scripting with PowerShell
Ref: (PowerShell script as text file) TP03ps1.txt -- this is the Windows version; for Linux the HOMEPATH environment variable needs to be changed to HOME.
Windows Version
Using your xxxxWS1 VM install
TP03ps1.txt as TP03.ps1 in your (admin login) home
folder (not Documents). This script accepts one required parameter
NewDir
which is the name of the directory within Documents (of whichever user
is running the script) to use for (re)creating a file named NewStuff.txt
with some text. From your home folder execute the script using .\tp03 Dir4TP03
(in PowerShell) or pwsh tp03.ps1 Dir4TP03
(in command console) capturing the results in a screen cap named
SNS1WS.jpg (or other image format).
Based on the example script create a new PowerShell script TP03a.ps1
which accepts two required parameters: the first is the directory name as before and the second
is the file name (instead of always NewFile.txt) to (re)create. From your own login
in your home folder execute the script using .\tp03a Dir4TP03 Demo.txt
(in PowerShell) or pwsh tp03a.ps1 Dir4TP03 Demo.txt
(in command console) capturing the results in a screen cap named
SNS2WS.jpg.
Copy TP03a.ps1 to TP03aWin.txt (so it can be uploaded in D2L). Attach the two screen caps and TP03aWin.txt to this assignment in D2L.
Linux Version
Using your xxxxLS1 VM install
TP03ps1.txt as TP03.ps1 in your (admin login) home
folder (not Documents), changing the existing HOMEPATH environment
variable to HOME. This script accepts one required parameter NewDir
which is the name of the directory within Documents (of whichever user
is running the script) to use for (re)creating a file named NewStuff.txt
with some text. From your home folder, execute the script using ./TP03 Dir4TP03
(PowerShell) or
pwsh TP03.ps1 Dir4TP03
(terminal)
capturing the results in a screen cap named
SNS1LS.jpg (or other image format).
Based on the example script create a new PowerShell script TP03a.ps1
which accepts two parameters: the first is the directory name as before and the second
is the file name (instead of always NewFile.txt) to (re)create. From your
own login in your home folder execute the script using ./TP03a Dir4TP03 Demo.txt
(PowerShell) or
pwsh TP03a.ps1 Dir4TP03 Demo.txt
(terminal) the results in a screen cap named
SNS2LS.jpg.
Copy TP03a.ps1 to TP03aLin.txt (so it can be uploaded in D2L). Attach the two screen caps and TP03aLin.txt to this assignment in D2L.
(25 pts) - Create a .NET Core HelloWorld app
Prereq: Install .NET Core (and Visual Studio Code if you haven't already) in your xxxxLS1 and xxxxWS1 VMs -- Overview | Ubuntu | Windows
Ref: (Video) A first look at .NET Core
Ref: (Tutorial) Get started with C# and Visual Studio Code
Begin a Word document named NETCore.docx which will contain screen caps as identified in the instructions below.
Linux Version Complete this task in your xxxxLS1 server
Create the .Net Core C# application in the 'Enhance the app' section from (Tutorial) Get started with C# and Visual Studio Code. Add to the NETCore.docx document a screen cap of running the application within VS Code and another running the app in a PowerShell console from your home directory.
Windows Version Complete this exercise in your xxxxWS1 server.
Create the .Net Core C# application in the 'Enhance the app' section from (Tutorial) Get started with C# and Visual Studio Code. Add to the NETCore.docx document a screen cap of running the application within VS Code and another running the app in a PowerShell console from your home directory.
Attach the completed NETCore.docx document to this assignment in D2L.
(25 pts) - Simple Assembler with some OS 'flavor'
Ref: (Links) Simple 8-bit Assembler Simulator | Convert To Uppercase (code) | Convert to Uppercase with OS 'flavor' (code)
Ref: (Video) Discussion of case conversion application and a taste of OS management
When complete attach NormTerm.jpg, BadTerm.jpg, ErrTerm.jpg, ConvToLower.txt and ConvToUpperStars.txt to this assignment in D2L.