SlideShare a Scribd company logo
1 of 35
Peter Larsen
Red Hat Solutions Architect
For FredLug, October 2013
Introduction to
Linux
● Basic Computer Architecture
● Introduction to Operating Systems
● History of Linux and Open Source
● Features of Linux
● How to get started
Basic Computer
Architecture
● Power (PSU)
● Mother board
● CPU
● RAM
● Hard drives
● Video Card
The CPU
● Executes all instructions
● Instructions are binary (OP
codes)
● Modern CPUs have multiple
cores (more than one CPU on
the same chip)
● CPU speed is measured in
“hertz” - how fast the heart
beat of the CPU beats
Memory
● Electronic storage of data
● Cannot persist without
power
● Fast! (but not the fastest) –
Nanoseconds to respond
● Must be compatible with the
motherboard (bus)
Mother Board
● Where it all comes together
● Components of the
computer connects via BUS
connections on the MB
● Different MBs support
different BUS speeds
● Some come integrated with
video and much more
Hard Drive
● Stores Data persistently
● Can be mechanical (hdd) or
electronic (ssd)
● Connects to a controller (SATA,
PATA, IDE)
● Controller is attached to or
embedded in the motherboard
● Slow (> 1000 times slower than
main memory)
The magic that makes it all work
The Transistor
Logic Gates
AND gateOR gate
How does it work?
● Flip-Flop – basic electronic
component of computers
● Maintains a consistent state
between messages (memory)
● NOR gates (Not OR) are true only
when both inputs are 0 (false)
● Gates are basic electronic
features implemented using
transistors (outside scope)
Adding
● Half adder – take two bits and add
them together
● XOR and AND gates used
● XOR is true when only one or the
other input is true
● AND is true only when both are
true
● Putting adders in serial
connections allows us to add many
bits together
A B C S
0 0 0 0
0 1 0 1
1 0 0 1
1 1 1 0
Full Adder
● Including the carry from a
previous adder into the
result.
● XOR, AND and OR gates
A B Ci Co S
0 0 0 0 0
0 0 1 0 1
0 1 0 0 1
0 1 1 1 0
1 0 0 0 1
1 0 1 1 0
1 1 0 1 0
1 1 1 1 1
Architecture
Machine (CPU) Language
● Machine language is easy for the computer to understand
● HARD for humans
● Higher level computer languages translate easier understood
languages to computer OP codes
Introduction to Operating Systems
● Hardware does nothing without software
● The operating system is an “abstraction layer” between
your code and the hardware
● The hardware has no concept of “files”, “printers”,
“network” etc. - all of which is defined by the Operating
Systems
● Examples: Unix, Windows, Linux, VMS, DOS, CP-M
The OS Layers
Defining devices, security etc.
The Linux Kernel
History of Linux and Open Source
● First version published by Linus Torvalds in 1991
● Licensed under GNU GPL in 1992 – first Linux
Distributions appear
● 1994 version 1.x is released – Red Hat releases first
version
● 1998 Major companies announce support for Linux (IBM,
Oracle, Compaq)
● 2003 First enterprise release of Linux
● 2012 Red Hat becomes first company to cross $1 billion in
revenue on Open Source (not just Linux)
Why did it happen?
● Open Source started much earlier than Linux
– Early/Mid 1980s Richard Stallman and a group of engineers wanted a
free version of Unix to use in universities.
– Proprietary code and contracts prevented use of the systems to do what
Stallman wanted to do
– Established GNU, CopyLeft and FSF which lead to GPL 1.0
– http://www.gnu.org/gnu/thegnuproject.html
● Open Source is about FREEDOM – not “gratis” (free as in beer)
● The freedom to share created innovation and participation
Linux is just the tip of the ice berg
● Open Source existed before Linux – but GNU and Linux created a
platform making Open Source projects take off
– Apache
– Java
– Perl
– Python
– Postgresql
● Using commodity hardware and free software, everyone can take part
● The internet is the glue that holds the communities together
Software Repositories
● Early on – working with Linux meant custom compiling
everything to install it – including the kernel
● Today's Linux distributions all use binary distributions of
software
● The binaries are stored on repository servers making it very
simple to install any software
● Software comes in “packages” such as RPM and DEP
● Installing software on Linux is easier than on Windows
Features of Linux
● Linux is “just” a kernel – the core of the operating system
● The kernel does nothing without software. The GNU project provided
most of the software needed to be compatitble with Unix (commands
like ls, ps, cd, mkdir are all from the GNU project)
● Some prefer to call Linux “GNU/Linux” since this is more true to what
actually makes a basic Linux system run
● Linus Torvalds still maintains control of the kernel and it's development
● Linux dominates in most data-centers, in appliances and mobile
devices. Chances are you're running Linux already without knowing it!
Core features of any Linux system
● File systems
– Has a root (named /) and directories under it. Directories may be “mount
points” to other file systems. Software is not aware of where data is actually
stored
– Lots of different file systems: ext2/3/4, ReiserFS, XFS, vFAT, NTFS
● Everything is a file
– The concept of files goes beyond storing data. Everything is represented via
a file, such as raw devices to which to OS communicates
– Even processes are seen as files
Putting it all together
● Linux provides a base to run advanced and high performing software
on
● Open Source means you can get it for free
● Linux supports older hardware – because you can slim down what
you run, you can make it run with little memory and CPU power of
older hardware
● Tons of software written for Linux today.
● Community participation makes Linux grow – join the community!
More Core Features
● Processes
– A process is a unit that executes code
– Some processes are part of the operating system
– When your software runs, it becomes a process
– All processes have a PID (Process IDentifcation) number
– Processes are owned by a user
– Linux handles how to run many processes at the same time. It's not
unusual to have 200 processes at the same time
Features ....
● Security
– Multi User operating system. Linux is designed to be used by more than
one user at a time
– Everything must run as a user
– Every system has a “root” user with UID of 0. This “super admin” can
bypass pretty much every security feature of the system.
NO ONE SHOULD RUN AS ROOT PERMANENTLY!
– File security allows files to be kept private, shared with a few or shared
with everyone. Security defines rights to read, write and execute.
Features – the interface
● Linux can be used with or without a graphical interface
● Servers usually run without a GUI
● Users can choose between many different types of GUI
environments (window managers) – GNome, KDE, Sugar to
mention a few
● Command Line consoles – local and remote
Features - Networking
● Linux did not become TCP compliant until late in it's life. It was
one of the many delays before version 1 was released
● Today, Linux is used as the core in routers and switches. It's
modularity and highly customizable structure makes it ideal for
embedded devices
● Linux supports more than IP networking but it's by far the most
used
● Linux is ideal for firewalls and complex network usage
How to get started
● For end users, Linux provides all the features we use
computers for:
– Email, Web browsing, graphical design, movie making/editing,
photo management, 3D design, Music and much more
– Robust and secure OS
– No need to be grand techie to get started (this did not use to be
the case)
● How do I run my Microsoft/MAC program on Linux?
– Short answer: you don't
– Long answer: Find the same program made for Linux or
something that provides the same features
Distributions
● The first step is to pick a distribution
● Distributions are released collections of already compiled and
configured Linux systems. Without distributions, you'll have to
be an IT master to configure a system to run Linux
● There are many flavors of Linux distributions: Ubuntu, Fedora,
Debian, Arch, DSL, CentOS, Red Hat, SuSE – in facts
hundreds of distributions exit
● Where to begin: http://distrowatch.org
●
User Groups
● You're already here – so we can skip this :)
● Networking – learning from peers helps you getting over the
hurdles that you will run into
● Linux is all about the community – become part of it, attend
user group meetings, use IRC, Mailing lists etc. to make Linux
better. Without an active community, Open Source does not
work.
● A great place to work on getting better at public speaking
IRC
● Internet Relay Chat
● Has been around since the mid 1980'ies
● Group chat online
● Being able to talk to 10s or hundreds at the same time, is not only
fun but a great way to learn and exchange ideas
● Text based – old school!
● XChat and irrs are popular programs on Linux to use for IRC
● freenode.org is the IRC server for anything open source
Mailing Lists
● Web sites, Mailing lists, IRC – are ways of communication
● Mailing lists are email based communication where you send
emails out to all subscribers. It allows a community of people to
communicate easily together via email
● UUNET is dead – no more, where's the beer?
● Go to http://calypso.tux.org/ to sign up for our mailing list
● http://www.meetup.com/fredlug
● http://fredlug.info
Questions?
● Start from: What do you want to do?
● Once you find your answer, there is software out there to
help you do that!
● You do not have to be super technical to make use of Linux
● A little bit of knowledge helps tremendously

