SlideShare una empresa de Scribd logo
1 de 35
Descargar para leer sin conexión
*nix Intro
Everything is a
fi
le
Why do we 

Linux? Why
Do we do it ?
The why!
Why ?
Why do we care bout Linux ?
Not only cause everyone’s
doin it !
Unix dominates the commercial market
In the 70’s til early 90’s Unix dominated the market
AT&T to begin commercial licensing of Unix as a
binary product - commercialization of Software
and legislation.


Good for business | Bad for Developers !


From Hardware “single purpose” to multiple
purpose / multi threaded processing.


A concept you could use only if your RICH
GNU
Which came
fi
rst really - Richard Stallman a.k.a RMathewS (1984)
Founder of Free Software Foundation


GNU


fi
ndutils -
fi
nd, locate, xargs etc


Emacs


Make - a.k.a GNU MAKE


ls, mkdir, the works ….
https://www.gnu.org/software/software.html#allgnupkgs
Tools inspired by Unix / BSD Os
Software should be free -> GNU’s not UNIX ! (Unix is proprietary / not free !)
The freedom to run the program as you wish, for any purpose
(freedom 0).


The freedom to study how the program works, and change it so it
does your computing as you wish (freedom 1). Access to the source
code is a precondition for this.


The freedom to redistribute copies so you can help others (freedom
2).


The freedom to distribute copies of your modi
fi
ed versions to others
(freedom 3). By doing this you can give the whole community a
chance to bene
fi
t from your changes. Access to the source code is a
precondition for this.
POSIX
Portable Operating System Interface | Portability (1988)
POSIX de
fi
nes a standard for:


operating system shells (command line interfaces),


system utilities such as awk and echo,


system libraries


File-system attributes


Sockets


Virtual File System(s)
Linux - Linus Torvalds
The author & maintainer of the Linux Kernel (1991)
https://www.cs.cmu.edu/~awb/linux.history.html
Why ?
Why do we care bout Linux ?
It’s the most common


It’s the most free


It’s the most
fl
exible


It’s the most customizable


It’s the most ef
fi
cient !


It’s the most cost affective
Why ?
Why do we care bout Linux ?
It’s the most common


It’s the most free


It’s the most
fl
exible


It’s the most customizable


It’s the most ef
fi
cient !


It’s the most cost affective
Why ?
Why do we care bout Linux ?
What is it ?
What
Is Linux ?
Linux Experience !
Architecture | Linux == a kernel
GNU linux is Kernel + many GNU’s programs
The Heart of Linux


A design pattern which is loosely couples HW
from SW
https://www.kernel.org/
Architecture | The Linux kernel
GNU's Not Unix
The Heart of Linux


A design pattern which is loosely couples HW
from SW


The only one allowed to communicate with
hardware via Standards
https://github.com/LinuxStandardBase https://www.kernel.org/
Architecture | Virtual Machine Management
A concept which resides in the heart of the OS
By design each Process is a Virtual Machine
which is confusing nowadays with VM’s,
Containers etc - lets refer to them as Process by
their ProcessID
https://www.geeksforgeeks.org/the-linux-kernel/
Architecture | Virtual Machine Management
A concept which resides in the heart of the OS - kernel is lightweight !
By design each Process is a Virtual Machine
which is confusing nowadays with VM’s,
Containers etc - lets refer to them as Process by
their ProcessID


~115 MB full size


Some dists are few MB …
Architecture | Process management
of the GNU/Linux operating system
By design each Process is a Virtual Machine which is confusing
nowadays with VM’s, Containers etc - lets refer to them as Process
by their ProcessID


Process Trees & Inheritance


Process queue up for resources - CPU | RAM | DISK | NETWORK


Old linux distros had `zombies` …
https://www.geeksforgeeks.org/the-linux-kernel/
Architecture | Processes, status / state
Process trees
init(1)-+-crond(98
)

|-emacs(387
)

|-gpm(146
)

