Chapter 1 PDF
Chapter 1 PDF
Chapter 1:
Selecting an Operating System
Chapter 1 Outline
l What is an OS?
l Investigating user interfaces
l Where does Linux fit in the OS world?
l What is a distribution?
What Is an OS?
• OS kernel component
• Additional components
OS Kernel Components
• A kernel is a software responsible for:
o Interfacing with hardware devices
o Allocating memory to individual programs
o Allocating CPU time to individual programs
o Enabling programs to interact with each other
• Kernels are not interchangeable.
• Linux OS kernel:
o Called Linux
o Created by student Linus Torvalds in 1991
o Runs on many various platforms & hardware
What Is an OS?
(continued)
OS Kernel Components
Additional Components
l Command-line shells
l Utility programs
l Libraries
l Productivity programs
Investigating User Interfaces
Using a Text-Mode User Interface
• Example:
Fedora release 21 (Twenty One)
Kernel 3.18.6-200.fc21.x86_64 on an x86_64 (tty1)
essentials login:
• To log in:
o Enter username at login: prompt
o Enter password at the password prompt
o Based on Unix
o Specifically Minix
l The GNU's Not Unix (GNU) project
l Xorg-X11
l Desktop environments
l Xorg-X11
l Desktop environments
l Server programs
l Xorg-X11
l Desktop environments
l Server programs
l Costs
l Hardware compatibility
o Drivers
q Windows - most companies provide drivers
q Linux - drivers typically provided by community
o Older hardware
q Linux - runs better
Where Does Linux Fit in the OS
World? (continued)
Comparing Linux to Windows
l Licensing
l Costs
l Hardware compatibility
l Software availability
l Costs
l Hardware compatibility
l Software availability
l User interfaces
l Configurability
o Linux is more configurable/flexible.
l Security
o Open source software tends to be more secure.
o Linux is used by the US Government.
What Is a Distribution?
Creating a Complete Linux-Based OS
l A Linux kernel
l Supplemental software
l Startup scripts
l An installer
A Summary of Common Linux
Distributions
Distribution Availability Package format Release cycle Administrator skill reqs
Arch Free pacman Rolling Expert
CentOS Free RPM approx 2-year Intermediate
Debian Free Debian 2-year Intermediate to expert
Fedora Free RPM approx 6-month Intermediate
Gentoo Free Ebuild Rolling Expert
Mint Free Debian 6-month Novice to intermediate
openSUSE Free RPM 8-month Intermediate
Red Hat Commercial RPM approx 2-year Intermediate
Enterprise
Scientific Free RPM approx 6-month Intermediate to expert
Slackware Free tarballs Irregular Expert
SUSE Commercial RPM 2–3 years Intermediate
Enterprise
Ubuntu Free Debian 6-month Novice to intermediate
What Is a Distribution?
(continued)
Creating a Complete Linux-Based OS
A Summary of Common Linux Distributions
Specialized distributions:
l Android
l Network appliances
l TiVo
l Parted Magic
What Is a Distribution?
(continued)
Creating a Complete Linux-Based OS
A Summary of Common Linux Distributions
Understanding Release Cycles
• Standard release
o Stable software made available on periodic basis
o Support:
q Given for stated amount of time
q Software updates are made available for bugs and security issues.
q Some distributions offer Long Term Support (LTS).
o After support time has passed,
best to upgrade to new release
• Rolling release - software is continually updated