SlideShare a Scribd company logo
Chapter 1: An Introduction to Linux
Chapter 1
An Introduction to Linux
(Slides adopted from ict-innovation.fossfa.net)
Chapter 1 Outline
● In this chapter we will learn about:
✓ Some of the key events in the history of Linux
✓ The major components of a linux distribution
✓ How linux is licensed
✓ How Linux di'ers from Windows
Some key events in the history of linux
1969 – the dawn of time.
Ken Thompson and Dennis
Ritchie write the /rst
version of UNIX
1984 – Free Software Foundation
start work on the GNU project
which results in a C compiler (gcc)
and editor (emacs) and lots of
command line tools that mimic or
improve on their traditional
UNIX counterparts
1987 -- Andrew Tanenbaum
writes Minix, a UNIX-like O/S
that runs on PCs, mainly as a
teaching aid
1991 – Linus Torvalds starts
development of Linux as a
project to exploit the Intel
386 architecture. Design is
heavily in>uenced by Minix
and UNIX
1994-ish: Explosive growth
of the Internet fosters wide-
spread growth of linux and
the open source movement.
1970 1980 1990 2000
The history of Linux (continued)
● Linux began life in 1991
● Linus Torvalds wrote the original Linux operating system as a hobbyist
exercise in exploiting the new Intel 386 memory architecture
● In>uenced by Minix, an operating system written by Torvald's professor
Andy Tanenbaum as a teaching aid, which was in turn based on UNIX
● Not derived from UNIX source code but deliberately UNIX-compatible
● Contributions come from many other developers
● Free Software Foundation wrote bash shell, gcc compiler, many other
command line tools, distributed under the GNU 'brand name'
● Like UNIX before it, linux was not originally conceived as a 'product'
Linux distributions
● Strictly speaking, 'linux' refers only to the operating system kernel
– In practice, linux distributions include hundreds of additional items of
software from dozens of development teams
● In theory, all the pieces can be downloaded from the internet free of
charge and assembled into a working system
– In practice this is hard work
● Most users purchase a pre-built distribution
– Snapshot of compatible versions of all components
● Vendors such as RedHat and SuSE add value in several ways:
– Installation and con/guration tools
– Supported ports of Linux to non-PC architectures (eg IBM mainframes)
– Retail products include printed manuals and limited installation support
– Enterprise products provide full support agreements and pro-active
upgrade mechanisms
The components of a linux distribution
GNU Command Line Tools
KDE Desktop and toolset
XFree86 Server
Apache Web Server
Linux Kernel
Samba File/Print Server
Many, many others
Installation, con/guration
and maintenance tools,
plus support
RedHat
SuSE
Mandrake
Debian
How does linux di'er from windows?
Linux Windows
Free, open-source software Proprietary
Runs on a wide variety of hardware Runs on PCs only
Window System is optional and has
a client/server architecture
Window system is not optional
and is tightly integrated
Supports multiple, simultaneous
interactive users
Intended to support one
interactive user
Linux licensing and what 'Free Software' means
● The linux kernel and most linux applications are distributed under
Open Source licences
● A number of open source licences have been developed
● GPL (GNU Public Licence) is the best known and is often adopted by
software developers who do not have the skill or interest to develop their
own licenses
● LGPL (Lesser General Public Licence)
● Many others ... see www.gnu.org/licenses/license-list.html
● Freedom of software refers to liberty not price
● Freedom to run the program
● Freedom to study the program and adapt it for your needs
● Freedom to redistribute copies
● Freedom to improve the program and release the improvements
● See www.opensource.org for a more detailed de/nition
X Window system
● The X window system (also called X11 or simply X) was developed in
1984 at MIT
● Design goal was a platform- and hardware-independent window system
● Structured as a client/server architecture
● The X server runs on the machine that the graphics display, keyboard
and mouse is connected to
● Accepts commands from clients to draw windows, text, graphics, etc
● Also makes keyboard and mouse input available to clients
● Provides “mechanism, not policy” (i.e. does not determine look-and-feel)
● SuSE Linux uses an implementation called XFree86 version 4
● X clients (applications that require a graphical user interface) connect
to an X server
● Client may be on same machine as server, or on a di'erent machine
X Window system architecture
X Server
Window Manager
(X Client)
Application
(X Client)
Network
Remote
Application
(X Client)
Screen, keyboard
and mouse
It's not unusual to run an X
server on a Microsoft Windows
desktop (eg Hummingbird) to
provide access to graphical
desktops and applications
running on Linux systems
Remote Window
Manager
(X Client)
Window managers and desktops
● A window manager is an important X client application, supporting:
● Starting applications via menus,etc
● Moving, resizing, opening, and closing windows
● Some window managers support multiple virtual desktops
● The window manager is partly responsible for establishing a look and
feel of the linux desktop
● It is usually supplemented by a set of desktop tools, such as a launch bar,
graphical /le manager, web browser, clock, calculator, mail user agent,
scheduler, etc.
● The are several window manager / desktop toolsets for Linux:
● KDE The standard desktop supported by SuSE linux
● Gnome Another modern, full featured desktop popular on linux. Used by
CentOS
– Others: twm (part of the X distribution), mwm (motif window
manager;
used to be popular on Solaris), icewm, fvwm2, ...
The X Window System is optional
● The X window system is not an integral part of the operating system
– Linux can run with no windowing system or graphical applications
– Many servers are run this way
● Con/gured and administered entirely using command-line tools
– Saves on disk space, memory and CPU cycles
Linux is multi-user
● Like later versions of windows, linux supports a user login
– Authenticated by a password
● Linux supports multiple simultaneous logins
– One on the main console, possibly running a graphical desktop
– Several via character terminals connected to serial ports
– Many via network logins using telnet, rlogin, or ssh
● All users have full command line access
● Multiple graphical logins are also possible
– Each user has an independent desktop
– This capability is inherent in the client/server
architecture of the X window system
● Underlying operating system supports
pre-emptive multi-tasking
Linux runs on a wide variety of hardware
● Embedded linux
– Phones, set-top boxes, PDAs, PC104 and other
single board computers
– ARM, MIPS processors, etc.
– Specialist market, commercial support from
companies like Montavista
● Mainstream (32-bit and 64-bit)
– Intel, PowerPC, SPARC, Itanium, AMD64
● Big Iron
– IBM z/series mainframe
RedHad and CentOS
● Linux runs most of the web servers today
● Many of the Enterprise systems run on RedHat Linux
● CentOS is a stripped-down version of RedHat