More Related Content

What's hot

What's hot (20)

An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to Linux
 
A History of Linux
A History of LinuxA History of Linux
A History of Linux
 
what is LINUX ? presentation.
what is LINUX ? presentation.what is LINUX ? presentation.
what is LINUX ? presentation.
 
Linux seminar
Linux seminarLinux seminar
Linux seminar
 
A general Overview of linux !!
A general Overview of linux !!A general Overview of linux !!
A general Overview of linux !!
 
Linux introduction, class 1
Linux introduction, class 1Linux introduction, class 1
Linux introduction, class 1
 
Linux Seminar for Beginners
Linux Seminar for BeginnersLinux Seminar for Beginners
Linux Seminar for Beginners
 
Linux Introduction
Linux IntroductionLinux Introduction
Linux Introduction
 
History of Linux
History of LinuxHistory of Linux
History of Linux
 
Linux Simple Introduction
Linux Simple IntroductionLinux Simple Introduction
Linux Simple Introduction
 
Linux programming lecture_notes
Linux programming lecture_notesLinux programming lecture_notes
Linux programming lecture_notes
 
Introduction 2 linux
Introduction 2 linuxIntroduction 2 linux
Introduction 2 linux
 
Operating systems linux
Operating systems linuxOperating systems linux
Operating systems linux
 
