Network+ Guide to Networks,
Fourth Edition
Chapter 9
Networking with UNIX-Type
of Operating Systems
Network+ Guide to Networks, 4e 2
Objectives
•
Describe the origins and history of the UNIX
operating system
•
Identify similarities and differences between
popular implementations of UNIX
•
Describe the features and capabilities of servers
running Solaris, Linux, and Mac OS X Server
•
Explain and execute essential UNIX commands
Network+ Guide to Networks, 4e 3
Objectives (continued)
•
Install and configure Linux on an Intel-based PC
•
Manage users, groups, and file access permissions
in Solaris, Linux, and Mac OS X Server
•
Explain how computers running other operating
systems can connect to UNIX servers
Network+ Guide to Networks, 4e 4
A Brief History of UNIX
•
•
All flavors of UNIX share the following features:
–
Support multiple, simultaneously logged-on users
–
Coordinate multiple, simultaneously running tasks
–
Mount disk partitions on demand
–
Apply permissions for file and directory access and
modification
–
Uniform method of issuing data to or receiving data
from hardware devices, files, and running programs
–
Start programs without interfering running programs
Network+ Guide to Networks, 4e 7
Varieties of UNIX (continued)
•
All flavors of UNIX share the following features
(continued):
–
Hundreds of subsystems, including dozens of
programming languages
–
Source code portability
–
Window interfaces (e.g., X Windows)
•
Two main categories:
–
Optimization of hardware and software
–
Predictability and compatibility
•
Customer has no access to system’s source code
–
Cannot customize
Network+ Guide to Networks, 4e 10
Open Source UNIX
•
Open source software available to anyone, without
licensing fees
•
Open source UNIX flavors:
–
GNU
–
BSD
–
Linux
•
Users can modify code
–
Add functionality
•
Can be installed on wide range of systems
Network+ Guide to Networks, 4e 11
Three Flavors of UNIX
•
–
Applications and services to be run on server?
–
Number of users?
–
Peak usage time periods?
–
Maximum tolerable downtime?
Network+ Guide to Networks, 4e 13
Solaris Hardware Requirements
Table 9-1: Minimum hardware requirements for Solaris 10
Network+ Guide to Networks, 4e 14
Linux Hardware Requirements
Table 9-2: Minimum hardware requirements for a Linux server
Network+ Guide to Networks, 4e 15
Mac OS X Server Hardware
Requirements
Table 9-3: Apple hardware recommendations for Mac OS X
Server
Network+ Guide to Networks, 4e 16
A Closer Look at UNIX: UNIX
Multiprocessing
•
Allocate separate resources (e.g., memory space)
to each process as it is created
–
Enables partitioning of processes in memory
–
Prevent programs from disrupting operation of entire
system
Core of all UNIX-type of systems
–
Loaded into memory and runs computer turned on
–
Coordinates access to computer’s hardware
–
Can add or remove functionality by loading and
unloading kernel modules
•
Files containing instructions for performing specific
tasks
•
Kernel origins:
–
Solaris: original AT&T UNIX software
–
Linux: Linus Torvalds
–
Mac OS X Server (XNU): Mach
Network+ Guide to Networks, 4e 19
UNIX System File and Directory
Structure
•
First OSs to implement hierarchical file system
–
/boot directory contains kernel and other system
initialization files
–
Applications and services stored in /bin and /sbin
directories
Windows shares or NetWare network volumes
–
Attach shared file systems (or drives) from Windows,
NetWare, or other UNIX servers and share files with
users on other computers
–
Sun Microsystems’ NFS
–
Samba: open source application that implements
Windows SMB and CIFS file system protocols
•
Included with Solaris, most Linux distributions, and
Mac OS X Server systems by default
–
Mac OS X Server uses AFP
Network+ Guide to Networks, 4e 23
A UNIX Command Sampler
•
Command line is primary method of interacting with
UNIX-type systems
•
Command interpreter (shell): program that accepts
and runs typed commands
–
Primary UNIX command interpreter file is /bin/sh
•
Every UNIX-type system contains full
documentation of UNIX commands in manual
pages (man pages)
–
characters
•
To specify an option, usually type a hyphen (-)
followed by a letter
•
File globbing: equivalent to using wildcards in
Windows and DOS
•
UNIX directory separator character is “/”