Open main menu

CDOT Wiki β

Changes

no edit summary
== Lab 5:==
:: A shell script could demonstrate the automation downloading and compiling source code (zipped tarballs). Could a demonstration to graphically display status of a "spider-program" with wget command be applicable here? An example of the simpler case would be to obtain a zipped tarbar via url ('''wget'''), decompress zipped tarball, change to source directory, logic to see if '''./configure''' command needs to be run, compile services and run software or provide error or problems of failure to install software '''or this would be a good task for assignment #2'''. <blockquote><blockquote>OPS435 Elements (Scripting Demo Contents):<blockquote><ul><li>x</li><li>x</li><li>x</li><li>x</li><li>x</li><li>x</li><li>x</li><li>x</li><li>x</li></ul></blockquote><br><br>Example of Shell script Demo 1 (automatic download start and compile of soure): [ [[lab5 Shell Script Demo 1|xstop them.bash]] ] (to be created)<br>Example of Shell script Demo 2 (manipulate services): [ [[lab5 Shell Script Demo 2|x.bash]] ] (to be created)<br></blockquote></blockquote>
{|cellpadding="15" width="100%"|-|<blockquote>'''Script #1::Connection with ULI101 Scripting Skills Service Status (Course Outlinestart and stop services):'''<br>[ [https://scs.senecac.on.ca/~murray.saul/vm-start-text.bash vm-start-text.bash] ] [ [https://scs.senecac.on.ca/~murray.saul/vm-stop-text.bash vm-stop-text.bash] ]<br><br>Connection with OPS435 '''Scripting Skills (Course Outline):'''<blockquote><ul><li>x</li><li>x</li><li>x</li><li>Advanced x</li><li>x</li><li>x</li><li>x</li></ul></blockquote><br><br>'''Practical Consideration for scripting in lab5lab2:<br><blockquote>''' Students use '''wget''' Do students create simple bash to download existing shell script, add elements, then have them copy and paste, then run this it to see what happens. Students are '''encouraged to view contents of more complex advanced shell script(s)''', to see where the commands are being used (from previous shell script? Is lab2 too long for scripting element ), but are '''not required to be included? Key understand more complex elements ''' of scripting elements should be contained in information boxes in labthese shell scripts. Should midterm and/or final exam contain a scripting question? (recommended)<br><br></blockquote>|[[Image:lab5_1.png|thumb|left|175px|When executed as '''root''' or using '''sudo''' command, provides Service status and opportunity to stop '''running''' services using a Graphical Interface]]|}== Lab 6:==
:: Definitely a shell script to demonstrate the automation of IP tables (simpler example). I assume would be great benefit to OPS335 course that students be exposed to this to help automate their management of firewalls in OPS335.
13,420
edits