Linux command ppt
Linux command pptLinux command ppt
Linux command ppt
 
Linux os and its features
Linux os and its featuresLinux os and its features
Linux os and its features
 
Ppt af linux
Ppt af linuxPpt af linux
Ppt af linux
 
comparing windows and linux ppt
comparing windows and linux pptcomparing windows and linux ppt
comparing windows and linux ppt
 
Linux OS presentation
Linux OS presentationLinux OS presentation
Linux OS presentation
 
ppt on linux by MUKESH PATEL
ppt on linux by MUKESH PATELppt on linux by MUKESH PATEL
ppt on linux by MUKESH PATEL
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 

Viewers also liked

Linux – an introduction
Linux – an introductionLinux – an introduction
Linux – an introductionWingston
 
Windows Operating System
Windows Operating SystemWindows Operating System
Windows Operating SystemTarun Nayak
 
Presentation1 linux os
Presentation1 linux osPresentation1 linux os
Presentation1 linux osjoycoronado
 
Presentation Introduction to Windows
Presentation  Introduction to  WindowsPresentation  Introduction to  Windows
Presentation Introduction to WindowsMJ Ferdous
 
Evolution of Microsoft windows operating systems
Evolution of Microsoft windows operating systemsEvolution of Microsoft windows operating systems
Evolution of Microsoft windows operating systemsSai praveen Seva
 
Types of Operating System
Types of Operating SystemTypes of Operating System
Types of Operating SystemHemant Raj
 
types of operating system
types of operating systemtypes of operating system
types of operating systemMahira Rashdi
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)Vaibhav Bajaj
 
Windows series operating system
Windows series operating systemWindows series operating system
Windows series operating systemUmmara Khan
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt onu9
 
Operating system overview concepts ppt
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts pptRajendraPrasad Alladi
 

Viewers also liked (14)

Linux – an introduction
Linux – an introductionLinux – an introduction
Linux – an introduction
 
Windows Operating System
Windows Operating SystemWindows Operating System
Windows Operating System
 
Presentation1 linux os
Presentation1 linux osPresentation1 linux os
Presentation1 linux os
 
Presentation Introduction to Windows
Presentation  Introduction to  WindowsPresentation  Introduction to  Windows
Presentation Introduction to Windows
 
Evolution of Microsoft windows operating systems
Evolution of Microsoft windows operating systemsEvolution of Microsoft windows operating systems
Evolution of Microsoft windows operating systems
 
