Presentation is loading. Please wait.

Presentation is loading. Please wait.

Linux Essentials Chapter 1: Selecting an Operating System.

Similar presentations


Presentation on theme: "Linux Essentials Chapter 1: Selecting an Operating System."— Presentation transcript:

1 Linux Essentials Chapter 1: Selecting an Operating System

2 Chapter 1 Outline What is an OS? Investigating user interfaces Where does Linux fit in the OS world? What is a distribution?

3 What Is an OS? OS kernel component Additional components

4 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

5 What Is an OS? (continued) OS Kernel Components Additional Components Command-line shells Graphical user interfaces Utility programs Libraries Productivity programs

6 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 After login, you receive a shell prompt: [rich@essentials: ∼ ]$

7 Investigating User Interfaces (continued) Using a Text-Mode User Interface Enter commands at the shell prompt: $ ls 106792c01.doc f0101.tif $ Commands display information and immediately return a prompt or…

8 Investigating User Interfaces (continued) Using a Text-Mode User Interface Take over the display:

9 Investigating User Interfaces (continued) Using a Text-Mode User Interface Using a Graphical User Interface

10

11

12 Investigating User Interfaces (continued) Using a Text-Mode User Interface Using a Graphical User Interface Desktop Environment Features: o Program launchers o File managers o Window controls o Multiple desktops o Logout options

13 What is Open Source? Source code = Programming code human beings use to write software programs Compiler = Software that turns source code into binary code, but does not execute the binary code Translator = Software that turns source code temporarily into binary code and executes it Binary code = Code that machines need to run/understand software programs Open source = Freely available source code

14 Where Does Linux Fit in the OS World? Comparing Linux to Unix The Linux kernel o Based on Unix o Specifically Minix The GNU's Not Unix (GNU) project o By Free Software Foundation (FSF) o Goal: Develop open source replacements for Unix core elements Xorg-X11 o Variety of the X Windows System o X is foundation for most Unix OS GUIs

15 Where Does Linux Fit in the OS World? (continued) Comparing Linux to Unix The Linux kernel The GNU's Not Unix (GNU) project Xorg-X11 Desktop environments o Many open source desktop environments are on both Unix and Linux. o Examples:  GNOME  KDE  Xfce

16 Where Does Linux Fit in the OS World? (continued) Comparing Linux to Unix The Linux kernel The GNU's Not Unix (GNU) project Xorg-X11 Desktop environments Server programs o Both Unix and Linux are popular as Server OSs. o Examples:  Web servers  Email servers  File servers

17 Where Does Linux Fit in the OS World? (continued) Comparing Linux to Unix The Linux kernel The GNU's Not Unix (GNU) project Xorg-X11 Desktop environments Server programs User productivity programs o Linux and Unix-like OSs run similar programs. o More likely to find support on Linux

18 Where Does Linux Fit in the OS World? (continued) Comparing Linux to Mac OS X Mac OS X is a Unix-based OS User interface is different: o Names:  Cocoa (programming perspective)  Aqua (user perspective) o Applications developed for OS X cannot run on Linux without heavy modification. o Applications developed on Linux can run on OS X with minor (or none) modifications. OS X limited to Apple hardware Linux runs on a wide-variety of hardware.

19 Where Does Linux Fit in the OS World? (continued) Comparing Linux to Unix Comparing Linux to Mac OS X Comparing Linux to Windows Licensing o Linux - Open Source o Windows - Closed Source Proprietary Costs o Linux  Free licenses  Human expertise hard to find and more expensive o Windows  Costly licenses  Human expertise easy to find and less expensive

20 Where Does Linux Fit in the OS World? (continued) Comparing Linux to Windows Licensing Costs Hardware compatibility o Drivers  Windows - most companies provide drivers  Linux - drivers typically provided by community o Older hardware  Linux - runs better

21 Where Does Linux Fit in the OS World? (continued) Comparing Linux to Windows Licensing Costs Hardware compatibility Software availability o Windows - Microsoft Office reigns o Linux - Apache Web server reigns User interfaces o Windows - Proprietary o Linux - Open source & standards based

22 Where Does Linux Fit in the OS World? (continued) Comparing Linux to Windows Licensing Costs Hardware compatibility Software availability User interfaces Configurability o Linux is more configurable/flexible. Security o Open source software tends to be more secure. o Linux is used by the US Government.

23 What Is a Distribution? Creating a Complete Linux-Based OS A Linux kernel Core Unix tools Supplemental software Startup scripts An installer

24 A Summary of Common Linux Distributions DistributionAvailabilityPackage formatRelease cycleAdministrator skill reqs ArchFreepacmanRollingExpert CentOSFreeRPMapprox 2-yearIntermediate DebianFreeDebian2-yearIntermediate to expert FedoraFreeRPMapprox 6-monthIntermediate GentooFreeEbuildRollingExpert MintFreeDebian6-monthNovice to intermediate openSUSEFreeRPM8-monthIntermediate Red Hat Enterprise CommercialRPMapprox 2-yearIntermediate ScientificFreeRPMapprox 6-monthIntermediate to expert SlackwareFreetarballsIrregularExpert SUSE Enterprise CommercialRPM2–3 yearsIntermediate UbuntuFreeDebian6-monthNovice to intermediate

25 What Is a Distribution? (continued) Creating a Complete Linux-Based OS A Summary of Common Linux Distributions Specialized distributions: Android Network appliances TiVo Parted Magic

26 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:  Given for stated amount of time  Software updates are made available for bugs and security issues.  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


Download ppt "Linux Essentials Chapter 1: Selecting an Operating System."

Similar presentations


Ads by Google