How to Compute Like a Grad Student Chris Colohan

advertisement
How to Compute Like a Grad
Student
Chris Colohan
colohan+@cs.cmu.edu
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
(No, this is not a Moore’s law slide.)
2
Recent History…







97
98
99
00
01
02
03
266MHz PII/64MB/4GB
400MHz PII/128MB/6GB
500MHz PIII/128M/8GB
733MHz PIII/256MB/20GB
1GHz PIII/512MB/40GB
1.8GHz PIV/1GB/60GB
2.4GHz PIV/1GB/80GB
3
In Today’s Talk




Administering your machine
Communicating with others
Kerberos and AFS
Useful tips and links
4
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
5
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
6
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)
7
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)
8
Where does the money go?

Costs money:







new kerberos Ids
printing
network ports
software
backups
dialups (1-800)
Free:


accounts on machines
WaveLan
9
Kerberos

Log in, get a “ticket”



Tickets are good for 25 hours
Used for:





klist, kinit
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
10
afs
/afs/cs/user/colohan/…
11
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!







Turn tickets into tokens with aklog
Quotas:



Careful with mail directory permissions!
fs quota /afs/cs/user/colohan
telnet jeeves
Backups in ~/OldFiles
12
NOT Using afs

Why not?

Writes go to server on close


Security




Can be slow (especially for builds)
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
13
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
14
Windows cont.

File sharing



Telnet/ssh



AFS
Can make a FAT partition if you want
putty (ssh)
niftytelnet (kerberized telnet)
Peter Dinda’s FAQ
15
Insert Windows Demo Here
16
Linux

Choose a window manager


Depot







edit ~/.xinitrc (WM=startkde)
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)
17
Insert Linux Demo Here
18
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!)
19
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
20
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
21
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
22
Email filtering




Create a .maildelivery file on your
maildrop machine (ux#)
man maildelivery
Use username+foo@cs.cmu.edu
man spamassassin-maildelivery
23
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
24
Download