An Introduction To Informatics: Computers, Networks and Operating Systems
An Introduction To Informatics: Computers, Networks and Operating Systems
EMBL data…
In 1998... Now...
What is a computer?
Physical: processor, memory, data storage,
keyboard, screen, network connection
Logical: collection of programs designed
for particular tasks
Virtual: user interface that presents a view
of the computer and its surroundings
Caution! The user interface often hides
underlying complexities.
From hardware to software
}
GUI Windows95 X-windows + window
manager
MacOS
OS linux, HP-UX, Solaris,
MS-DOS
Irix, A/UX, MacOSX...
suffix
filename
File systems
Method the OS uses to store information
File = unit of data storage
Types: programs, data, configuration, system,
I/O (Unix, DOS)
File organization
Storage unit, directories, subdirectories
(MacOS, DOS/Windows, VMS)
Single arborescence (Unix)
File system organization
Disk 1 Disk 2
/
C: D:
/usr /home
DOCS PROGS CONFIG DATA Directories
local phil john
WORD EXCEL EXPT1 EXPT2
bin lib
Subdirectories
emacs X11
DOS, MacOS
Unix
What is Unix?
Multitasking, multi-user OS
Derived from a common ancestor, many
varieties today
Examples: Solaris (Sun), Digital Unix (DEC),
Irix (Silicon Graphics), HP-UX (Hewlett
Packard), AIX (IBM), Linux (freeware), A/UX
(Apple) (move to Mac OS X in spring 2001)
Versions for almost every hardware
platform (including PC and Mac)
Why use Unix?
Open and standard environment
Usually uses hardware efficiently, highly
scalable and configurable
Extremely flexible command line interface
Large number of freely available programs
and utilities
Multiple users sharing common environment
The downside of Unix
Command line interface difficult to learn
GUI always incomplete
Security not always optimal
System management requires special skills
Numerous small differences between
different flavors
The strange side of Unix
the hidden distance!
at work
at home
Networking basics (4)
Each computer connected to the network
must be identifiable
Hard-coded serial number (all protocols)
Unique name (most protocols)
Hierarchical attribution of unique number
(TCP/IP)
IP address: 192.42.197.67
Associated name: macisrec-B310.unil.ch
IP domains and addresses
High-level domains:
com, edu, gov, org, net: by organization type
ch, de, fr, se…: by country
Organization domains:
unil.ch, nih.gov: physical places
embnet.org, aol.com: virtual groups
IP addresses:
Address domains attributed according to size
of organization (130.223: UNIL; 192.42.197:
ISREC)
Clients and servers
A client is a computer that requests
services through the network
A server is a computer that provides
services
Usually, clients are personal computers or
workstations, servers are larger, shared
machines
Network services - local
Services that require high bandwidth
File and printer sharing: resources on
server appear as local
AppleShare, SMB (Microsoft), Novell
NFS, lp, lpr (Unix)
Remote graphical display
X-Windows (Unix), Windows NT
Network services - wide
Services that can be slower; TCP/IP based
Remote terminal: telnet
File transfers: FTP
Electronic mail; mailing lists
Newsgroups
Informations services: Gopher, WAIS
World Wide Web
World-Wide Web (1)
Extension of Gopher services
Server presents information in a format
that is interpreted by a graphical client
Central features:
Common language: HTML
Extensive use of “hyperlinks”
Multiple media supported (MIME types)
Server-side execution of programs triggered
by the client (“CGI scripts”)
World-Wide Web (2)
Client programs (browsers):
Netscape, Mosaic, Internet Explorer
Servers: mostly Unix, but also MacOS,
Windows NT, OS/2
Multiple protocols, specified in URL:
http://www.ch.embnet.org
ftp://ftp.ch.embnet.org
telnet://gcg.ch.embnet.org
Emerging extension: Java
World-Wide Web and Java
Java: programs (“applets”) that are
transferred from the server and run on
the client
Java programs can run on any type of
machine, but depend on an interpreter
Advantage: the Web server can provide
programs, not just information
Disadvantage: transfer often slow,
execution even slower, lack of standards
Some UNIX commands
General: man, pwd, cd, ls, mkdir, rmdir,
passwd, exit
Files manipulation: cat, more, cp, mv, rm,
grep, find, diff, head, tail, chmod
Editing: vi, pico, emacs
Compression: tar, (un)compress, gzip
Various: redirection (<>>) and piping (|)