SlideShare a Scribd company logo
1 of 17
FORMATION LPIC-1
O_O : What the hell is LPIC ! >:(
LPIC-1 : Linux Server Professional Certification
LPIC-2 : Linux Network Professional Certification
LPIC-3 : Linux Entreprise Professional Certification
O_O : mmm, n’ why only LPIC-1?
LPIC-1 is about 10 topics, each one takes
1 session, LPIC-2 is about 13 and LPIC-3
is above 15 topics.. so count it !
and we are facing time constraints ://
so, we will be thankful if we finish LPIC-1,
and we will folks 8-)
O_O:sounds cool :3 tell me more! :v
The LPIC-1 will validate your ability to perform
maintenance tasks with the command line,
install & configure a computer running Linux
and be able to configure basic networking.
O_O : mmm :=)
it composed of two exams,101&102
1. System Architecture
2. Linux Installation and Package Management
3. GNU and Unix Commands
4. Devices, Linux Filesystems, Filesystem
Hierarchy Standard
Exam 101 Exam 102
5. Shells, Scripting and Data Management
6. User Interfaces and Desktops
7. Administrative Tasks
8. Essential System Services
9. Networking Fundamentals
10. Security
Topic 1 : System Architecture
101.1 Determine and configure hardware settings
101.2 Boot the system
101.3 runlevels
101.1 Determine and configure hardware settings
weight : 2
● HAL, dbus, udev
● /sys, /proc, /dev
● lsmod, lsusr, lspci
● Kernel modules
101.1 Determine and configure hardware settings
weight : 2
● HAL : Hardware Abstraction Layer
⇒ Intel/Frecom ⇒ eth
● dbus : HAL/kernel ⇐ ⇒ Applications
communication between the hardware&software
● udev : /dev/sda, /dev/sda1, /dev/sda2 ...
manages device nodes in the /dev directory
101.1 Determine and configure hardware settings
weight : 2
● sysfs(/sys) : keeps all the infos about the
peripherals in /sys
● procdfs(/proc) : created in RAM when the pc
boot, read|write system info like cpuinfo(but
only temporary)
● devfs(/dev) : peripherals manager, replaced by
udev for Linux kernels 2.6.x
101.1 Determine and configure hardware settings
weight : 2
● lsmod : lists kernel module
● lspci : shows pci devices
● lsusb : useb devices
lspcmcia, lshal, lshw
101.1 Determine and configure hardware settings
weight : 2
insmod : insert kernel modules
rmmod : remove kenrel modules
modprobe : adds other required modules to
loaded ones.
/etc/modprobe.d/ : used to add/remove a
loadable kernel module (LKM) to the Linux
kernel
101.2 Boot the system
weight : 3
Memtest : RAM test
dmeg(driver message) : prints the message
buffer of the kernel
⇒ LILO(Linux Loader)
⇒ GRUB(GRand Unified Bootloader)
bootloader
101.2 Boot the system
weight : 3
/var/log/ : stores all the logs.
tail -f /var/log/mesages
cat /var/log/boot.log
init : /boot/initrd.x(INITial RamDisk)
101.2 Boot the system
weight : 3
101.3 runlevels
weight : 3
0. halt (/etc/rc0.d)
1. Single user mode(recovery)(/etc/rc1.d)
2. Debian/Ubuntu -default(with X11&NFS)(/etc/rc2.d)
3. RedHat/SUSE -text mode(/etc/rc3.d)
4. not used(/etc/rc4.d)
5. RedHat/SUSE - Gui mode(/etc/rc5.d)
6. reboot(/etc/rc6.d)
101.3 runlevels
weight : 3
/etc/init.d : startup services
/etc/inittab : runlevels description file (RedHat)
$ runlevel : checks current runlevel
# init x : change runlevel (x=0..6)
O_O : thank you 8-) xD
references :
https://www.lpi.org/linux-certifications/
contact:
mohammed.hannechi@gmail.com

More Related Content

What's hot

Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...
Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...
Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...Anne Nicolas
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Wave Digitech
 
Linux file commands and shell scripts
Linux file commands and shell scriptsLinux file commands and shell scripts
Linux file commands and shell scriptsPrashantTechment
 