Types of Operating System
Types of Operating SystemTypes of Operating System
Types of Operating System
 
types of operating system
types of operating systemtypes of operating system
types of operating system
 
Introduction to Linux
Introduction to LinuxIntroduction to Linux
Introduction to Linux
 
Types of operating system
Types of operating systemTypes of operating system
Types of operating system
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)
 
Windows series operating system
Windows series operating systemWindows series operating system
Windows series operating system
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
 
Presentation on operating system
 Presentation on operating system Presentation on operating system
Presentation on operating system
 
Operating system overview concepts ppt
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts ppt
 

Similar to Introduction to linux

Hillel kobrovski Linux security overview for ciso
Hillel kobrovski   Linux security overview for cisoHillel kobrovski   Linux security overview for ciso
Hillel kobrovski Linux security overview for cisoHillel Kobrovski
 
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 [2005]
Linux [2005]Linux [2005]
Linux [2005]Raul Soto
 
Intoduction to Linux
Intoduction to LinuxIntoduction to Linux
Intoduction to LinuxAnshul Sharma
 

Similar to Introduction to linux (20)

Hillel kobrovski Linux security overview for ciso
Hillel kobrovski   Linux security overview for cisoHillel kobrovski   Linux security overview for ciso
Hillel kobrovski Linux security overview for ciso
 
Linux para iniciantes
Linux para iniciantesLinux para iniciantes
Linux para iniciantes
 
Linux for everyone
Linux for everyoneLinux for everyone
Linux for everyone
 
Linux introduction (eng)
Linux introduction (eng)Linux introduction (eng)
Linux introduction (eng)
 
Before begining linux
Before begining linuxBefore begining linux
Before begining linux
 
Embedded Linux on ARM
Embedded Linux on ARMEmbedded Linux on ARM
Embedded Linux on ARM
 
Intro to linux
Intro to linux Intro to linux
Intro to linux
 
Linux
LinuxLinux
Linux
 
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-Internals-and-Networking
Linux-Internals-and-NetworkingLinux-Internals-and-Networking
Linux-Internals-and-Networking
 
Linux
Linux Linux
Linux
 
Linux forensics
Linux forensicsLinux forensics
Linux forensics
 
Linux Systems: Getting started with setting up an Embedded platform
Linux Systems: Getting started with setting up an Embedded platformLinux Systems: Getting started with setting up an Embedded platform
Linux Systems: Getting started with setting up an Embedded platform
 
Linux systems - Linux Commands and Shell Scripting
Linux systems - Linux Commands and Shell ScriptingLinux systems - Linux Commands and Shell Scripting
Linux systems - Linux Commands and Shell Scripting
 
Buntu
BuntuBuntu
Buntu
 
Linux [2005]
Linux [2005]Linux [2005]
Linux [2005]
 
Intoduction to Linux
Intoduction to LinuxIntoduction to Linux
Intoduction to Linux
 
Introduction to Linux
Introduction to LinuxIntroduction to Linux
Introduction to Linux
 
MOE Ubuntu Desktop training
MOE Ubuntu Desktop trainingMOE Ubuntu Desktop training
MOE Ubuntu Desktop training
 
Linux basics
Linux basicsLinux basics
Linux basics
 

More from plarsen67

Containers in a Kubernetes World
Containers in a Kubernetes WorldContainers in a Kubernetes World
Containers in a Kubernetes Worldplarsen67
 
FREDLUG - Open Broadcast Studio - OBS
FREDLUG - Open Broadcast Studio - OBSFREDLUG - Open Broadcast Studio - OBS
FREDLUG - Open Broadcast Studio - OBSplarsen67
 
Bash and regular expressions
Bash and regular expressionsBash and regular expressions
Bash and regular expressionsplarsen67
 
Grub and dracut ii
Grub and dracut iiGrub and dracut ii
Grub and dracut iiplarsen67
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linuxplarsen67
 
Open Source - NOVALUG January 2019
Open Source  - NOVALUG January 2019Open Source  - NOVALUG January 2019
Open Source - NOVALUG January 2019plarsen67
 
