1 / 9

COP 4343 Unix System Administration

COP 4343 Unix System Administration. Unit 3: Run levels Installing software Modifying kernel. Run Levels. Linux Initialization Process. Service configuration. /etc/rc3.d or /etc/rc5.d scripts starting with S to start service scripts starting with K to stop service /etc/init.d

bchilders
Télécharger la présentation

COP 4343 Unix System Administration

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. COP 4343Unix System Administration Unit 3: Run levels Installing software Modifying kernel

  2. Run Levels

  3. Linux Initialization Process

  4. Service configuration • /etc/rc3.d or /etc/rc5.d • scripts starting with S to start service • scripts starting with K to stop service • /etc/init.d • chkconfig • add service • turn service on/off in run level • service • start/stop/restart utility

  5. Changing run level • init • Command to change run level • halt, reboot • shutdown • with delay and message to uses

  6. Installing software • yum • via rpm command • install, update and query options • tarball • collection of files in compressed tar archive • use tar xvf command to extract • check /usr/share/doc directory • read INSTALL or README files

  7. The Linux Kernel • released by Linus Torvalds in source code • ftp.kernel.org • current release number: 2.6.16 • obtain and prepare kernel source code • mirror.cs.fiu.edu/pub/mirrors/fedora/5/i386/os/RELEASE-NOTES • www.mjmwired.net/resources/mjm-fedora-fc5.html#kernelsrc

  8. Linux Kernel components • Linux executable • bzImage or vmlinuz • Modules • kernel code that can be loaded/unloaded • stored in /lib/modules • module utilities • lsmod • insmod, modprobe • rmmod

  9. Kernel customization • customize kernel options • make xconfig • may require qt-devel package • make menuconfig • compile kernel • make bzImage • make modules • install • make modules_install • make install • check boot loader configuration • install on boot sector: grub-install

More Related