0 index
1 Why Unix?
2 Why FTP and telnet?
3 Operating systems in general
4 Review of hierarchies
5 Hierarchy searching algorithm
6 This is a recursive algorithm
7 Other trees...
8 Text based operating systems
9 Exploring ds9 with FTP
10 Exploring ds9 with Telnet
11 The critical unix commands
12 One slide per command
13 Permission settings
14 Interpreting permissions:
15 Common permission settings
16 your directory settings

outline
created using slideshow.cgi by Andy Harris















CSCI N241 Web Design: UNIX and Internet protocols
1. Why Unix?
  • defacto web server standard
  • reliable
  • inexpensive



































CSCI N241 Web Design: UNIX and Internet protocols
2. Why FTP and telnet?
  • most of us not directly on server
  • allows us to connect to server from a client
  • we can work on client -> send to server
  • can work directly on server



































CSCI N241 Web Design: UNIX and Internet protocols
3. Operating systems in general
  • 'trafic cop'
  • control interactions between files, hardware, software, memory
  • provide user interface
  • all have similar capabilities, very different implementations



































CSCI N241 Web Design: UNIX and Internet protocols
4. Review of hierarchies
  • tree picture?
  • Yahoo search



































CSCI N241 Web Design: UNIX and Internet protocols
5. Hierarchy searching algorithm
  • find the root
  • look at branches
  • three outcomes:
  • o target is there - activate it
  • o not there, but promising subcategory - go there and repeat
  • o not there, nowhere close - back up a level and repeat



































CSCI N241 Web Design: UNIX and Internet protocols
6. This is a recursive algorithm
  • starts with large set
  • algorithm repeats on increasingly smaller subsets
  • eventually a trivial set remains



































CSCI N241 Web Design: UNIX and Internet protocols
7. Other trees...
  • menus inside applications
  • start & apple menu
  • directory structures



































CSCI N241 Web Design: UNIX and Internet protocols
8. Text based operating systems
  • DOS and UNIX
  • Basically the same things available
  • Instead of graphics, you need commands
  • Some memorization (or cheat card) necessary



































CSCI N241 Web Design: UNIX and Internet protocols
9. Exploring ds9 with FTP
  • graphic FTP programs
  • Basically two file management programs



































CSCI N241 Web Design: UNIX and Internet protocols
10. Exploring ds9 with Telnet
  • use of commands to implement same concepts
  • link to java telnet client???



































CSCI N241 Web Design: UNIX and Internet protocols
11. The critical unix commands
  • ls
  • cd
  • pwd
  • cp
  • mv
  • chmod



































CSCI N241 Web Design: UNIX and Internet protocols
12. One slide per command
  • all relevant info at http://www.cs.iupui.edu/~aharris/webDesign/ht2.html
  • (Just move it over)



































CSCI N241 Web Design: UNIX and Internet protocols
13. Permission settings
  • The three types of people
  • me
  • group
  • others
  • The three settings
  • read
  • write
  • execute (run if it's a program, go through if it's a directory)



































CSCI N241 Web Design: UNIX and Internet protocols
14. Interpreting permissions:
  • I can do anything,
  • my group can read and write, but not execute
  • everyone else can only read it
  • rwx|rw-|r--
  • 111 110 100
  • 7 6 4



































CSCI N241 Web Design: UNIX and Internet protocols
15. Common permission settings
  • 711 - used for main directory
  • 755 - used for public_html directory
  • 644 - used for almost all html files and graphics
  • If in doubt, a directory can be set at 755, file at 644



































CSCI N241 Web Design: UNIX and Internet protocols
16. your directory settings
  • set your main directory to 711
  • create a public_html directory
  • set its permission to 755
  • FTP your graphics to the public_html directory
  • set their permission to 644



































outline

Why Unix?

Why FTP and telnet?

Operating systems in general

Review of hierarchies

Hierarchy searching algorithm

This is a recursive algorithm

Other trees...

Text based operating systems

Exploring ds9 with FTP

Exploring ds9 with Telnet

The critical unix commands

One slide per command

Permission settings

Interpreting permissions:

Common permission settings

your directory settings