1 Using the Alternate Fetch and CheckIndexup to index

Use these instructions to use the CentOS Fetch and Check programs if the main .com web site is down.

  1. Pick either a or b below (only pick one):

    1. Get the do.sh script from the alternate .org site:

      $ GO=teaching.idallen.org
      $ url=http://$GO/cst8207/14w/notes/data/assignment00do.sh
      $ curl -A mozilla "$url" >do.sh
      $ fgrep -i 'error' do.sh    # make sure no errors (no output)
      $ head -n1 do.sh            # make sure it's a shell script
      #!/bin/sh -u
    2. Get the do.sh script from the alternate elearning site:

      $ GO=elearning.algonquincollege.com/coursemat/alleni/idallen
      $ url=http://$GO/cst8207/14w/notes/data/assignment00do.sh
      $ curl -A mozilla "$url" >do.sh
      $ fgrep -i 'error' do.sh    # make sure no errors (no output)
      $ head -n1 do.sh            # make sure it's a shell script
      #!/bin/sh -u
  2. Pick either a or b below (only pick one) and use $GO:

    1. Run the script directly as the root user: Use this only if you have not yet created your own sysadmin account:

      # whoami
      root
      # USER=abcd0001 GO=$GO sh do.sh        # your userid, not abcd0001
    2. Run the script using su: Use this if you have already created your sysadmin account:

      $ echo "$USER"
      abcd0001                               # your userid, not abcd0001
      $ su -c "USER=$USER GO=$GO sh do.sh"   # must be double quotes, not single

READ ALL THE WORDS. OH PLEASE, PLEASE, PLEASE READ ALL THE WORDS!

Author: 
| Ian! D. Allen  -  idallen@idallen.ca  -  Ottawa, Ontario, Canada
| Home Page: http://idallen.com/   Contact Improv: http://contactimprov.ca/
| College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/
| Defend digital freedom:  http://eff.org/  and have fun:  http://fools.ca/

Plain Text - plain text version of this page in Pandoc Markdown format

Campaign for non-browser-specific HTML   Valid XHTML 1.0 Transitional   Valid CSS!   Creative Commons by nc sa 3.0   Hacker Ideals Emblem   Author Ian! D. Allen