The ABC of Linux (Linux for Beginners)
The ABC of Linux (Linux for Beginners)The ABC of Linux (Linux for Beginners)
The ABC of Linux (Linux for Beginners)plarsen67
 
Kvm and libvirt
Kvm and libvirtKvm and libvirt
Kvm and libvirtplarsen67
 
JBoss Enterprise Data Services (Data Virtualization)
JBoss Enterprise Data Services (Data Virtualization)JBoss Enterprise Data Services (Data Virtualization)
JBoss Enterprise Data Services (Data Virtualization)plarsen67
 
Open shift 2.x and MongoDB
Open shift 2.x and MongoDBOpen shift 2.x and MongoDB
Open shift 2.x and MongoDBplarsen67
 
Fredlug networking
Fredlug networkingFredlug networking
Fredlug networkingplarsen67
 
Disks and-filesystems
Disks and-filesystemsDisks and-filesystems
Disks and-filesystemsplarsen67
 
Disks and-filesystems
Disks and-filesystemsDisks and-filesystems
Disks and-filesystemsplarsen67
 
Intro fredlug
Intro fredlugIntro fredlug
Intro fredlugplarsen67
 
Lvm and gang 2015
Lvm and gang 2015Lvm and gang 2015
Lvm and gang 2015plarsen67
 
Bash and regular expressions
Bash and regular expressionsBash and regular expressions
Bash and regular expressionsplarsen67
 
Speed Up Development With OpenShift
Speed Up Development With OpenShiftSpeed Up Development With OpenShift
Speed Up Development With OpenShiftplarsen67
 

More from plarsen67 (18)

Containers in a Kubernetes World
Containers in a Kubernetes WorldContainers in a Kubernetes World
Containers in a Kubernetes World
 
FREDLUG - Open Broadcast Studio - OBS
FREDLUG - Open Broadcast Studio - OBSFREDLUG - Open Broadcast Studio - OBS
FREDLUG - Open Broadcast Studio - OBS
 
Bash and regular expressions
Bash and regular expressionsBash and regular expressions
Bash and regular expressions
 
Grub and dracut ii
Grub and dracut iiGrub and dracut ii
Grub and dracut ii
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Open Source - NOVALUG January 2019
Open Source  - NOVALUG January 2019Open Source  - NOVALUG January 2019
Open Source - NOVALUG January 2019
 
3d printing
3d printing3d printing
3d printing
 
The ABC of Linux (Linux for Beginners)
The ABC of Linux (Linux for Beginners)The ABC of Linux (Linux for Beginners)
The ABC of Linux (Linux for Beginners)
 
Kvm and libvirt
Kvm and libvirtKvm and libvirt
Kvm and libvirt
 
JBoss Enterprise Data Services (Data Virtualization)
JBoss Enterprise Data Services (Data Virtualization)JBoss Enterprise Data Services (Data Virtualization)
JBoss Enterprise Data Services (Data Virtualization)
 
Open shift 2.x and MongoDB
Open shift 2.x and MongoDBOpen shift 2.x and MongoDB
Open shift 2.x and MongoDB
 
Fredlug networking
Fredlug networkingFredlug networking
Fredlug networking
 
Disks and-filesystems
Disks and-filesystemsDisks and-filesystems
Disks and-filesystems
 
Disks and-filesystems
Disks and-filesystemsDisks and-filesystems
Disks and-filesystems
 
Intro fredlug
Intro fredlugIntro fredlug
Intro fredlug
 
Lvm and gang 2015
Lvm and gang 2015Lvm and gang 2015
Lvm and gang 2015
 
Bash and regular expressions
Bash and regular expressionsBash and regular expressions
Bash and regular expressions
 
Speed Up Development With OpenShift
Speed Up Development With OpenShiftSpeed Up Development With OpenShift
Speed Up Development With OpenShift
 

