Notes
Slide Show
Outline
1
How to Compute Like a Grad Student
  • Chris Colohan
  • colohan+@cs.cmu.edu


2
Old History…
  • <91 Concept Terminal w/ Vaxen
  • 91 IBM RT 12MB/250MB
  • 92 16MHz MIPS R3000 DecStation 3100
  • 93 20MHz MIPS R3000 DecStation 5000/20
  • 94 25MHz MIPS R3000 DecStation 5000/25 or PowerMac 7100/66
  • 95 DecStation 5000/200s with mono monitor
  • 96 Sun SparcStation 4
3
Recent History…
  • 97 266MHz PII/64MB/4GB
  • 98 400MHz PII/128MB/6GB
  • 99 500MHz PIII/128M/8GB
  • 00 733MHz PIII/256MB/20GB
  • 01 1GHz PIII/512MB/40GB
  • 02 1.8GHz PIV/1GB/60GB
  • 03 2.4GHz PIV/1GB/80GB
4
In Today’s Talk
  • Administering your machine
  • Communicating with others
  • Kerberos and AFS
  • Useful tips and links
5
The RPP
  • Be nice!
  • Refill the printers
  • Don't leave the printers jammed (x8-2607)
  • Don't print big jobs during peak hours
  • Ask facilities before you do strange things
    • broadcast packets
    • move hardware
    • commercial anything
  • looking through other people's files: get explicit permission first
    • look for permissions in their .plan
    • ask them directly
6
Do Today!
  • .plan file
  • door label
  • home page
  • Andrew
    • finger firstname.lastname@andrew.cmu.edu
    • login = first 8 digits of SS#
  • Email forwarding
    • colohan@cmu.edu name
    • ccolohan@andrew.cmu.edu name
7
More to do today!
  • Create username.root
    • telnet jeeves
    • kerberos create
    • username.root
  • Mail facilities and ask for root on your machine
  • Local password: “passwd –l”
  • Ask for a copy# from the main office (WeH4212)
8
How to get help
  • Office mates
  • Zephyr
  • help@cs.cmu.edu
  • Help desk (x8-4231) “how do I…?”
  • Operator (x8-2607) “machines are down…”
  • Facilities advisory committee (dpelleg+@cs.cmu.edu)
9
Where does the money go?
  • Costs money:
    • new kerberos Ids
    • printing
    • network ports
    • software
    • backups
    • dialups (1-800)
  • Free:
    • accounts on machines
    • WaveLan
10
Kerberos
  • Log in, get a “ticket”
    • klist, kinit
  • Tickets are good for 25 hours
  • Used for:
    • Authentication (log into other machines without passwords)
    • Encryption (make sure nobody can snoop your connections)
  • Renew for 30 days:  krenew (unix only)
  • Renew forever: kkerberos (unix only)
  • network/clock failurečkerberos failurečlogin failure
11
afs
12
Using afs
  • Access control:
    • fs help
    • fs listacl /afs/cs/user/colohan
    • fs setacl /afs/cs/user/colohan colohan rlidwka
    • mkdir ~/private
    • fs setacl ~/private –clear colohan rlidwka
    • Ignore unix permissions!
    • Careful with mail directory permissions!
  • Turn tickets into tokens with aklog
  • Quotas:
    • fs quota /afs/cs/user/colohan
    • telnet jeeves
  • Backups in ~/OldFiles
13
NOT Using afs
  • Why not?
    • Writes go to server on close
      • Can be slow (especially for builds)
    • Security
      • Bits sent on network in the clear
    • Server or network down
                == no work for you
  • Use local disk (/usr0)
  • May want to move home dir to /usr0
    • or create a local account on your machine
14
Windows
  • Run Windows update NOW
  • Always log into SCS domain!
  • Email
    • Use pop3 to your maildrop (ux#.cs.cmu.edu)
    • imap/Exchange in beta
    • Do not run a client on the ux# servers!
  • Printing
    • Printers off of \\monolith
15
Windows cont.
  • File sharing
    • AFS
    • Can make a FAT partition if you want
  • Telnet/ssh
    • putty (ssh)
    • niftytelnet (kerberized telnet)
  • Peter Dinda’s FAQ
16
Insert Windows Demo Here
17
Linux
  • Choose a window manager
    • edit ~/.xinitrc  (WM=startkde)
  • Depot
    • It “owns” /usr/local
    • make your own collections
    • become a misc maintainer
  • Getting local root if your machine dies
  • vmware
  • Local disk is /usr0
  • man cdrecord (or use a cdrecord gui)
18
Insert Linux Demo Here
19
Zephyr
  • A reminder:  ZINMT
    • Zephyr Is Not My Thesis
  • Command line version:
    • zwgc (started by default)
    • zwrite colohan –m “Lunch?”
  • Blatant plug:  kzephyr!!
  • Emacs zephyr mode
  • For Windows:  jzephyr (beta testers wanted!)
  • FZQ
  • Zephyr archive (contains posting interface!)
20
Public Zephyr
  • Common “instances”:
    • help.*, chat.*, newsbites, graffiti, ephemera, sddd, *.d, facilities.announce, facilities.discussion
  • Don’t sign messages
  • Don’t take people too seriously
  • Andrew/MIT zephyr use is different
  • Filter instances you are not interested in
21
Netnews (bboards)
  • cmu.cs.scs: important announcements
  • cmu.cs.*.announce: new software or changes
  • cmu.cs.general: general interest items
  • cmu.misc.market: fun fun fun!
  • On unix, use localhost as news server
  • On Windows, use dnntpd.srv
22
ssh
  • ssh –X colohan@ux4.sp.cs.cmu.edu
  • scp gs138.sp:~/foobar ./


  • Very useful from off campus!
  • Putty and TeraTerm ssh works well in Windows


23
Email filtering
  • Create a .maildelivery file on your maildrop machine (ux#)
  • man maildelivery
  • Use username+foo@cs.cmu.edu
  • man spamassassin-maildelivery


24
More Resources
  • SCS facilities help page
  • Last year’s talk
  • CMU web resources
  • Jonathan Billings’ rh9 tip page
  • man phone



  • This talk can be found at:
  •   www.cs.cmu.edu/~colohan/ic03/htclags.htm