24
How to Compute Like a Grad Student Chris Colohan [email protected]

How to Compute Like a Grad Student Chris Colohan [email protected]

  • View
    219

  • Download
    0

Embed Size (px)

Citation preview

Page 1: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

How to Compute Like a Grad Student

Chris [email protected]

Page 2: 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

(No, this is not a Moore’s law slide.)

Page 3: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

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

Page 4: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

4

In Today’s Talk Administering your machine Communicating with others Kerberos and AFS Useful tips and links

Page 5: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

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

Page 6: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

6

Do Today! .plan file door label home page Andrew

finger [email protected] login = first 8 digits of SS#

Email forwarding [email protected] name [email protected] name

Page 7: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

7

More to do today! Create username.root

telnet jeeveskerberos createusername.root

Mail facilities and ask for root on your machine

Local password: “passwd –l” Ask for a copy# from the main office

(WeH4212)

Page 8: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

8

How to get help Office mates Zephyr [email protected] Help desk (x8-4231) “how do I…?” Operator (x8-2607) “machines are

down…” Facilities advisory committee (

[email protected])

Page 9: How to Compute Like a Grad Student Chris Colohan colohan+@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

Page 10: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

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 failurekerberos failurelogin

failure

Page 11: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

11

afs

/afs/cs/user/colohan/…

Page 12: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

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

Page 13: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

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

Page 14: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

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

Page 15: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

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

Page 16: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

16

Insert Windows Demo Here

Page 17: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

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)

Page 18: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

18

Insert Linux Demo Here

Page 19: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

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!)

Page 20: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

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

Page 21: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

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

Page 22: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

22

ssh

ssh –X [email protected]

scp gs138.sp:~/foobar ./

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

in Windows

Page 23: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

23

Email filtering Create a .maildelivery file on your

maildrop machine (ux#) man maildelivery Use [email protected] man spamassassin-maildelivery

Page 24: How to Compute Like a Grad Student Chris Colohan colohan+@cs.cmu.edu

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