Process management in linux
Process management in linuxProcess management in linux
Process management in linuxMazenetsolution
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating Systemsubhsikha
 
A beginners introduction to unix
A beginners introduction to unixA beginners introduction to unix
A beginners introduction to unixzafarali1981
 
Linux Internals - Kernel/Core
Linux Internals - Kernel/CoreLinux Internals - Kernel/Core
Linux Internals - Kernel/CoreShay Cohen
 
Unix operating system basics
Unix operating system basicsUnix operating system basics
Unix operating system basicsSankar Suriya
 
Linux administration
Linux administrationLinux administration
Linux administrationYogesh Ks
 
Linux kernel modules
Linux kernel modulesLinux kernel modules
Linux kernel modulesEddy Reyes
 
Linux kernel module programming guide
Linux kernel module programming guideLinux kernel module programming guide
Linux kernel module programming guideDũng Nguyễn
 
Linux Kernel Development
Linux Kernel DevelopmentLinux Kernel Development
Linux Kernel DevelopmentPriyank Kapadia
 
Part 02 Linux Kernel Module Programming
Part 02 Linux Kernel Module ProgrammingPart 02 Linux Kernel Module Programming
Part 02 Linux Kernel Module ProgrammingTushar B Kute
 
Linux Introduction (Commands)
Linux Introduction (Commands)Linux Introduction (Commands)
Linux Introduction (Commands)anandvaidya
 
Linux Administration
Linux AdministrationLinux Administration
Linux AdministrationHarish1983
 

What's hot (20)

Linux kernel modules
Linux kernel modulesLinux kernel modules
Linux kernel modules
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...
Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...
Kernel Recipes 2015: Linux Kernel IO subsystem - How it works and how can I s...
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
 
Linux file commands and shell scripts
Linux file commands and shell scriptsLinux file commands and shell scripts
Linux file commands and shell scripts
 
Process management in linux
Process management in linuxProcess management in linux
Process management in linux
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating System
 
Basic Linux kernel
Basic Linux kernelBasic Linux kernel
Basic Linux kernel
 
A beginners introduction to unix
A beginners introduction to unixA beginners introduction to unix
A beginners introduction to unix
 
Linux Internals - Kernel/Core
Linux Internals - Kernel/CoreLinux Internals - Kernel/Core
Linux Internals - Kernel/Core
 
Unix operating system basics
Unix operating system basicsUnix operating system basics
Unix operating system basics
 
Linux administration
Linux administrationLinux administration
Linux administration
 
Linux kernel modules
Linux kernel modulesLinux kernel modules
Linux kernel modules
 
Linux Memory Management
Linux Memory ManagementLinux Memory Management
Linux Memory Management
 
Linux kernel module programming guide
Linux kernel module programming guideLinux kernel module programming guide
Linux kernel module programming guide
 
Linux boot process
Linux boot processLinux boot process
Linux boot process
 
Linux Kernel Development
Linux Kernel DevelopmentLinux Kernel Development
Linux Kernel Development
 
Part 02 Linux Kernel Module Programming
Part 02 Linux Kernel Module ProgrammingPart 02 Linux Kernel Module Programming
Part 02 Linux Kernel Module Programming
 
Linux Introduction (Commands)
Linux Introduction (Commands)Linux Introduction (Commands)
Linux Introduction (Commands)
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 

Similar to Formation LPIC-1_SysArch

Basis Linux (aan de hand van LPIC-1)
Basis Linux (aan de hand van LPIC-1)Basis Linux (aan de hand van LPIC-1)
Basis Linux (aan de hand van LPIC-1)Peter Martin
 
Linux or unix interview questions
Linux or unix interview questionsLinux or unix interview questions
Linux or unix interview questionsTeja Bheemanapally
 
Linux Capabilities - eng - v2.1.5, compact
Linux Capabilities - eng - v2.1.5, compactLinux Capabilities - eng - v2.1.5, compact
Linux Capabilities - eng - v2.1.5, compactAlessandro Selli
 
Interview questions
Interview questionsInterview questions
Interview questionsxavier john
 
