SlideShare a Scribd company logo
CoreLinuxforRedHatandFedoralearningunderGNUFreeDocumentationLicense-Copyleft(c)AcácioOliveira2012
Everyoneispermittedtocopyanddistributeverbatimcopiesofthislicensedocument,changingisallowed
Linux Essenciais and System Administration
CoreLinuxforRedHatandFedoralearningunderGNUFreeDocumentationLicense-Copyleft(c)AcácioOliveira2012
Everyoneispermittedtocopyanddistributeverbatimcopiesofthislicensedocument,changingisallowed
Key Knowledge Areas
Process of kernel of the operating system
kernel
kernel
Terms and Utilities
kernel
lsmod
rmmod
insmod
modprobe
depmod
sysctl
2
CoreLinuxforRedHatandFedoralearningunderGNUFreeDocumentationLicense-Copyleft(c)AcácioOliveira2012
Everyoneispermittedtocopyanddistributeverbatimcopiesofthislicensedocument,changingisallowed
Overview
3
The kernel represents the core of the operating system.
Major components:
•Scheduler
•Memory manager
•Device drivers
•Filesystems
•Networking
Kernel
Linux kernel is modular
allowing functional blocks of software to be added or removed on fly via modules
mechanism.
Modules encompass functions such as:
Device drivers
Kernel features - firewalls, RAID, LVM
Filesystems
CoreLinuxforRedHatandFedoralearningunderGNUFreeDocumentationLicense-Copyleft(c)AcácioOliveira2012
Everyoneispermittedtocopyanddistributeverbatimcopiesofthislicensedocument,changingisallowed
LSMOD
4
Kernel
lsmod Prints all of the currently loaded modules
[root@dev1 ~]# lsmod
Module Size Used by
ipv6 264608 20
binfmt_misc 14096 1
dm_multipath 21136 0
parport_pc 31724 0
lp 16576 0
parport 42252 2 parport_pc,lp
usbcore 129724 1
ext3 125968 1
jbd 61928 1 ext3
raid10 23808 0
raid456 119840 0
xor 10512 1 raid456
raid1 24064 0
raid0 10752 0
multipath 11776 0
linear 9088 0
dm_mirror 23016 0
dm_snapshot 18872 0
dm_mod 55752 3 dm_multipath,dm_mirror,dm_snapshot
processor 26412 0
fuse 42160 1
Ex:
CoreLinuxforRedHatandFedoralearningunderGNUFreeDocumentationLicense-Copyleft(c)AcácioOliveira2012
Everyoneispermittedtocopyanddistributeverbatimcopiesofthislicensedocument,changingisallowed
rmmod – insmod – modprobe - depmod
5
Kernel
rmmod Removes (unloads) a loaded modules
•Can not unload a module that is a dependency of another module.
•Can not unload in-use modules.
insmod Loads a module into the kernel.
•Full pathname required.
•Does not handle dependencies automatically.
modprobe Intelligent module handler
•Can load/unload modules.
•Automatically handles dependencies.
•Only need to specify name of module, not full path, when loading.
depmod: Rebuilds module dependency lists
CoreLinuxforRedHatandFedoralearningunderGNUFreeDocumentationLicense-Copyleft(c)AcácioOliveira2012
Everyoneispermittedtocopyanddistributeverbatimcopiesofthislicensedocument,changingisallowed
Kernel boot parameters
6
Kernel
Hundreds of parameters can be passed to the kernel at boot time.
Most common include:
•root=/dev/sda3 Set the root device
•quiet Reduce informational messages at startup
•rhgb Red Hat Graphical Boot
•console=ttyS0 Specify console device
http://www.kernel.org/doc/Documentation/kernel-parameters.txt
CoreLinuxforRedHatandFedoralearningunderGNUFreeDocumentationLicense-Copyleft(c)AcácioOliveira2012
Everyoneispermittedtocopyanddistributeverbatimcopiesofthislicensedocument,changingisallowed
Kernel runtime parameters
7
Kernel
Numerous kernel parameters which can be adjusted at runtime, including:
•net.ipv4.*
•vm.*
•kernel.*
•fs.*
SYSCTL
sysctl Get/set kernel parameters
sysctl –a produces a complete list of all tunable kernel parameters like networking, kernel, filesystem.
•sysctl -w kernel.pid_max=65535
•sysctl -a
•sysctl -w vm.swappiness=100
CoreLinuxforRedHatandFedoralearningunderGNUFreeDocumentationLicense-Copyleft(c)AcácioOliveira2012
Everyoneispermittedtocopyanddistributeverbatimcopiesofthislicensedocument,changingisallowed
Fim de sessão
8