Recently uploaded

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Recently uploaded (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Introduction to linux

  • 1. Peter Larsen Red Hat Solutions Architect For FredLug, October 2013
  • 2. Introduction to Linux ● Basic Computer Architecture ● Introduction to Operating Systems ● History of Linux and Open Source ● Features of Linux ● How to get started
  • 3. Basic Computer Architecture ● Power (PSU) ● Mother board ● CPU ● RAM ● Hard drives ● Video Card
  • 4. The CPU ● Executes all instructions ● Instructions are binary (OP codes) ● Modern CPUs have multiple cores (more than one CPU on the same chip) ● CPU speed is measured in “hertz” - how fast the heart beat of the CPU beats
  • 5. Memory ● Electronic storage of data ● Cannot persist without power ● Fast! (but not the fastest) – Nanoseconds to respond ● Must be compatible with the motherboard (bus)
  • 6. Mother Board ● Where it all comes together ● Components of the computer connects via BUS connections on the MB ● Different MBs support different BUS speeds ● Some come integrated with video and much more
  • 7. Hard Drive ● Stores Data persistently ● Can be mechanical (hdd) or electronic (ssd) ● Connects to a controller (SATA, PATA, IDE) ● Controller is attached to or embedded in the motherboard ● Slow (> 1000 times slower than main memory)
  • 8. The magic that makes it all work The Transistor
  • 10. How does it work? ● Flip-Flop – basic electronic component of computers ● Maintains a consistent state between messages (memory) ● NOR gates (Not OR) are true only when both inputs are 0 (false) ● Gates are basic electronic features implemented using transistors (outside scope)
  • 11. Adding ● Half adder – take two bits and add them together ● XOR and AND gates used ● XOR is true when only one or the other input is true ● AND is true only when both are true ● Putting adders in serial connections allows us to add many bits together A B C S 0 0 0 0 0 1 0 1 1 0 0 1 1 1 1 0
  • 12. Full Adder ● Including the carry from a previous adder into the result. ● XOR, AND and OR gates A B Ci Co S 0 0 0 0 0 0 0 1 0 1 0 1 0 0 1 0 1 1 1 0 1 0 0 0 1 1 0 1 1 0 1 1 0 1 0 1 1 1 1 1
  • 14. Machine (CPU) Language ● Machine language is easy for the computer to understand ● HARD for humans ● Higher level computer languages translate easier understood languages to computer OP codes
  • 15. Introduction to Operating Systems ● Hardware does nothing without software ● The operating system is an “abstraction layer” between your code and the hardware ● The hardware has no concept of “files”, “printers”, “network” etc. - all of which is defined by the Operating Systems ● Examples: Unix, Windows, Linux, VMS, DOS, CP-M
  • 19. History of Linux and Open Source ● First version published by Linus Torvalds in 1991 ● Licensed under GNU GPL in 1992 – first Linux Distributions appear ● 1994 version 1.x is released – Red Hat releases first version ● 1998 Major companies announce support for Linux (IBM, Oracle, Compaq) ● 2003 First enterprise release of Linux ● 2012 Red Hat becomes first company to cross $1 billion in revenue on Open Source (not just Linux)
  • 20. Why did it happen? ● Open Source started much earlier than Linux – Early/Mid 1980s Richard Stallman and a group of engineers wanted a free version of Unix to use in universities. – Proprietary code and contracts prevented use of the systems to do what Stallman wanted to do – Established GNU, CopyLeft and FSF which lead to GPL 1.0 – http://www.gnu.org/gnu/thegnuproject.html ● Open Source is about FREEDOM – not “gratis” (free as in beer) ● The freedom to share created innovation and participation
  • 21. Linux is just the tip of the ice berg ● Open Source existed before Linux – but GNU and Linux created a platform making Open Source projects take off – Apache – Java – Perl – Python – Postgresql ● Using commodity hardware and free software, everyone can take part ● The internet is the glue that holds the communities together
  • 22. Software Repositories ● Early on – working with Linux meant custom compiling everything to install it – including the kernel ● Today's Linux distributions all use binary distributions of software ● The binaries are stored on repository servers making it very simple to install any software ● Software comes in “packages” such as RPM and DEP ● Installing software on Linux is easier than on Windows
  • 23. Features of Linux ● Linux is “just” a kernel – the core of the operating system ● The kernel does nothing without software. The GNU project provided most of the software needed to be compatitble with Unix (commands like ls, ps, cd, mkdir are all from the GNU project) ● Some prefer to call Linux “GNU/Linux” since this is more true to what actually makes a basic Linux system run ● Linus Torvalds still maintains control of the kernel and it's development ● Linux dominates in most data-centers, in appliances and mobile devices. Chances are you're running Linux already without knowing it!
  • 24. Core features of any Linux system ● File systems – Has a root (named /) and directories under it. Directories may be “mount points” to other file systems. Software is not aware of where data is actually stored – Lots of different file systems: ext2/3/4, ReiserFS, XFS, vFAT, NTFS ● Everything is a file – The concept of files goes beyond storing data. Everything is represented via a file, such as raw devices to which to OS communicates – Even processes are seen as files
  • 25. Putting it all together ● Linux provides a base to run advanced and high performing software on ● Open Source means you can get it for free ● Linux supports older hardware – because you can slim down what you run, you can make it run with little memory and CPU power of older hardware ● Tons of software written for Linux today. ● Community participation makes Linux grow – join the community!
  • 26. More Core Features ● Processes – A process is a unit that executes code – Some processes are part of the operating system – When your software runs, it becomes a process – All processes have a PID (Process IDentifcation) number – Processes are owned by a user – Linux handles how to run many processes at the same time. It's not unusual to have 200 processes at the same time
  • 27. Features .... ● Security – Multi User operating system. Linux is designed to be used by more than one user at a time – Everything must run as a user – Every system has a “root” user with UID of 0. This “super admin” can bypass pretty much every security feature of the system. NO ONE SHOULD RUN AS ROOT PERMANENTLY! – File security allows files to be kept private, shared with a few or shared with everyone. Security defines rights to read, write and execute.
  • 28. Features – the interface ● Linux can be used with or without a graphical interface ● Servers usually run without a GUI ● Users can choose between many different types of GUI environments (window managers) – GNome, KDE, Sugar to mention a few ● Command Line consoles – local and remote
  • 29. Features - Networking ● Linux did not become TCP compliant until late in it's life. It was one of the many delays before version 1 was released ● Today, Linux is used as the core in routers and switches. It's modularity and highly customizable structure makes it ideal for embedded devices ● Linux supports more than IP networking but it's by far the most used ● Linux is ideal for firewalls and complex network usage
  • 30. How to get started ● For end users, Linux provides all the features we use computers for: – Email, Web browsing, graphical design, movie making/editing, photo management, 3D design, Music and much more – Robust and secure OS – No need to be grand techie to get started (this did not use to be the case) ● How do I run my Microsoft/MAC program on Linux? – Short answer: you don't – Long answer: Find the same program made for Linux or something that provides the same features
  • 31. Distributions ● The first step is to pick a distribution ● Distributions are released collections of already compiled and configured Linux systems. Without distributions, you'll have to be an IT master to configure a system to run Linux ● There are many flavors of Linux distributions: Ubuntu, Fedora, Debian, Arch, DSL, CentOS, Red Hat, SuSE – in facts hundreds of distributions exit ● Where to begin: http://distrowatch.org ●
  • 32. User Groups ● You're already here – so we can skip this :) ● Networking – learning from peers helps you getting over the hurdles that you will run into ● Linux is all about the community – become part of it, attend user group meetings, use IRC, Mailing lists etc. to make Linux better. Without an active community, Open Source does not work. ● A great place to work on getting better at public speaking
  • 33. IRC ● Internet Relay Chat ● Has been around since the mid 1980'ies ● Group chat online ● Being able to talk to 10s or hundreds at the same time, is not only fun but a great way to learn and exchange ideas ● Text based – old school! ● XChat and irrs are popular programs on Linux to use for IRC ● freenode.org is the IRC server for anything open source
  • 34. Mailing Lists ● Web sites, Mailing lists, IRC – are ways of communication ● Mailing lists are email based communication where you send emails out to all subscribers. It allows a community of people to communicate easily together via email ● UUNET is dead – no more, where's the beer? ● Go to http://calypso.tux.org/ to sign up for our mailing list ● http://www.meetup.com/fredlug ● http://fredlug.info
  • 35. Questions? ● Start from: What do you want to do? ● Once you find your answer, there is software out there to help you do that! ● You do not have to be super technical to make use of Linux ● A little bit of knowledge helps tremendously