Kernel Recipes 2015 - Kernel dump analysis
Kernel Recipes 2015 - Kernel dump analysisKernel Recipes 2015 - Kernel dump analysis
Kernel Recipes 2015 - Kernel dump analysisAnne Nicolas
 
Lpi 101 study_guide
Lpi 101 study_guideLpi 101 study_guide
Lpi 101 study_guideousman1
 
Linux training
Linux trainingLinux training
Linux trainingartisriva
 
Basics of Linux Commands, Git and Github
Basics of Linux Commands, Git and GithubBasics of Linux Commands, Git and Github
Basics of Linux Commands, Git and GithubDevang Garach
 
Grub and dracut ii
Grub and dracut iiGrub and dracut ii
Grub and dracut iiplarsen67
 
Linux Device Driver,LDD,
Linux Device Driver,LDD,Linux Device Driver,LDD,
Linux Device Driver,LDD,Rahul Batra
 
linux device driver
linux device driverlinux device driver
linux device driverRahul Batra
 
Lpi lição 01 exam 101 objectives
Lpi lição 01  exam 101 objectivesLpi lição 01  exam 101 objectives
Lpi lição 01 exam 101 objectivesAcácio Oliveira
 
Linux booting process - Linux System Administration
Linux booting process - Linux System AdministrationLinux booting process - Linux System Administration
Linux booting process - Linux System AdministrationSreenatha Reddy K R
 
(SAS) UNIX X Command Tips and Tricks
(SAS) UNIX X Command Tips and Tricks(SAS) UNIX X Command Tips and Tricks
(SAS) UNIX X Command Tips and TricksDavid Horvath
 

Similar to Formation LPIC-1_SysArch (20)

Basis Linux (aan de hand van LPIC-1)
Basis Linux (aan de hand van LPIC-1)Basis Linux (aan de hand van LPIC-1)
Basis Linux (aan de hand van LPIC-1)
 
Linux or unix interview questions
Linux or unix interview questionsLinux or unix interview questions
Linux or unix interview questions
 
Linux Internals - Part II
Linux Internals - Part IILinux Internals - Part II
Linux Internals - Part II
 
Linux Capabilities - eng - v2.1.5, compact
Linux Capabilities - eng - v2.1.5, compactLinux Capabilities - eng - v2.1.5, compact
Linux Capabilities - eng - v2.1.5, compact
 
Interview questions
Interview questionsInterview questions
Interview questions
 
Linux startup
Linux startupLinux startup
Linux startup
 
Kernel Recipes 2015 - Kernel dump analysis
Kernel Recipes 2015 - Kernel dump analysisKernel Recipes 2015 - Kernel dump analysis
Kernel Recipes 2015 - Kernel dump analysis
 
Lpi 101 study_guide
Lpi 101 study_guideLpi 101 study_guide
Lpi 101 study_guide
 
Linux Booting Process
Linux Booting ProcessLinux Booting Process
Linux Booting Process
 
Linux training
Linux trainingLinux training
Linux training
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
 
Basic Linux Internals
Basic Linux InternalsBasic Linux Internals
Basic Linux Internals
 
Basics of Linux Commands, Git and Github
Basics of Linux Commands, Git and GithubBasics of Linux Commands, Git and Github
Basics of Linux Commands, Git and Github
 
Grub and dracut ii
Grub and dracut iiGrub and dracut ii
Grub and dracut ii
 
Linux Device Driver,LDD,
Linux Device Driver,LDD,Linux Device Driver,LDD,
Linux Device Driver,LDD,
 
linux device driver
linux device driverlinux device driver
linux device driver
 
Lpi lição 01 exam 101 objectives
Lpi lição 01  exam 101 objectivesLpi lição 01  exam 101 objectives
Lpi lição 01 exam 101 objectives
 
Linux booting process - Linux System Administration
Linux booting process - Linux System AdministrationLinux booting process - Linux System Administration
Linux booting process - Linux System Administration
 
linux installation.pdf
linux installation.pdflinux installation.pdf
linux installation.pdf
 
(SAS) UNIX X Command Tips and Tricks
(SAS) UNIX X Command Tips and Tricks(SAS) UNIX X Command Tips and Tricks
(SAS) UNIX X Command Tips and Tricks
 