More Related Content

Similar to 1.1.1.Introduction.pdf

Linux [2005]
Linux [2005]Linux [2005]
Linux [2005]Raul Soto
 
Licão 01 introduction
Licão 01 introductionLicão 01 introduction
Licão 01 introduction
Acácio Oliveira
 
Difference between Unix & Linux Presentation.ppt
Difference between Unix & Linux Presentation.pptDifference between Unix & Linux Presentation.ppt
Difference between Unix & Linux Presentation.ppt
sarwechabro
 
Linuxppt.pptx
Linuxppt.pptxLinuxppt.pptx
Linuxppt.pptx
Ashimann2108
 
IntroToUnix.ppt
IntroToUnix.pptIntroToUnix.ppt
IntroToUnix.ppt
Pecific University
 
IntroToUnix.ppt.intro.to.linuxlinuxintroduction
IntroToUnix.ppt.intro.to.linuxlinuxintroductionIntroToUnix.ppt.intro.to.linuxlinuxintroduction
IntroToUnix.ppt.intro.to.linuxlinuxintroduction
NagavelliMadhavi
 
Linux
LinuxLinux
Linux – an introduction
Linux – an introductionLinux – an introduction
Linux – an introductionWingston
 
Introduction to Networking | Linux-Unix and System Administration | Docker an...
Introduction to Networking | Linux-Unix and System Administration | Docker an...Introduction to Networking | Linux-Unix and System Administration | Docker an...
Introduction to Networking | Linux-Unix and System Administration | Docker an...
andega
 
Linux operating system ppt
Linux operating system pptLinux operating system ppt
Linux operating system ppt
Achyut Sinha
 
Linux Introduction
Linux IntroductionLinux Introduction
Linux Introduction
Ankita Tiwari
 
Jaringan, Linux, Docker
Jaringan, Linux, DockerJaringan, Linux, Docker
Jaringan, Linux, Docker
SatrioBudi10
 
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdfintroductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
EidTahir
 
Lecture 9
Lecture 9Lecture 9
Lecture 9
Anshumali Singh
 
Linux is a unix
Linux  is a unixLinux  is a unix
Linux is a unix
Âñkīt Shärmâ
 
Intro tounix
Intro tounixIntro tounix
Intro tounixdjprince
 