|-inetd(110
)

|-kerneld(18
)

|-kflushd(2
)

|-klogd(87
)

|-kswapd(3
)

|-login(160)---bash(192)---emacs(225
)

|-lpd(121
)

|-mingetty(161
)

|-mingetty(162
)

|-mingetty(163
)

|-mingetty(164
)

|-login(403)---bash(404)---pstree(594
)

|-sendmail(134
)

|-syslogd(78
)

`-update(166
)
Architecture | Standard directory structure
Process trees
Context Bound


built in indexing


Base of many Standards !
Architecture | *Everything is a file
Common directory Access Control List
"Everything is a
fi
le" is a bit too broad. "Everything appears somewhere in the 
fi
lesystem"
is more accurate, and even then, it's more an ideal than a law of system design.
Architecture | Standard Communication Interfaces
I/O management


Process


IPC - Inner Process Communication


Inner / Outer Network Communications


FileSystem I/O


R/W


Dynamic / Static / Virtual


Namespaces


USer


Kernel
How do we (you ?)
Linux Experience
The How !
How
Methodology
Linux Disto’s
To some It’s a religion ;)
Many distributions of Linux


Developers


Production


Community Supported


Commercially supported
Package Managers
Linux’s Flavors
Community driven distributions such as dabian with apt


Commercial driven distributions such as redhat with rpm


Many more to follow … apk, pacman
Containers
Universal packaging unit
Production
Anywhere
Runtime
Any OS
Code
Any Language
The bigger picture
Linux’s everywhere
Linux Environment Evolution
Server-Rack
Telnet, RDC, SSH
Virtualization
Docker
Kubernetes
Cloud OS
The cloud
Public | Private | Multi | Poly
kubectl
Taking over | flexible | multipurpose OS
Linux Principles | Consumption model
Everything is a
fi
le
Bare Metal Installation | Kernel + GNU
Linux Principles | Consumption model
Containers | Jails | Chroot
Bare Metal Installation | Kernel + GNU


VM’s / Containers | vmlinuz, solaris jails,
docker, containerd
Linux Principles | Consumption model
Containers | Jails | Chroot
Bare Metal Installation | Kernel + GNU


VM’s / Containers | vmlinuz, solaris jails,
docker, containerd


“Virtual Machine” -> A Hypervisor which
simulates HW
Linux Principles | Consumption model
From Vanilla (Iaas) / Multipurpose to Usage sprci
fi
c (PaaS)
Bare Metal Installation | Kernel
+ GNU


VM’s / Containers | vmlinuz,
solaris jails, docker, containerd


“Virtual Machine” -> A
Hypervisor which simulates
HW


Function | FaaS architecture
More practice ?Linux
Experience
The How !
Files / Shell scripts


Directories


LibreOf
fi
ce documents


Serial ports


Kernel data structures


Kernel tuning parameters


Hard drives


Partitions


Logical Volumes (LVM)


Printers


Sockets
*nix flavors
File-system permissions
Numeric notation
Recommended Linux Training
https://training.linuxfoundation.org/resources/free-courses/


https://www.katacoda.com/


https://support.linuxacademy.com/hc/en-us


https://www.codecademy.com/
LinuxExperience
hagzag@tikalk.com

Más contenido relacionado

La actualidad más candente

Infrastructure as code
Infrastructure as codeInfrastructure as code
Infrastructure as code
Axel Quack
 

La actualidad más candente (20)

DockerCon EU 2015: Speed Up Deployment: Building a Distributed Docker Registr...
DockerCon EU 2015: Speed Up Deployment: Building a Distributed Docker Registr...DockerCon EU 2015: Speed Up Deployment: Building a Distributed Docker Registr...
DockerCon EU 2015: Speed Up Deployment: Building a Distributed Docker Registr...
 
Docker @ RelateIQ Presentation
Docker @ RelateIQ PresentationDocker @ RelateIQ Presentation
Docker @ RelateIQ Presentation
 
Gitlab, GitOps & ArgoCD
Gitlab, GitOps & ArgoCDGitlab, GitOps & ArgoCD
Gitlab, GitOps & ArgoCD
 
Tce automation-d4
Tce automation-d4Tce automation-d4
Tce automation-d4
 
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
 
Docker Meetup San Francisco: Radical Agility with Docker & AWS
Docker Meetup San Francisco: Radical Agility with Docker & AWSDocker Meetup San Francisco: Radical Agility with Docker & AWS
Docker Meetup San Francisco: Radical Agility with Docker & AWS
 
OpenShift Overview
OpenShift OverviewOpenShift Overview
OpenShift Overview
 
Deploying containers and managing them on multiple Docker hosts, Docker Meetu...
Deploying containers and managing them on multiple Docker hosts, Docker Meetu...Deploying containers and managing them on multiple Docker hosts, Docker Meetu...
Deploying containers and managing them on multiple Docker hosts, Docker Meetu...
 
Persistent storage tailored for containers
Persistent storage tailored for containersPersistent storage tailored for containers
Persistent storage tailored for containers
 
Cloud infrastructure as code
Cloud infrastructure as codeCloud infrastructure as code
Cloud infrastructure as code
 
DCEU 18: Building Your Development Pipeline
DCEU 18: Building Your Development PipelineDCEU 18: Building Your Development Pipeline
DCEU 18: Building Your Development Pipeline
 
Going deep (learning) with tensor flow and quarkus
Going deep (learning) with tensor flow and quarkusGoing deep (learning) with tensor flow and quarkus
Going deep (learning) with tensor flow and quarkus
 
Spinnaker Summit 2018: CI/CD Patterns for Kubernetes with Spinnaker
Spinnaker Summit 2018: CI/CD Patterns for Kubernetes with SpinnakerSpinnaker Summit 2018: CI/CD Patterns for Kubernetes with Spinnaker
Spinnaker Summit 2018: CI/CD Patterns for Kubernetes with Spinnaker
 
Building streaming applications using a managed Kafka service | DevNation Tec...
Building streaming applications using a managed Kafka service | DevNation Tec...Building streaming applications using a managed Kafka service | DevNation Tec...
Building streaming applications using a managed Kafka service | DevNation Tec...
 
Advanced Access Control with Docker EE
Advanced Access Control with Docker EEAdvanced Access Control with Docker EE
Advanced Access Control with Docker EE
 
Infrastructure as code
Infrastructure as codeInfrastructure as code
Infrastructure as code
 
How Docker EE Helps Open Doors at Assa Abloy
How Docker EE Helps Open Doors at Assa AbloyHow Docker EE Helps Open Doors at Assa Abloy
How Docker EE Helps Open Doors at Assa Abloy
 
Docker Dhahran November 2017 meetup
Docker Dhahran November 2017 meetupDocker Dhahran November 2017 meetup
Docker Dhahran November 2017 meetup
 
The Truth Behind Serverless
The Truth Behind ServerlessThe Truth Behind Serverless
The Truth Behind Serverless
 
Real-Time Data Processing Pipeline & Visualization with Docker, Spark, Kafka ...
Real-Time Data Processing Pipeline & Visualization with Docker, Spark, Kafka ...Real-Time Data Processing Pipeline & Visualization with Docker, Spark, Kafka ...
Real-Time Data Processing Pipeline & Visualization with Docker, Spark, Kafka ...
 

Similar a Linux intro

Introtolinux 110730150838-phpapp02
Introtolinux 110730150838-phpapp02Introtolinux 110730150838-phpapp02
Introtolinux 110730150838-phpapp02
M Gabrail
 
Amarmore linuxintro-100301095530-phpapp01
Amarmore linuxintro-100301095530-phpapp01Amarmore linuxintro-100301095530-phpapp01
Amarmore linuxintro-100301095530-phpapp01
haha loser
 
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdfintroductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
EidTahir
 
OS Lab: Introduction to Linux
OS Lab: Introduction to LinuxOS Lab: Introduction to Linux
OS Lab: Introduction to Linux
Motaz Saad
 

Similar a Linux intro (20)

Linux Introduction
Linux IntroductionLinux Introduction
Linux Introduction
 
Introtolinux 110730150838-phpapp02
Introtolinux 110730150838-phpapp02Introtolinux 110730150838-phpapp02
Introtolinux 110730150838-phpapp02
 
Amarmore linuxintro-100301095530-phpapp01
Amarmore linuxintro-100301095530-phpapp01Amarmore linuxintro-100301095530-phpapp01
Amarmore linuxintro-100301095530-phpapp01
 
linux introduction
linux introductionlinux introduction
linux introduction
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux ppt
 
Linux
LinuxLinux
Linux
 
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdfintroductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Foss Presentation
Foss PresentationFoss Presentation
Foss Presentation
 
Module 1 introduction to Linux
Module 1 introduction to LinuxModule 1 introduction to Linux
Module 1 introduction to Linux
 
Module 01 Introduction to Linux
Module 01 Introduction to LinuxModule 01 Introduction to Linux
Module 01 Introduction to Linux
 
Chapter 8 - nsa Introduction to Linux.ppt
Chapter 8 -  nsa Introduction to Linux.pptChapter 8 -  nsa Introduction to Linux.ppt
Chapter 8 - nsa Introduction to Linux.ppt
 
Linux Operating System
Linux Operating SystemLinux Operating System
Linux Operating System
 
Overview_Linux ppt
Overview_Linux pptOverview_Linux ppt
Overview_Linux ppt
 
OS Lab: Introduction to Linux
OS Lab: Introduction to LinuxOS Lab: Introduction to Linux
OS Lab: Introduction to Linux
 
Licão 01 introduction
Licão 01 introductionLicão 01 introduction
Licão 01 introduction
 
Linux opearting system ppt
Linux opearting system pptLinux opearting system ppt
Linux opearting system ppt
 
Linux operating system
Linux operating systemLinux operating system
Linux operating system
 
Linux for everyone
Linux for everyoneLinux for everyone
Linux for everyone
 
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
 

Más de Haggai Philip Zagury

Tce automation-d4-110102123012-phpapp01
Tce automation-d4-110102123012-phpapp01Tce automation-d4-110102123012-phpapp01
Tce automation-d4-110102123012-phpapp01
Haggai Philip Zagury
 

Más de Haggai Philip Zagury (17)

DevOpsDays Tel Aviv DEC 2022 | Building A Cloud-Native Platform Brick by Bric...
DevOpsDays Tel Aviv DEC 2022 | Building A Cloud-Native Platform Brick by Bric...DevOpsDays Tel Aviv DEC 2022 | Building A Cloud-Native Platform Brick by Bric...
DevOpsDays Tel Aviv DEC 2022 | Building A Cloud-Native Platform Brick by Bric...
 
Kube Security Shifting left | Scanners & OPA
Kube Security Shifting left | Scanners & OPAKube Security Shifting left | Scanners & OPA
Kube Security Shifting left | Scanners & OPA
 
TechRadarCon 2022 | Have you built your platform yet ?
TechRadarCon 2022 | Have you built your platform yet ?TechRadarCon 2022 | Have you built your platform yet ?
TechRadarCon 2022 | Have you built your platform yet ?
 
Auth experience - vol 1.0
Auth experience  - vol 1.0Auth experience  - vol 1.0
Auth experience - vol 1.0
 
Auth experience
Auth experienceAuth experience
Auth experience
 
Kubexperience intro session
Kubexperience intro sessionKubexperience intro session
Kubexperience intro session
 
Scaling i/o bound Microservices
Scaling i/o bound MicroservicesScaling i/o bound Microservices
Scaling i/o bound Microservices
 
The 2nd half. Scaling to the next^2
The 2nd half. Scaling to the next^2The 2nd half. Scaling to the next^2
The 2nd half. Scaling to the next^2
 
Terraform 101
Terraform 101Terraform 101
Terraform 101
 
Chaos is a ladder !
Chaos is a ladder !Chaos is a ladder !
Chaos is a ladder !
 
Deep Learning - Continuous Operations
Deep Learning - Continuous Operations Deep Learning - Continuous Operations
Deep Learning - Continuous Operations
 
Terraform 101
Terraform 101Terraform 101
Terraform 101
 
Machine Learning - Continuous operations
Machine Learning - Continuous operationsMachine Learning - Continuous operations
Machine Learning - Continuous operations
 
Whats all the FaaS About
Whats all the FaaS AboutWhats all the FaaS About
Whats all the FaaS About
 
Modern Monitoring [ with Prometheus ]
Modern Monitoring [ with Prometheus ]Modern Monitoring [ with Prometheus ]
Modern Monitoring [ with Prometheus ]
 
Git internals
Git internalsGit internals
Git internals
 
Tce automation-d4-110102123012-phpapp01
Tce automation-d4-110102123012-phpapp01Tce automation-d4-110102123012-phpapp01
Tce automation-d4-110102123012-phpapp01
 

Último

%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 

Último (20)

%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 

Linux intro

  • 2. Why do we 
 Linux? Why Do we do it ? The why!
  • 3. Why ? Why do we care bout Linux ? Not only cause everyone’s doin it !
  • 4. Unix dominates the commercial market In the 70’s til early 90’s Unix dominated the market AT&T to begin commercial licensing of Unix as a binary product - commercialization of Software and legislation. Good for business | Bad for Developers ! From Hardware “single purpose” to multiple purpose / multi threaded processing. A concept you could use only if your RICH
  • 5. GNU Which came fi rst really - Richard Stallman a.k.a RMathewS (1984) Founder of Free Software Foundation GNU fi ndutils - fi nd, locate, xargs etc Emacs Make - a.k.a GNU MAKE ls, mkdir, the works …. https://www.gnu.org/software/software.html#allgnupkgs
  • 6. Tools inspired by Unix / BSD Os Software should be free -> GNU’s not UNIX ! (Unix is proprietary / not free !) The freedom to run the program as you wish, for any purpose (freedom 0). The freedom to study how the program works, and change it so it does your computing as you wish (freedom 1). Access to the source code is a precondition for this. The freedom to redistribute copies so you can help others (freedom 2). The freedom to distribute copies of your modi fi ed versions to others (freedom 3). By doing this you can give the whole community a chance to bene fi t from your changes. Access to the source code is a precondition for this.
  • 7. POSIX Portable Operating System Interface | Portability (1988) POSIX de fi nes a standard for: operating system shells (command line interfaces), system utilities such as awk and echo, system libraries File-system attributes Sockets Virtual File System(s)
  • 8. Linux - Linus Torvalds The author & maintainer of the Linux Kernel (1991) https://www.cs.cmu.edu/~awb/linux.history.html
  • 9. Why ? Why do we care bout Linux ? It’s the most common It’s the most free It’s the most fl exible It’s the most customizable It’s the most ef fi cient ! It’s the most cost affective
  • 10. Why ? Why do we care bout Linux ? It’s the most common It’s the most free It’s the most fl exible It’s the most customizable It’s the most ef fi cient ! It’s the most cost affective
  • 11. Why ? Why do we care bout Linux ?
  • 12. What is it ? What Is Linux ? Linux Experience !
  • 13. Architecture | Linux == a kernel GNU linux is Kernel + many GNU’s programs The Heart of Linux A design pattern which is loosely couples HW from SW https://www.kernel.org/
  • 14. Architecture | The Linux kernel GNU's Not Unix The Heart of Linux A design pattern which is loosely couples HW from SW The only one allowed to communicate with hardware via Standards https://github.com/LinuxStandardBase https://www.kernel.org/
  • 15. Architecture | Virtual Machine Management A concept which resides in the heart of the OS By design each Process is a Virtual Machine which is confusing nowadays with VM’s, Containers etc - lets refer to them as Process by their ProcessID https://www.geeksforgeeks.org/the-linux-kernel/
  • 16. Architecture | Virtual Machine Management A concept which resides in the heart of the OS - kernel is lightweight ! By design each Process is a Virtual Machine which is confusing nowadays with VM’s, Containers etc - lets refer to them as Process by their ProcessID ~115 MB full size Some dists are few MB …
  • 17. Architecture | Process management of the GNU/Linux operating system By design each Process is a Virtual Machine which is confusing nowadays with VM’s, Containers etc - lets refer to them as Process by their ProcessID Process Trees & Inheritance Process queue up for resources - CPU | RAM | DISK | NETWORK Old linux distros had `zombies` … https://www.geeksforgeeks.org/the-linux-kernel/
  • 18. Architecture | Processes, status / state Process trees init(1)-+-crond(98 ) |-emacs(387 ) |-gpm(146 ) |-inetd(110 ) |-kerneld(18 ) |-kflushd(2 ) |-klogd(87 ) |-kswapd(3 ) |-login(160)---bash(192)---emacs(225 ) |-lpd(121 ) |-mingetty(161 ) |-mingetty(162 ) |-mingetty(163 ) |-mingetty(164 ) |-login(403)---bash(404)---pstree(594 ) |-sendmail(134 ) |-syslogd(78 ) `-update(166 )
  • 19. Architecture | Standard directory structure Process trees Context Bound built in indexing Base of many Standards !
  • 20. Architecture | *Everything is a file Common directory Access Control List "Everything is a fi le" is a bit too broad. "Everything appears somewhere in the  fi lesystem" is more accurate, and even then, it's more an ideal than a law of system design.
  • 21. Architecture | Standard Communication Interfaces I/O management Process IPC - Inner Process Communication Inner / Outer Network Communications FileSystem I/O R/W Dynamic / Static / Virtual Namespaces USer Kernel
  • 22. How do we (you ?) Linux Experience The How ! How Methodology
  • 23. Linux Disto’s To some It’s a religion ;) Many distributions of Linux Developers Production Community Supported Commercially supported
  • 24. Package Managers Linux’s Flavors Community driven distributions such as dabian with apt Commercial driven distributions such as redhat with rpm Many more to follow … apk, pacman
  • 25. Containers Universal packaging unit Production Anywhere Runtime Any OS Code Any Language The bigger picture Linux’s everywhere
  • 26. Linux Environment Evolution Server-Rack Telnet, RDC, SSH Virtualization Docker Kubernetes Cloud OS The cloud Public | Private | Multi | Poly kubectl Taking over | flexible | multipurpose OS
  • 27. Linux Principles | Consumption model Everything is a fi le Bare Metal Installation | Kernel + GNU
  • 28. Linux Principles | Consumption model Containers | Jails | Chroot Bare Metal Installation | Kernel + GNU VM’s / Containers | vmlinuz, solaris jails, docker, containerd
  • 29. Linux Principles | Consumption model Containers | Jails | Chroot Bare Metal Installation | Kernel + GNU VM’s / Containers | vmlinuz, solaris jails, docker, containerd “Virtual Machine” -> A Hypervisor which simulates HW
  • 30. Linux Principles | Consumption model From Vanilla (Iaas) / Multipurpose to Usage sprci fi c (PaaS) Bare Metal Installation | Kernel + GNU VM’s / Containers | vmlinuz, solaris jails, docker, containerd “Virtual Machine” -> A Hypervisor which simulates HW Function | FaaS architecture
  • 32. Files / Shell scripts Directories LibreOf fi ce documents Serial ports Kernel data structures Kernel tuning parameters Hard drives Partitions Logical Volumes (LVM) Printers Sockets *nix flavors