Recently uploaded

Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxAmita Gupta
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 

Recently uploaded (20)

Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 

Formation LPIC-1_SysArch

  • 2. O_O : What the hell is LPIC ! >:( LPIC-1 : Linux Server Professional Certification LPIC-2 : Linux Network Professional Certification LPIC-3 : Linux Entreprise Professional Certification
  • 3. O_O : mmm, n’ why only LPIC-1? LPIC-1 is about 10 topics, each one takes 1 session, LPIC-2 is about 13 and LPIC-3 is above 15 topics.. so count it ! and we are facing time constraints :// so, we will be thankful if we finish LPIC-1, and we will folks 8-)
  • 4. O_O:sounds cool :3 tell me more! :v The LPIC-1 will validate your ability to perform maintenance tasks with the command line, install & configure a computer running Linux and be able to configure basic networking.
  • 5. O_O : mmm :=) it composed of two exams,101&102 1. System Architecture 2. Linux Installation and Package Management 3. GNU and Unix Commands 4. Devices, Linux Filesystems, Filesystem Hierarchy Standard Exam 101 Exam 102 5. Shells, Scripting and Data Management 6. User Interfaces and Desktops 7. Administrative Tasks 8. Essential System Services 9. Networking Fundamentals 10. Security
  • 6. Topic 1 : System Architecture 101.1 Determine and configure hardware settings 101.2 Boot the system 101.3 runlevels
  • 7. 101.1 Determine and configure hardware settings weight : 2 ● HAL, dbus, udev ● /sys, /proc, /dev ● lsmod, lsusr, lspci ● Kernel modules
  • 8. 101.1 Determine and configure hardware settings weight : 2 ● HAL : Hardware Abstraction Layer ⇒ Intel/Frecom ⇒ eth ● dbus : HAL/kernel ⇐ ⇒ Applications communication between the hardware&software ● udev : /dev/sda, /dev/sda1, /dev/sda2 ... manages device nodes in the /dev directory
  • 9. 101.1 Determine and configure hardware settings weight : 2 ● sysfs(/sys) : keeps all the infos about the peripherals in /sys ● procdfs(/proc) : created in RAM when the pc boot, read|write system info like cpuinfo(but only temporary) ● devfs(/dev) : peripherals manager, replaced by udev for Linux kernels 2.6.x
  • 10. 101.1 Determine and configure hardware settings weight : 2 ● lsmod : lists kernel module ● lspci : shows pci devices ● lsusb : useb devices lspcmcia, lshal, lshw
  • 11. 101.1 Determine and configure hardware settings weight : 2 insmod : insert kernel modules rmmod : remove kenrel modules modprobe : adds other required modules to loaded ones. /etc/modprobe.d/ : used to add/remove a loadable kernel module (LKM) to the Linux kernel
  • 12. 101.2 Boot the system weight : 3 Memtest : RAM test dmeg(driver message) : prints the message buffer of the kernel ⇒ LILO(Linux Loader) ⇒ GRUB(GRand Unified Bootloader) bootloader
  • 13. 101.2 Boot the system weight : 3 /var/log/ : stores all the logs. tail -f /var/log/mesages cat /var/log/boot.log init : /boot/initrd.x(INITial RamDisk)
  • 14. 101.2 Boot the system weight : 3
  • 15. 101.3 runlevels weight : 3 0. halt (/etc/rc0.d) 1. Single user mode(recovery)(/etc/rc1.d) 2. Debian/Ubuntu -default(with X11&NFS)(/etc/rc2.d) 3. RedHat/SUSE -text mode(/etc/rc3.d) 4. not used(/etc/rc4.d) 5. RedHat/SUSE - Gui mode(/etc/rc5.d) 6. reboot(/etc/rc6.d)
  • 16. 101.3 runlevels weight : 3 /etc/init.d : startup services /etc/inittab : runlevels description file (RedHat) $ runlevel : checks current runlevel # init x : change runlevel (x=0..6)
  • 17. O_O : thank you 8-) xD references : https://www.lpi.org/linux-certifications/ contact: mohammed.hannechi@gmail.com