Introduction to Linux basic
Introduction to Linux basicIntroduction to Linux basic
Introduction to Linux basic
f114n
 

Similar to 1.1.1.Introduction.pdf (20)

Linux [2005]
Linux [2005]Linux [2005]
Linux [2005]
 
Licão 01 introduction
Licão 01 introductionLicão 01 introduction
Licão 01 introduction
 
Linux forensics
Linux forensicsLinux forensics
Linux forensics
 
Difference between Unix & Linux Presentation.ppt
Difference between Unix & Linux Presentation.pptDifference between Unix & Linux Presentation.ppt
Difference between Unix & Linux Presentation.ppt
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Before begining linux
Before begining linuxBefore begining linux
Before begining linux
 
Linuxppt.pptx
Linuxppt.pptxLinuxppt.pptx
Linuxppt.pptx
 
IntroToUnix.ppt
IntroToUnix.pptIntroToUnix.ppt
IntroToUnix.ppt
 
IntroToUnix.ppt.intro.to.linuxlinuxintroduction
IntroToUnix.ppt.intro.to.linuxlinuxintroductionIntroToUnix.ppt.intro.to.linuxlinuxintroduction
IntroToUnix.ppt.intro.to.linuxlinuxintroduction
 
Linux
LinuxLinux
Linux
 
Linux – an introduction
Linux – an introductionLinux – an introduction
Linux – an introduction
 
Introduction to Networking | Linux-Unix and System Administration | Docker an...
Introduction to Networking | Linux-Unix and System Administration | Docker an...Introduction to Networking | Linux-Unix and System Administration | Docker an...
Introduction to Networking | Linux-Unix and System Administration | Docker an...
 
Linux operating system ppt
Linux operating system pptLinux operating system ppt
Linux operating system ppt
 
Linux Introduction
Linux IntroductionLinux Introduction
Linux Introduction
 
Jaringan, Linux, Docker
Jaringan, Linux, DockerJaringan, Linux, Docker
Jaringan, Linux, Docker
 
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdfintroductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
 
Lecture 9
Lecture 9Lecture 9
Lecture 9
 
Linux is a unix
Linux  is a unixLinux  is a unix
Linux is a unix
 
Intro tounix
Intro tounixIntro tounix
Intro tounix
 
Introduction to Linux basic
Introduction to Linux basicIntroduction to Linux basic
Introduction to Linux basic
 

Recently uploaded

Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 

Recently uploaded (20)

Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 