More Related Content

PPT
Apend. kernel
PPT
101 1.2 boot the system
PPT
101 2.5 use rpm and yum package management
PPT
4.2 maintain the integrity of filesystems
PPT
101 4.2 maintain the integrity of filesystems
PPT
101 4.3 control mounting and unmounting of filesystems v2
PPT
4.3 control mounting and unmounting of filesystems v2
PPT
101 apend. troubleshooting tools v2
Apend. kernel
101 1.2 boot the system
101 2.5 use rpm and yum package management
4.2 maintain the integrity of filesystems
101 4.2 maintain the integrity of filesystems
101 4.3 control mounting and unmounting of filesystems v2
4.3 control mounting and unmounting of filesystems v2
101 apend. troubleshooting tools v2

What's hot (18)

PPT
101 4.1 create partitions and filesystems
PDF
Shell Scripting
PPTX
Yum (Linux)
PDF
Introduction to Linux
PPT
4.9 apend troubleshooting tools v2
PDF
Linux Internals Part - 2
PPT
101 4.4 manage disk quotas
PDF
[ArabBSD] Unix Basics
PDF
Genode Compositions
PDF
Genode Architecture
PDF
Genode Components
PDF
Linux User Space Debugging & Profiling
ODT
RHCE FINAL Questions and Answers
PPTX
Free Bsd7.2 Install V1.7
PPT
101 4.3 control mounting and unmounting of filesystems
PDF
Block Drivers
PPTX
Lecture 4 FreeBSD Security + FreeBSD Jails + MAC Security Framework
101 4.1 create partitions and filesystems
Shell Scripting
Yum (Linux)
Introduction to Linux
4.9 apend troubleshooting tools v2
Linux Internals Part - 2
101 4.4 manage disk quotas
[ArabBSD] Unix Basics
Genode Compositions
Genode Architecture
Genode Components
Linux User Space Debugging & Profiling
RHCE FINAL Questions and Answers
Free Bsd7.2 Install V1.7
101 4.3 control mounting and unmounting of filesystems
Block Drivers
Lecture 4 FreeBSD Security + FreeBSD Jails + MAC Security Framework
Ad

Similar to 101 apend. kernel (20)

PDF
Operating-Systems-Network-System-Lecture 2.pdf
PPT
101 4.5 manage file permissions and ownership
PPT
101 4.7 find system files and place files in the correct location
PPT
101 4.7 find system files and place files in the correct location
PDF
Linux Kernel
PPT
101 4.5 manage file permissions and ownership v3
PPT
4.7 find system files and place files in the correct location
PPT
101 3.8 perform basic file editing operations using vi
PPT
101 3.8 perform basic file editing operations using vi
PPT
4.5 manage file permissions and ownership v3
PPTX
managing kernal module from egineering sunject operating system
PDF
Linux introduction Class 02
PPTX
Linux OS ppt cyber security power point .pptx
PPTX
Linux Operating System Fundamentals
PDF
Sysctl
PDF
Linux advanced concepts - Part 1
PDF
Red Hat Training
PPT
101 3.5 create, monitor and kill processes v2
PDF
Linux Fundamentals and how to use linux.pdf
PDF
Linux Internals Part - 1
Operating-Systems-Network-System-Lecture 2.pdf
101 4.5 manage file permissions and ownership
101 4.7 find system files and place files in the correct location
101 4.7 find system files and place files in the correct location
Linux Kernel
101 4.5 manage file permissions and ownership v3
4.7 find system files and place files in the correct location
101 3.8 perform basic file editing operations using vi
101 3.8 perform basic file editing operations using vi
4.5 manage file permissions and ownership v3
managing kernal module from egineering sunject operating system
Linux introduction Class 02
Linux OS ppt cyber security power point .pptx
Linux Operating System Fundamentals
Sysctl
Linux advanced concepts - Part 1
Red Hat Training
101 3.5 create, monitor and kill processes v2
Linux Fundamentals and how to use linux.pdf
Linux Internals Part - 1
Ad

More from Acácio Oliveira (20)

