Get the source code of a kernel used in a Linux distribution.
- [Voiceover] So, we wanna fetch the kernel source,…so we can work with it.…And we can use the source from one of the distros.…For example, for CentOS, we can fetch the source…for a package that included in the kernel source…with the yumdownloader command.…That's how we got that installed.…So, that would fetch the source RPM.…Or with UBUNTU, you could use GIT to get the SourceTree.…UBUNTU keeps a SourceTree, or repository,…for all their kernel versions.…If we fetched an RPM, like for CentOS…or Red Hat or Fedora, then we install the RPM,…and we don't need to be root to do that,…to install a source RPM.…
When we do that, if we haven't installed any RPMs before,…it's gonna create a subdirectory in our home directory…called rpmbuild.…And there'll be subdirectories underneath that,…including one called specs.…And then we change in that specs directory,…and we'll find the kernel.spec file.…The spec file for an RPM essentially is…directions on how to build the RPM.…And how to build the RPM include…how to get ready to build the RPM,…
We survey the Linux kernel specification, boot process, and loadable kernel modules. You will practice techniques such as downloading and searching Linux kernel source code and configuring a Linux kernel from scratch. Challenge and solution videos at the end of almost every chapter allow you to test your new Linux skills along the way.
- What is the Linux kernel?
- Controlling hardware
- Reading Linux kernel messages
- Reading and writing files from the proc and sysfs filesystems
- Configuring GRUB
- Using kernel command-line parameters
- Configuring run levels
- Working with loadable kernel modules (LKMs)
- Searching the kernel source code
- Building and installing a Linux kernel
Skill Level Advanced
Learning Linux for PHP Developers (2014)with Jon Peck3h 52m Beginner
1. Surveying the Linux Kernel
3. Working with Loadable Kernel Modules
4. Examining Linux Kernel Source Code
5. Configuring and Building a Linux Kernel
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.