1.1.1.Introduction.pdf

  • 1. Chapter 1: An Introduction to Linux Chapter 1 An Introduction to Linux (Slides adopted from ict-innovation.fossfa.net)
  • 2. Chapter 1 Outline ● In this chapter we will learn about: ✓ Some of the key events in the history of Linux ✓ The major components of a linux distribution ✓ How linux is licensed ✓ How Linux di'ers from Windows
  • 3. Some key events in the history of linux 1969 – the dawn of time. Ken Thompson and Dennis Ritchie write the /rst version of UNIX 1984 – Free Software Foundation start work on the GNU project which results in a C compiler (gcc) and editor (emacs) and lots of command line tools that mimic or improve on their traditional UNIX counterparts 1987 -- Andrew Tanenbaum writes Minix, a UNIX-like O/S that runs on PCs, mainly as a teaching aid 1991 – Linus Torvalds starts development of Linux as a project to exploit the Intel 386 architecture. Design is heavily in>uenced by Minix and UNIX 1994-ish: Explosive growth of the Internet fosters wide- spread growth of linux and the open source movement. 1970 1980 1990 2000
  • 4. The history of Linux (continued) ● Linux began life in 1991 ● Linus Torvalds wrote the original Linux operating system as a hobbyist exercise in exploiting the new Intel 386 memory architecture ● In>uenced by Minix, an operating system written by Torvald's professor Andy Tanenbaum as a teaching aid, which was in turn based on UNIX ● Not derived from UNIX source code but deliberately UNIX-compatible ● Contributions come from many other developers ● Free Software Foundation wrote bash shell, gcc compiler, many other command line tools, distributed under the GNU 'brand name' ● Like UNIX before it, linux was not originally conceived as a 'product'
  • 5. Linux distributions ● Strictly speaking, 'linux' refers only to the operating system kernel – In practice, linux distributions include hundreds of additional items of software from dozens of development teams ● In theory, all the pieces can be downloaded from the internet free of charge and assembled into a working system – In practice this is hard work ● Most users purchase a pre-built distribution – Snapshot of compatible versions of all components ● Vendors such as RedHat and SuSE add value in several ways: – Installation and con/guration tools – Supported ports of Linux to non-PC architectures (eg IBM mainframes) – Retail products include printed manuals and limited installation support – Enterprise products provide full support agreements and pro-active upgrade mechanisms
  • 6. The components of a linux distribution GNU Command Line Tools KDE Desktop and toolset XFree86 Server Apache Web Server Linux Kernel Samba File/Print Server Many, many others Installation, con/guration and maintenance tools, plus support RedHat SuSE Mandrake Debian
  • 7. How does linux di'er from windows? Linux Windows Free, open-source software Proprietary Runs on a wide variety of hardware Runs on PCs only Window System is optional and has a client/server architecture Window system is not optional and is tightly integrated Supports multiple, simultaneous interactive users Intended to support one interactive user
  • 8. Linux licensing and what 'Free Software' means ● The linux kernel and most linux applications are distributed under Open Source licences ● A number of open source licences have been developed ● GPL (GNU Public Licence) is the best known and is often adopted by software developers who do not have the skill or interest to develop their own licenses ● LGPL (Lesser General Public Licence) ● Many others ... see www.gnu.org/licenses/license-list.html ● Freedom of software refers to liberty not price ● Freedom to run the program ● Freedom to study the program and adapt it for your needs ● Freedom to redistribute copies ● Freedom to improve the program and release the improvements ● See www.opensource.org for a more detailed de/nition
  • 9. X Window system ● The X window system (also called X11 or simply X) was developed in 1984 at MIT ● Design goal was a platform- and hardware-independent window system ● Structured as a client/server architecture ● The X server runs on the machine that the graphics display, keyboard and mouse is connected to ● Accepts commands from clients to draw windows, text, graphics, etc ● Also makes keyboard and mouse input available to clients ● Provides “mechanism, not policy” (i.e. does not determine look-and-feel) ● SuSE Linux uses an implementation called XFree86 version 4 ● X clients (applications that require a graphical user interface) connect to an X server ● Client may be on same machine as server, or on a di'erent machine
  • 10. X Window system architecture X Server Window Manager (X Client) Application (X Client) Network Remote Application (X Client) Screen, keyboard and mouse It's not unusual to run an X server on a Microsoft Windows desktop (eg Hummingbird) to provide access to graphical desktops and applications running on Linux systems Remote Window Manager (X Client)
  • 11. Window managers and desktops ● A window manager is an important X client application, supporting: ● Starting applications via menus,etc ● Moving, resizing, opening, and closing windows ● Some window managers support multiple virtual desktops ● The window manager is partly responsible for establishing a look and feel of the linux desktop ● It is usually supplemented by a set of desktop tools, such as a launch bar, graphical /le manager, web browser, clock, calculator, mail user agent, scheduler, etc. ● The are several window manager / desktop toolsets for Linux: ● KDE The standard desktop supported by SuSE linux ● Gnome Another modern, full featured desktop popular on linux. Used by CentOS – Others: twm (part of the X distribution), mwm (motif window manager; used to be popular on Solaris), icewm, fvwm2, ...
  • 12. The X Window System is optional ● The X window system is not an integral part of the operating system – Linux can run with no windowing system or graphical applications – Many servers are run this way ● Con/gured and administered entirely using command-line tools – Saves on disk space, memory and CPU cycles
  • 13. Linux is multi-user ● Like later versions of windows, linux supports a user login – Authenticated by a password ● Linux supports multiple simultaneous logins – One on the main console, possibly running a graphical desktop – Several via character terminals connected to serial ports – Many via network logins using telnet, rlogin, or ssh ● All users have full command line access ● Multiple graphical logins are also possible – Each user has an independent desktop – This capability is inherent in the client/server architecture of the X window system ● Underlying operating system supports pre-emptive multi-tasking
  • 14. Linux runs on a wide variety of hardware ● Embedded linux – Phones, set-top boxes, PDAs, PC104 and other single board computers – ARM, MIPS processors, etc. – Specialist market, commercial support from companies like Montavista ● Mainstream (32-bit and 64-bit) – Intel, PowerPC, SPARC, Itanium, AMD64 ● Big Iron – IBM z/series mainframe
  • 15. RedHad and CentOS ● Linux runs most of the web servers today ● Many of the Enterprise systems run on RedHat Linux ● CentOS is a stripped-down version of RedHat