Updated: 2013-11-21 14:12 EST
Check the due date for each assignment and put a reminder in your agenda, calendar, and digital assistant.
vim
text editor.vimtutor
program on the CLS.Your in-class notes go here.
In-class exercise:
Create one of these symbolic link targets in /tmp
Use your CLS userid as the link name in /tmp
You may have to remove an existing name first
Easy target: linux
Medium target: symbolic link
Hard target: $$$ It's a "symbolic link" $$$
You can check your work by executing the script /tmp/do.sh
The CentOS checking program is still being written. Here’s what you can do so far:
On the CLS, create your assignment07
directory in the usual place. Then log in to your CenOS machine (as root
) and run these three commands on your CentOS machine, replacing abcd0001
with your own CLS userid in the third one:
# cd /tmp
# curl -A mozilla http://teaching.idallen.com/cst8207/13f/notes/data/assignment07do.sh >do.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
112 560 112 560 0 0 9433 0 --:--:-- --:--:-- --:--:-- 1931
# USER=abcd0001 sh do.sh
---------------------------------------------------------------------------
abcd0001: FETCH version 2. Connecting to CLS as USER='abcd0001' using ssh
---------------------------------------------------------------------------
abcd0001: Use local Algonquin IP cst8207-alg.idallen.ca [y/N]? y
abcd0001: Please wait; using ssh to connect to user 'abcd0001' on cst8207-alg.idallen.ca ...
abcd0001@cst8207-alg.idallen.ca's password:
*** COURSE LINUX SERVER ***
---------------------------------------------------------------------------
idallen-ubuntu assignment07fetch_server.sh version 4 run by abcd0001.
Please wait; collecting info from abcd0001 Virtual Machine
---------------------------------------------------------------------------
VM files collected into CST8207-13F/Assignments/assignment07/abcd0001.tar.bz on CLS.
Now running checking program for abcd0001 on CLS:
----------------------------------------------------------------------------
check: idallen-ubuntu Fri Oct 18 12:48:40 2013
check: CST8207 assignment07 check program version 37
*** Checking account for abcd0001 on idallen-ubuntu ***
Going into HOME directory /home/abcd0001 on idallen-ubuntu
GOOD(2): Found correct 'source' statement in .bash_profile
GOOD(2): Found non-interactive return first line in .bashrc
GOOD(1): Found PS1= line in .bashrc
Going into directory CST8207-13F/Assignments/assignment07 on idallen-ubuntu
*** 4.? CLS: Set Up Tasks in assignment07 on idallen-ubuntu ***
On idallen-ubuntu: Using abcd0001.tar.bz dated Fri Oct 18 12:48:40 2013
Checking 'abcd0001.tar.bz' version 4 created Fri Oct 18 12:48:40 EDT 2013
*** 4.? CentOS 6.4 Installation Verify ***
GOOD(2): Found correct hostname
NOTE: Found correct kernel running
GOOD(2): Found correct number of RPM packages (201)
GOOD(2): Found correct memory size
GOOD(2): Found correct Toronto time zone
*** 4.? CentOS 6.4: Grub menu and time-out ***
GOOD(2): Found correct time out line in CentOS 6.4 grub.conf
GOOD(2): Found correct hidden menu line in CentOS 6.4 grub.conf
*** All Done ***
WARNING: Cannot find submission file 'assignment07.txt' on CLS
----------------------------------------------------------------------------
*** CHECK SCRIPT NOT FINISHED YET - SOON ***
----------------------------------------------------------------------------