PPTX
Security+ Lesson 01 Topic 24 - Vulnerability Scanning vs Pen Testing.pptx
PPTX
Security+ Lesson 01 Topic 25 - Application Security Controls and Techniques.pptx
PPTX
Security+ Lesson 01 Topic 21 - Types of Application Attacks.pptx
PPTX
Security+ Lesson 01 Topic 19 - Summary of Social Engineering Attacks.pptx
PPTX
Security+ Lesson 01 Topic 23 - Overview of Security Assessment Tools.pptx
PPTX
Security+ Lesson 01 Topic 20 - Summary of Wireless Attacks.pptx
PPTX
Security+ Lesson 01 Topic 22 - Security Enhancement Techniques.pptx
PPTX
Security+ Lesson 01 Topic 15 - Risk Management Best Practices.pptx
PPTX
Security+ Lesson 01 Topic 13 - Physical Security and Environmental Controls.pptx
PPTX
Security+ Lesson 01 Topic 14 - Disaster Recovery Concepts.pptx
PPTX
Security+ Lesson 01 Topic 06 - Wireless Security Considerations.pptx
PPTX
Security+ Lesson 01 Topic 04 - Secure Network Design Elements and Components....
PPTX
Security+ Lesson 01 Topic 02 - Secure Network Administration Concepts.pptx
PPTX
Security+ Lesson 01 Topic 01 - Intro to Network Devices.pptx
PPTX
Security+ Lesson 01 Topic 08 - Integrating Data and Systems with Third Partie...
PPTX
Security+ Lesson 01 Topic 07 - Risk Related Concepts.pptx
PPTX
Security+ Lesson 01 Topic 05 - Common Network Protocols.pptx
PPTX
Security+ Lesson 01 Topic 11 - Incident Response Concepts.pptx
PPTX
Security+ Lesson 01 Topic 12 - Security Related Awareness and Training.pptx
PPTX
Security+ Lesson 01 Topic 17 - Types of Malware.pptx
Security+ Lesson 01 Topic 24 - Vulnerability Scanning vs Pen Testing.pptx
Security+ Lesson 01 Topic 25 - Application Security Controls and Techniques.pptx
Security+ Lesson 01 Topic 21 - Types of Application Attacks.pptx
Security+ Lesson 01 Topic 19 - Summary of Social Engineering Attacks.pptx
Security+ Lesson 01 Topic 23 - Overview of Security Assessment Tools.pptx
Security+ Lesson 01 Topic 20 - Summary of Wireless Attacks.pptx
Security+ Lesson 01 Topic 22 - Security Enhancement Techniques.pptx
Security+ Lesson 01 Topic 15 - Risk Management Best Practices.pptx
Security+ Lesson 01 Topic 13 - Physical Security and Environmental Controls.pptx
Security+ Lesson 01 Topic 14 - Disaster Recovery Concepts.pptx
Security+ Lesson 01 Topic 06 - Wireless Security Considerations.pptx
Security+ Lesson 01 Topic 04 - Secure Network Design Elements and Components....
Security+ Lesson 01 Topic 02 - Secure Network Administration Concepts.pptx
Security+ Lesson 01 Topic 01 - Intro to Network Devices.pptx
Security+ Lesson 01 Topic 08 - Integrating Data and Systems with Third Partie...
Security+ Lesson 01 Topic 07 - Risk Related Concepts.pptx
Security+ Lesson 01 Topic 05 - Common Network Protocols.pptx
Security+ Lesson 01 Topic 11 - Incident Response Concepts.pptx
Security+ Lesson 01 Topic 12 - Security Related Awareness and Training.pptx
Security+ Lesson 01 Topic 17 - Types of Malware.pptx

Recently uploaded (20)

PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
August Patch Tuesday
PDF
Approach and Philosophy of On baking technology
PDF
Hybrid model detection and classification of lung cancer
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Mushroom cultivation and it's methods.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
Tartificialntelligence_presentation.pptx
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Zenith AI: Advanced Artificial Intelligence
August Patch Tuesday
Approach and Philosophy of On baking technology
Hybrid model detection and classification of lung cancer
cloud_computing_Infrastucture_as_cloud_p
MIND Revenue Release Quarter 2 2025 Press Release
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Mushroom cultivation and it's methods.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
A comparative study of natural language inference in Swahili using monolingua...
Digital-Transformation-Roadmap-for-Companies.pptx
A comparative analysis of optical character recognition models for extracting...
Encapsulation_ Review paper, used for researhc scholars
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Web App vs Mobile App What Should You Build First.pdf
1 - Historical Antecedents, Social Consideration.pdf
Tartificialntelligence_presentation.pptx

101 apend. kernel