SlideShare una empresa de Scribd logo
1 de 40
Basis Linux
(aan de hand van LPIC-1)
Peter Martin, twitter: @pe7er
Linux User Group Nijmegen, 11 februari 2014
Overzicht Presentatie
● Introductie
● Topic 101:
System Architecture
● Topic 101.1–101.3
● Topic 102:
Linux Installation
and Package Management
● Topic 102.1–102.5
LPIC-1 – Junior Level Linux Certification
● Basisvaardigheden Linux:
● Werken op de command line
● Eenvoudige onderhoudstaken uitvoeren: gebruikers
ondersteunen, gebruikers toevoegen aan systeem,
backup & restore, shutdown & reboot
● Installeren en configureren van een werkstation (incl. X)
en aan LAN netwerk verbinden, of stand-alone PC via
modem aan het Internet.
● Distributie onafhankelijk
● Gecertificeerd door National Commission For
Certifying Agencies
Exam 101 +
Exam 102 =
LPIC-1
certificaat
LPIC-1 – Exam 101
● Topic 101: System Architecture
● Topic 102: Linux Installation and Package
Management
● Topic 103: GNU and Unix Commands
● Topic 104: Devices, Linux Filesystems, Filesystem
Hierarchy Standard
LPIC-1 – Exam 102
● Topic 105: Shells, Scripting and Data Management
● Topic 106: User Interfaces and Desktops
● Topic 107: Administrative Tasks
● Topic 108: Essential System Services
● Topic 109: Networking Fundamentals
● Topic 110: Security
Topic 101 + 102 van Exam 101
● Topic 101: System Architecture
● 101.1 Determine and configure hardware settings
● 101.2 Boot the system
● 101.3 Change runlevels and shutdown or reboot system
● Topic 102: Linux Installation and Package Management
● 102.1 Design hard disk layout
● 102.2 Install a boot manager
● 102.3 Manage shared libraries
● 102.4 Use Debian package management
● 102.5 Use RPM and YUM package management
Topic 101:
System Architecture
101.1 Determine and configure
hardware settings
101.1 Determine and configure hardware settings (w-2)
Candidates should be able to determine and configure fundamental system
hardware.
●
Key Knowledge Areas:
● Enable and disable integrated peripherals.
● Configure systems with or without external peripherals such as keyboards.
● Differentiate between the various types of mass storage devices.
● Set the correct hardware ID for different devices, especially the boot device.
● Know the differences between coldplug and hotplug devices.
● Determine hardware resources for devices.
● Tools and utilities to list various hardware information (e.g. lsusb, lspci, etc.)
● Tools and utilities to manipulate USB devices
● Conceptual understanding of sysfs, udev, hald, dbus
● Terms and Utilities: /sys /proc /dev modprobe lsmod lspci lsusb
101.1 Determine and configure hardware settings (w-2)
Opstarten van PC + besturingssysteem:
● BIOS – Basic Input/Output System
● Power On Self Test (POST)
● Datum/tijd
● Configuratie (boot order)
● Inladen bootroutine
● Master Boot Record (MBR)
● Inladen boot manager (Lilo/Grub)
● Inladen van kernel
● Aanmaken RAM disk voor “init”
● Inladen van allerlei software
101.1 Determine and configure hardware settings (w-2)
● HAL - Hardware Abstraction Layer
(aka “hald” → HAL daemon)
● Intel® Centrino® Advanced-N 6200 → wlan0
● dbus
● D-Bus = inter-process communication (IPC) system.
Voornamelijk communicatie tussen componenten van Gnome, KDE,
XFCE
● udev
● automatic hardware discovery and initialization
● device manager voor Linux kernel
mounten van /dev/sda1 als bijv /dev/camera
101.1 Determine and configure hardware settings (w-2)
● Sysfs = virtual filesystem = ~ “system filesystem”
● /sys → HAL’s database
● Procfs = proc filesystem = over “processes”
● /proc
● Device File = interface for device driver that appears
in a file system as if it were an ordinary file.
● /dev
– /dev/null
– /dev/random
101.1 Determine and configure hardware settings (w-2)
ls – list files
● lsmod = list kernel modules
● lsusb = list usb devices
● lspci = list pci devices
101.2 Boot the system
101.2 Boot the system (w-2)
Candidates should be able to guide the system
through the booting process.
● Key Knowledge Areas:
● Provide common commands to the boot loader and
options to the kernel at boot time.
● Demonstrate knowledge of the boot sequence from
BIOS to boot completion.
● Check boot events in the log files.
● Terms and Utilities: /var/log/messages dmesg BIOS
bootloader kernel init
101.2 Boot the system (w-2)
BIOS → bootloader (GRUB / lilo) → kernel → “init”
● Tijdens opstarten ESC -> bootmenu:
● Opstart optie (kernel) kiezen
● Eventuele kernel modules inladen
● Parameters editen (“e”) o.a. runlevel
● /boot/
● Kernel: vmlinuz-3.2.0-4-amd64
● init ram disk: initrd.img-3.2.0-4-amd64
101.2 Boot the system (w-2)
init = initialization
“pstree” commando
● Sys V
● sysvinit
● upstart (Ubuntu 8.10)
● Systemd
● “Boot events” in log files:
● /var/log/dmesg → logt totdat RAM disk wordt gestart
● dmesg → info live van RAM disk
● /var/log/messages → algemene systeem activiteiten
101.3 Change runlevels and
shutdown or reboot system
101.3 Change runlevels and shutdown or reboot system (w-3)
Candidates should be able to manage the runlevel of the system. This
objective includes changing to single user mode, shutdown or rebooting
the system.
Candidates should be able to alert users before switching run level and
properly terminate processes. This objective also includes setting the
default run level. It also includes basic feature knowledge of potential
replacements to init.
● Key Knowledge Areas:
● Set the default runlevel.
● Change between run levels including single user mode.
● Shutdown and reboot from the command line.
● Alert users before switching runlevels or other major system event.
● Properly terminate processes.
● Knowledge of basic features of systemd and Upstart
● Terms and Utilities: /etc/inittab shutdown init /etc/init.d telinit
101.3 Change runlevels and shutdown or reboot system (w-3)
Runlevels – manier om systeem verschillend te gebruiken.
Runlevel bepaalt wat wel/niet wordt ingeladen
● /etc/inittab -> configuratie van runlevels & init process
● runlevels verschillen tussen distros!
● 0 – Halt
● 1 – single user mode (recovery)
● 2 – .deb default (GUI/txt)
● 3 – .rpm txt
● 4 – wildcard (kun je zelf bepalen)
● 5 – .rpm GUI
● 6 – Reboot
101.3 Change runlevels and shutdown or reboot system (w-3)
● /etc/init.d/ -> scripts om services te laden
● bijv /etc/init.d/exim4
→ status / stop / start
● /etc/rc.d/ bevat folders met scripts voor runlevels
● rc.local → bij elke runlevel
● rc.sysinit → bij elke runlevel
● /etc/rc.d/rc1.d → scripts voor runlevel 1 (single user recover mode)
– Symbolic links naar scripts (Kill, Start)
● /etc/rc.d/rc2.d → scripts voor runlevel 2 (debian default)
– Symbolic links naar scripts
101.3 Change runlevels and shutdown or reboot system (w-3)
● Wisselen tussen runlevels:
$ sudo init [runlevel nummer]
● telinit = init
● Shutdown / reboot
● shutdown -r now → nu reboot
● shutdown -h +5 → over 5 minuten shutdown
● shutdown -h 23:55 Some system maintenance
message
Topic 102:
Linux Installation and
Package Management
102.1 Design hard disk layout
102.1 Design hard disk layout (w-2)
Candidates should be able to design a disk partitioning
scheme for a Linux system.
● Key Knowledge Areas:
● Allocate filesystems and swap space to separate
partitions or disks.
● Tailor the design to the intended use of the system.
● Ensure the /boot partition conforms to the hardware
architecture requirements for booting.
● Knowledge of basic features of LVM
● Terms and Utilities: / (root) filesystem /var filesystem
/home filesystem swap space mount points partitions
102.1 Design hard disk layout (w-2)
● Partitions / disks
● Filesystems
● Mount points
● mount
● /etc/fstab = file systems table, o.a. mountpoints bij startup
● SWAP space
● Superblock = meta info over filesysteem, soort “FAT”
● MBR – Master Boot Record
● LVM – logical volume manager for Linux kernel that
manages disk drives and similar mass-storage devices
→ volgens 3rd editie nog geen deel van examen
102.1 Design hard disk layout (w-2)
● Opzet van Harddisk afhankelijk van:
● Grootte van diskruimte
● Grootte van het systeem
● Gebruik van systeem
● Hoe & waar backups
102.1 Design hard disk layout (w-2)
●
Desktop
●
/boot/ 100MB
● swap (not mounted) swap size = 2x RAM
● Network workstation
●
/
●
/boot/
●
/home/ ->NFS, SMB, SSH. Elke gebruiker eigen /home/subfolder/
●
swap (not mounted)
● Server
●
/
● /boot/
●
/home/
●
/opt/
●
/usr/ bijv /usr/bin/apache -> zelfde versie voor alle gebruikers
●
/var/
●
swap (not mounted)
102.2 Install a boot manager
102.2 Install a boot manager (w-2)
Candidates should be able to select, install and
configure a boot manager.
● Key Knowledge Areas:
● Providing alternative boot locations and backup boot
options.
● Install and configure a boot loader such as GRUB
Legacy.
● Perform basic configuration changes for GRUB 2.
● Interact with the boot loader
● Terms and Utilities: /boot/grub/menu.lst grub-install
MBR superblock
102.2 Install a boot manager (w-2)
● Lilo (“Linux Loader”)
● bootloader & command
● Grub (GRand Unified Bootloader)
● /boot/grub/menu.lst (grub1)
● /boot/grub/grub.cfg (grub2)
● Grub-install
● MBR backup
● -> 1e hd bepalen
$ mount
● Bit-voor-bit copy dmv disk dump:
$ sudo dd if=/dev/sda of=/root/backup.mbr bs=512 count=1
102.3 Manage shared libraries
102.3 Manage shared libraries (w-1)
Candidates should be able to determine the shared
libraries that executable programs depend on and
install them when necessary.
● Key Knowledge Areas:
● Identify shared libraries
● Identify the typical locations of system libraries
● Load shared libraries
● Terms and Utilities: ldd ldconfig /etc/ld.so.conf
LD_LIBRARY_PATH
102.4 Use Debian
package management
102.4 Use Debian package management (w-3)
Candidates should be able to perform package
management using the Debian package tools.
● Key Knowledge Areas:
● Install, upgrade and uninstall Debian binary packages.
● Find packages containing specific files or libraries which
may or may not be installed.
● Obtain package information like version, content,
dependencies, package integrity and installation status
(whether or not the package is installed).
● Terms and Utilities: /etc/apt/sources.list dpkg dpkg-
reconfigure apt-get apt-cache aptitude
102.5 Use RPM and YUM
package management
102.5 Use RPM and YUM package management (w-3)
Candidates should be able to perform package
management using RPM and YUM tools.
● Key Knowledge Areas:
● Install, re-install, upgrade and remove packages using
RPM and YUM.
● Obtain information on RPM packages such as version,
status, dependencies, integrity and signatures.
● Determine what files a package provides, as well as
find which package a specific file comes from.
● Terms and Utilities: rpm rpm2cpio /etc/yum.conf
/etc/yum.repos.d/ yum yumdownloader
Vragen?
Peter Martin
e-mail: info at db8.nl
website: www.db8.nl
twitter: @pe7er
Used Photos
● Penguin - Priit Kallas http://www.sxc.hu/photo/361999
● note paper - ilker http://www.sxc.hu/photo/1266532
● Motherboard 4 - Lisa Zanchi http://www.sxc.hu/photo/103914
● power button - "gerard79" http://www.sxc.hu/photo/1009485
● Runners - Meeting - Christophe Libert http://www.sxc.hu/photo/618947
● hard disk - ilker http://www.sxc.hu/photo/1144734
● Boys old boots with lace undone - Katerina Chuchuva
http://www.sxc.hu/photo/1243521
● lots of files 2 - Michael & Christa Richert http://www.sxc.hu/photo/1370555
● Sparks - Hector Landaeta http://www.sxc.hu/photo/1184243
● Fragile Parcel - Richard Dudley http://www.sxc.hu/photo/1279274

Más contenido relacionado

La actualidad más candente

linux file sysytem& input and output
linux file sysytem& input and outputlinux file sysytem& input and output
linux file sysytem& input and outputMythiliA5
 
Linux booting process!!
Linux booting process!!Linux booting process!!
Linux booting process!!sourav verma
 
Lesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemLesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemSadia Bashir
 
brief intro to Linux device drivers
brief intro to Linux device driversbrief intro to Linux device drivers
brief intro to Linux device driversAlexandre Moreno
 
Linux Boot Process
Linux Boot ProcessLinux Boot Process
Linux Boot Processdarshhingu
 
Unix OS & Commands
Unix OS & CommandsUnix OS & Commands
Unix OS & CommandsMohit Belwal
 
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
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux pptOmi Vichare
 
package mangement
package mangementpackage mangement
package mangementARYA TM
 
Chapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix ConceptsChapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix ConceptsMeenalJabde
 
User Administration in Linux
User Administration in LinuxUser Administration in Linux
User Administration in LinuxSAMUEL OJO
 
Linux User Management
Linux User ManagementLinux User Management
Linux User ManagementGaurav Mishra
 

La actualidad más candente (20)

RPM (LINUX)
RPM (LINUX)RPM (LINUX)
RPM (LINUX)
 
Linux kernel modules
Linux kernel modulesLinux kernel modules
Linux kernel modules
 
Linux commands
Linux commandsLinux commands
Linux commands
 
linux file sysytem& input and output
linux file sysytem& input and outputlinux file sysytem& input and output
linux file sysytem& input and output
 
Linux booting process!!
Linux booting process!!Linux booting process!!
Linux booting process!!
 
Lesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemLesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File System
 
Vi editor
Vi editorVi editor
Vi editor
 
brief intro to Linux device drivers
brief intro to Linux device driversbrief intro to Linux device drivers
brief intro to Linux device drivers
 
Linux Boot Process
Linux Boot ProcessLinux Boot Process
Linux Boot Process
 
Unix OS & Commands
Unix OS & CommandsUnix OS & Commands
Unix OS & Commands
 
Linux device drivers
Linux device driversLinux device drivers
Linux device drivers
 
Ext filesystem4
Ext filesystem4Ext filesystem4
Ext filesystem4
 
Linux booting process - Linux System Administration
Linux booting process - Linux System AdministrationLinux booting process - Linux System Administration
Linux booting process - Linux System Administration
 
Unix ppt
Unix pptUnix ppt
Unix ppt
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux ppt
 
Know the UNIX Commands
Know the UNIX CommandsKnow the UNIX Commands
Know the UNIX Commands
 
package mangement
package mangementpackage mangement
package mangement
 
Chapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix ConceptsChapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix Concepts
 
User Administration in Linux
User Administration in LinuxUser Administration in Linux
User Administration in Linux
 
Linux User Management
Linux User ManagementLinux User Management
Linux User Management
 

Destacado

embedded Linux, van Black Tot QA
embedded Linux, van Black Tot QAembedded Linux, van Black Tot QA
embedded Linux, van Black Tot QAAlbert Mietus
 
Bakers and Philosophers
Bakers and PhilosophersBakers and Philosophers
Bakers and PhilosophersDavid Evans
 
Writing External Rsyslog Plugins
Writing External Rsyslog PluginsWriting External Rsyslog Plugins
Writing External Rsyslog PluginsRainer Gerhards
 
Gash Has No Privileges
Gash Has No PrivilegesGash Has No Privileges
Gash Has No PrivilegesDavid Evans
 
Making a Process (Virtualizing Memory)
Making a Process (Virtualizing Memory)Making a Process (Virtualizing Memory)
Making a Process (Virtualizing Memory)David Evans
 
Zero to a Billion in 4.86 Years (A Whirlwind History of Operating Systems)
Zero to a Billion in 4.86 Years (A Whirlwind History of Operating Systems)Zero to a Billion in 4.86 Years (A Whirlwind History of Operating Systems)
Zero to a Billion in 4.86 Years (A Whirlwind History of Operating Systems)David Evans
 
Once Upon a Process
Once Upon a ProcessOnce Upon a Process
Once Upon a ProcessDavid Evans
 
Segmentation Faults, Page Faults, Processes, Threads, and Tasks
Segmentation Faults, Page Faults, Processes, Threads, and TasksSegmentation Faults, Page Faults, Processes, Threads, and Tasks
Segmentation Faults, Page Faults, Processes, Threads, and TasksDavid Evans
 
Class 1: What is an Operating System?
Class 1: What is an Operating System?Class 1: What is an Operating System?
Class 1: What is an Operating System?David Evans
 
Invent the Future (Operating Systems in 2029)
Invent the Future (Operating Systems in 2029)Invent the Future (Operating Systems in 2029)
Invent the Future (Operating Systems in 2029)David Evans
 
Flash! (Modern File Systems)
Flash! (Modern File Systems)Flash! (Modern File Systems)
Flash! (Modern File Systems)David Evans
 
Unix file systems 2 in unix internal systems
Unix file systems 2 in unix internal systems Unix file systems 2 in unix internal systems
Unix file systems 2 in unix internal systems senthilamul
 
Building Linux IPv6 DNS Server (Complete Presentation)
Building Linux IPv6 DNS Server (Complete Presentation)Building Linux IPv6 DNS Server (Complete Presentation)
Building Linux IPv6 DNS Server (Complete Presentation)Hari
 
Mca ii os u-5 unix linux file system
Mca  ii  os u-5 unix linux file systemMca  ii  os u-5 unix linux file system
Mca ii os u-5 unix linux file systemRai University
 
Securing Syslog On FreeBSD
Securing Syslog On FreeBSDSecuring Syslog On FreeBSD
Securing Syslog On FreeBSDAlbert Mietus
 

Destacado (20)

embedded Linux, van Black Tot QA
embedded Linux, van Black Tot QAembedded Linux, van Black Tot QA
embedded Linux, van Black Tot QA
 
Bakers and Philosophers
Bakers and PhilosophersBakers and Philosophers
Bakers and Philosophers
 
Writing External Rsyslog Plugins
Writing External Rsyslog PluginsWriting External Rsyslog Plugins
Writing External Rsyslog Plugins
 
Gash Has No Privileges
Gash Has No PrivilegesGash Has No Privileges
Gash Has No Privileges
 
Making a Process (Virtualizing Memory)
Making a Process (Virtualizing Memory)Making a Process (Virtualizing Memory)
Making a Process (Virtualizing Memory)
 
Storage
StorageStorage
Storage
 
Managing Memory
Managing MemoryManaging Memory
Managing Memory
 
Zero to a Billion in 4.86 Years (A Whirlwind History of Operating Systems)
Zero to a Billion in 4.86 Years (A Whirlwind History of Operating Systems)Zero to a Billion in 4.86 Years (A Whirlwind History of Operating Systems)
Zero to a Billion in 4.86 Years (A Whirlwind History of Operating Systems)
 
Once Upon a Process
Once Upon a ProcessOnce Upon a Process
Once Upon a Process
 
Segmentation Faults, Page Faults, Processes, Threads, and Tasks
Segmentation Faults, Page Faults, Processes, Threads, and TasksSegmentation Faults, Page Faults, Processes, Threads, and Tasks
Segmentation Faults, Page Faults, Processes, Threads, and Tasks
 
Class 1: What is an Operating System?
Class 1: What is an Operating System?Class 1: What is an Operating System?
Class 1: What is an Operating System?
 
System Calls
System CallsSystem Calls
System Calls
 
Invent the Future (Operating Systems in 2029)
Invent the Future (Operating Systems in 2029)Invent the Future (Operating Systems in 2029)
Invent the Future (Operating Systems in 2029)
 
Flash! (Modern File Systems)
Flash! (Modern File Systems)Flash! (Modern File Systems)
Flash! (Modern File Systems)
 
Unix file systems 2 in unix internal systems
Unix file systems 2 in unix internal systems Unix file systems 2 in unix internal systems
Unix file systems 2 in unix internal systems
 
Building Linux IPv6 DNS Server (Complete Presentation)
Building Linux IPv6 DNS Server (Complete Presentation)Building Linux IPv6 DNS Server (Complete Presentation)
Building Linux IPv6 DNS Server (Complete Presentation)
 
Mca ii os u-5 unix linux file system
Mca  ii  os u-5 unix linux file systemMca  ii  os u-5 unix linux file system
Mca ii os u-5 unix linux file system
 
System calls
System callsSystem calls
System calls
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Securing Syslog On FreeBSD
Securing Syslog On FreeBSDSecuring Syslog On FreeBSD
Securing Syslog On FreeBSD
 

Similar a Linux Installation and Package Management Guide

Grub and dracut ii
Grub and dracut iiGrub and dracut ii
Grub and dracut iiplarsen67
 
Android for Embedded Linux Developers
Android for Embedded Linux DevelopersAndroid for Embedded Linux Developers
Android for Embedded Linux DevelopersOpersys inc.
 
Linux fundamental - Chap 12 Hardware Management
Linux fundamental - Chap 12 Hardware ManagementLinux fundamental - Chap 12 Hardware Management
Linux fundamental - Chap 12 Hardware ManagementKenny (netman)
 
LISA15: systemd, the Next-Generation Linux System Manager
LISA15: systemd, the Next-Generation Linux System Manager LISA15: systemd, the Next-Generation Linux System Manager
LISA15: systemd, the Next-Generation Linux System Manager Alison Chaiken
 
Tuning systemd for embedded
Tuning systemd for embeddedTuning systemd for embedded
Tuning systemd for embeddedAlison Chaiken
 
Embedded Fest 2019. Руслан Биловол. Linux Boot: The Big Bang theory
Embedded Fest 2019. Руслан Биловол. Linux Boot: The Big Bang theoryEmbedded Fest 2019. Руслан Биловол. Linux Boot: The Big Bang theory
Embedded Fest 2019. Руслан Биловол. Linux Boot: The Big Bang theoryEmbeddedFest
 
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLES
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLESQuick-and-Easy Deployment of a Ceph Storage Cluster with SLES
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLESJan Kalcic
 

Similar a Linux Installation and Package Management Guide (20)

Grub and dracut ii
Grub and dracut iiGrub and dracut ii
Grub and dracut ii
 
Understanding The Boot Process
Understanding The Boot ProcessUnderstanding The Boot Process
Understanding The Boot Process
 
Android for Embedded Linux Developers
Android for Embedded Linux DevelopersAndroid for Embedded Linux Developers
Android for Embedded Linux Developers
 
Linux Internals - Part II
Linux Internals - Part IILinux Internals - Part II
Linux Internals - Part II
 
101 1.2 boot the system
101 1.2 boot the system101 1.2 boot the system
101 1.2 boot the system
 
Linux fundamental - Chap 12 Hardware Management
Linux fundamental - Chap 12 Hardware ManagementLinux fundamental - Chap 12 Hardware Management
Linux fundamental - Chap 12 Hardware Management
 
LISA15: systemd, the Next-Generation Linux System Manager
LISA15: systemd, the Next-Generation Linux System Manager LISA15: systemd, the Next-Generation Linux System Manager
LISA15: systemd, the Next-Generation Linux System Manager
 
Linux
LinuxLinux
Linux
 
Tuning systemd for embedded
Tuning systemd for embeddedTuning systemd for embedded
Tuning systemd for embedded
 
SystemV vs systemd
SystemV vs systemdSystemV vs systemd
SystemV vs systemd
 
U-Boot - An universal bootloader
U-Boot - An universal bootloader U-Boot - An universal bootloader
U-Boot - An universal bootloader
 
Linux introduction Class 02
Linux introduction Class 02Linux introduction Class 02
Linux introduction Class 02
 
Formation LPIC-1_SysArch
Formation LPIC-1_SysArchFormation LPIC-1_SysArch
Formation LPIC-1_SysArch
 
Embedded Fest 2019. Руслан Биловол. Linux Boot: The Big Bang theory
Embedded Fest 2019. Руслан Биловол. Linux Boot: The Big Bang theoryEmbedded Fest 2019. Руслан Биловол. Linux Boot: The Big Bang theory
Embedded Fest 2019. Руслан Биловол. Linux Boot: The Big Bang theory
 
Linux Booting Process
Linux Booting ProcessLinux Booting Process
Linux Booting Process
 
Ch04 system administration
Ch04 system administration Ch04 system administration
Ch04 system administration
 
Ch04
Ch04Ch04
Ch04
 
Basic Linux Internals
Basic Linux InternalsBasic Linux Internals
Basic Linux Internals
 
Linux
Linux Linux
Linux
 
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLES
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLESQuick-and-Easy Deployment of a Ceph Storage Cluster with SLES
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLES
 

Más de Peter Martin

Developing new feature in Joomla - Joomladay UK 2016
Developing new feature in Joomla - Joomladay UK 2016Developing new feature in Joomla - Joomladay UK 2016
Developing new feature in Joomla - Joomladay UK 2016Peter Martin
 
JCE editor optimaliseren (Joomla Den Bosc­h 2016)
JCE editor optimaliseren (Joomla Den Bosc­h 2016)JCE editor optimaliseren (Joomla Den Bosc­h 2016)
JCE editor optimaliseren (Joomla Den Bosc­h 2016)Peter Martin
 
Internet of Things - Linux Usergroup Nijmegen
Internet of Things - Linux Usergroup NijmegenInternet of Things - Linux Usergroup Nijmegen
Internet of Things - Linux Usergroup NijmegenPeter Martin
 
Joomla: 10 years of progress (jd15fr)
Joomla: 10 years of progress (jd15fr)Joomla: 10 years of progress (jd15fr)
Joomla: 10 years of progress (jd15fr)Peter Martin
 
Joomla 10-jaar-vooruitgang-jdnl15
Joomla 10-jaar-vooruitgang-jdnl15Joomla 10-jaar-vooruitgang-jdnl15
Joomla 10-jaar-vooruitgang-jdnl15Peter Martin
 
Linux command-line-magic-jdnl15
Linux command-line-magic-jdnl15Linux command-line-magic-jdnl15
Linux command-line-magic-jdnl15Peter Martin
 
GNU Radio & digitaal vliegtuig spotten
GNU Radio & digitaal vliegtuig spottenGNU Radio & digitaal vliegtuig spotten
GNU Radio & digitaal vliegtuig spottenPeter Martin
 
Help mijn website is gehackt - Joomla User Group Den Bosch 2014
Help mijn website is gehackt - Joomla User Group Den Bosch 2014Help mijn website is gehackt - Joomla User Group Den Bosch 2014
Help mijn website is gehackt - Joomla User Group Den Bosch 2014Peter Martin
 
Music Trackers - Linux Usergroup Nijmegen 2014
Music Trackers - Linux Usergroup Nijmegen 2014Music Trackers - Linux Usergroup Nijmegen 2014
Music Trackers - Linux Usergroup Nijmegen 2014Peter Martin
 
linux-commandline-magic-Joomla-World-Conference-2014
linux-commandline-magic-Joomla-World-Conference-2014linux-commandline-magic-Joomla-World-Conference-2014
linux-commandline-magic-Joomla-World-Conference-2014Peter Martin
 
How IT works - Joomladay UK 2014
How IT works - Joomladay UK 2014How IT works - Joomladay UK 2014
How IT works - Joomladay UK 2014Peter Martin
 
Developing a Joomla 3.x Component using RAD/FOF - Joomladay UK 2014
Developing a Joomla 3.x Component using RAD/FOF - Joomladay UK 2014Developing a Joomla 3.x Component using RAD/FOF - Joomladay UK 2014
Developing a Joomla 3.x Component using RAD/FOF - Joomladay UK 2014Peter Martin
 
Joomla multilingual website without 3rd party extensions - Joomladay UK 2014
Joomla multilingual website without 3rd party extensions - Joomladay UK 2014Joomla multilingual website without 3rd party extensions - Joomladay UK 2014
Joomla multilingual website without 3rd party extensions - Joomladay UK 2014Peter Martin
 
Developing a Joomla 3.x Component using RAD FOF- Part 2: Front-end + demo - J...
Developing a Joomla 3.x Component using RAD FOF- Part 2: Front-end + demo - J...Developing a Joomla 3.x Component using RAD FOF- Part 2: Front-end + demo - J...
Developing a Joomla 3.x Component using RAD FOF- Part 2: Front-end + demo - J...Peter Martin
 
Developing a Joomla 3.x Component using RAD FOF- Part 1: Back-end - Joomladay...
Developing a Joomla 3.x Component using RAD FOF- Part 1: Back-end - Joomladay...Developing a Joomla 3.x Component using RAD FOF- Part 1: Back-end - Joomladay...
Developing a Joomla 3.x Component using RAD FOF- Part 1: Back-end - Joomladay...Peter Martin
 
Troubleshooting Joomla! problems - Joomladay Germany 2014
Troubleshooting Joomla! problems - Joomladay Germany 2014Troubleshooting Joomla! problems - Joomladay Germany 2014
Troubleshooting Joomla! problems - Joomladay Germany 2014Peter Martin
 
How IT works - Joomladay Germany 2014
How IT works - Joomladay Germany 2014How IT works - Joomladay Germany 2014
How IT works - Joomladay Germany 2014Peter Martin
 
Linux Nijmegen - Webserver (LAMP stack) opzetten met VirtualbBox & Vagrant
Linux Nijmegen - Webserver (LAMP stack) opzetten met VirtualbBox & VagrantLinux Nijmegen - Webserver (LAMP stack) opzetten met VirtualbBox & Vagrant
Linux Nijmegen - Webserver (LAMP stack) opzetten met VirtualbBox & VagrantPeter Martin
 
Problemen oplossen in Joomla - Joomladagen 2014
Problemen oplossen in Joomla - Joomladagen 2014Problemen oplossen in Joomla - Joomladagen 2014
Problemen oplossen in Joomla - Joomladagen 2014Peter Martin
 
Joomla 3 Component programmeren met RAD - Joomladagen 2014
Joomla 3 Component programmeren met RAD - Joomladagen 2014Joomla 3 Component programmeren met RAD - Joomladagen 2014
Joomla 3 Component programmeren met RAD - Joomladagen 2014Peter Martin
 

Más de Peter Martin (20)

Developing new feature in Joomla - Joomladay UK 2016
Developing new feature in Joomla - Joomladay UK 2016Developing new feature in Joomla - Joomladay UK 2016
Developing new feature in Joomla - Joomladay UK 2016
 
JCE editor optimaliseren (Joomla Den Bosc­h 2016)
JCE editor optimaliseren (Joomla Den Bosc­h 2016)JCE editor optimaliseren (Joomla Den Bosc­h 2016)
JCE editor optimaliseren (Joomla Den Bosc­h 2016)
 
Internet of Things - Linux Usergroup Nijmegen
Internet of Things - Linux Usergroup NijmegenInternet of Things - Linux Usergroup Nijmegen
Internet of Things - Linux Usergroup Nijmegen
 
Joomla: 10 years of progress (jd15fr)
Joomla: 10 years of progress (jd15fr)Joomla: 10 years of progress (jd15fr)
Joomla: 10 years of progress (jd15fr)
 
Joomla 10-jaar-vooruitgang-jdnl15
Joomla 10-jaar-vooruitgang-jdnl15Joomla 10-jaar-vooruitgang-jdnl15
Joomla 10-jaar-vooruitgang-jdnl15
 
Linux command-line-magic-jdnl15
Linux command-line-magic-jdnl15Linux command-line-magic-jdnl15
Linux command-line-magic-jdnl15
 
GNU Radio & digitaal vliegtuig spotten
GNU Radio & digitaal vliegtuig spottenGNU Radio & digitaal vliegtuig spotten
GNU Radio & digitaal vliegtuig spotten
 
Help mijn website is gehackt - Joomla User Group Den Bosch 2014
Help mijn website is gehackt - Joomla User Group Den Bosch 2014Help mijn website is gehackt - Joomla User Group Den Bosch 2014
Help mijn website is gehackt - Joomla User Group Den Bosch 2014
 
Music Trackers - Linux Usergroup Nijmegen 2014
Music Trackers - Linux Usergroup Nijmegen 2014Music Trackers - Linux Usergroup Nijmegen 2014
Music Trackers - Linux Usergroup Nijmegen 2014
 
linux-commandline-magic-Joomla-World-Conference-2014
linux-commandline-magic-Joomla-World-Conference-2014linux-commandline-magic-Joomla-World-Conference-2014
linux-commandline-magic-Joomla-World-Conference-2014
 
How IT works - Joomladay UK 2014
How IT works - Joomladay UK 2014How IT works - Joomladay UK 2014
How IT works - Joomladay UK 2014
 
Developing a Joomla 3.x Component using RAD/FOF - Joomladay UK 2014
Developing a Joomla 3.x Component using RAD/FOF - Joomladay UK 2014Developing a Joomla 3.x Component using RAD/FOF - Joomladay UK 2014
Developing a Joomla 3.x Component using RAD/FOF - Joomladay UK 2014
 
Joomla multilingual website without 3rd party extensions - Joomladay UK 2014
Joomla multilingual website without 3rd party extensions - Joomladay UK 2014Joomla multilingual website without 3rd party extensions - Joomladay UK 2014
Joomla multilingual website without 3rd party extensions - Joomladay UK 2014
 
Developing a Joomla 3.x Component using RAD FOF- Part 2: Front-end + demo - J...
Developing a Joomla 3.x Component using RAD FOF- Part 2: Front-end + demo - J...Developing a Joomla 3.x Component using RAD FOF- Part 2: Front-end + demo - J...
Developing a Joomla 3.x Component using RAD FOF- Part 2: Front-end + demo - J...
 
Developing a Joomla 3.x Component using RAD FOF- Part 1: Back-end - Joomladay...
Developing a Joomla 3.x Component using RAD FOF- Part 1: Back-end - Joomladay...Developing a Joomla 3.x Component using RAD FOF- Part 1: Back-end - Joomladay...
Developing a Joomla 3.x Component using RAD FOF- Part 1: Back-end - Joomladay...
 
Troubleshooting Joomla! problems - Joomladay Germany 2014
Troubleshooting Joomla! problems - Joomladay Germany 2014Troubleshooting Joomla! problems - Joomladay Germany 2014
Troubleshooting Joomla! problems - Joomladay Germany 2014
 
How IT works - Joomladay Germany 2014
How IT works - Joomladay Germany 2014How IT works - Joomladay Germany 2014
How IT works - Joomladay Germany 2014
 
Linux Nijmegen - Webserver (LAMP stack) opzetten met VirtualbBox & Vagrant
Linux Nijmegen - Webserver (LAMP stack) opzetten met VirtualbBox & VagrantLinux Nijmegen - Webserver (LAMP stack) opzetten met VirtualbBox & Vagrant
Linux Nijmegen - Webserver (LAMP stack) opzetten met VirtualbBox & Vagrant
 
Problemen oplossen in Joomla - Joomladagen 2014
Problemen oplossen in Joomla - Joomladagen 2014Problemen oplossen in Joomla - Joomladagen 2014
Problemen oplossen in Joomla - Joomladagen 2014
 
Joomla 3 Component programmeren met RAD - Joomladagen 2014
Joomla 3 Component programmeren met RAD - Joomladagen 2014Joomla 3 Component programmeren met RAD - Joomladagen 2014
Joomla 3 Component programmeren met RAD - Joomladagen 2014
 

Último

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 

Último (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 

Linux Installation and Package Management Guide

  • 1. Basis Linux (aan de hand van LPIC-1) Peter Martin, twitter: @pe7er Linux User Group Nijmegen, 11 februari 2014
  • 2. Overzicht Presentatie ● Introductie ● Topic 101: System Architecture ● Topic 101.1–101.3 ● Topic 102: Linux Installation and Package Management ● Topic 102.1–102.5
  • 3. LPIC-1 – Junior Level Linux Certification ● Basisvaardigheden Linux: ● Werken op de command line ● Eenvoudige onderhoudstaken uitvoeren: gebruikers ondersteunen, gebruikers toevoegen aan systeem, backup & restore, shutdown & reboot ● Installeren en configureren van een werkstation (incl. X) en aan LAN netwerk verbinden, of stand-alone PC via modem aan het Internet. ● Distributie onafhankelijk ● Gecertificeerd door National Commission For Certifying Agencies
  • 4. Exam 101 + Exam 102 = LPIC-1 certificaat
  • 5. LPIC-1 – Exam 101 ● Topic 101: System Architecture ● Topic 102: Linux Installation and Package Management ● Topic 103: GNU and Unix Commands ● Topic 104: Devices, Linux Filesystems, Filesystem Hierarchy Standard
  • 6. LPIC-1 – Exam 102 ● Topic 105: Shells, Scripting and Data Management ● Topic 106: User Interfaces and Desktops ● Topic 107: Administrative Tasks ● Topic 108: Essential System Services ● Topic 109: Networking Fundamentals ● Topic 110: Security
  • 7. Topic 101 + 102 van Exam 101 ● Topic 101: System Architecture ● 101.1 Determine and configure hardware settings ● 101.2 Boot the system ● 101.3 Change runlevels and shutdown or reboot system ● Topic 102: Linux Installation and Package Management ● 102.1 Design hard disk layout ● 102.2 Install a boot manager ● 102.3 Manage shared libraries ● 102.4 Use Debian package management ● 102.5 Use RPM and YUM package management
  • 9. 101.1 Determine and configure hardware settings
  • 10. 101.1 Determine and configure hardware settings (w-2) Candidates should be able to determine and configure fundamental system hardware. ● Key Knowledge Areas: ● Enable and disable integrated peripherals. ● Configure systems with or without external peripherals such as keyboards. ● Differentiate between the various types of mass storage devices. ● Set the correct hardware ID for different devices, especially the boot device. ● Know the differences between coldplug and hotplug devices. ● Determine hardware resources for devices. ● Tools and utilities to list various hardware information (e.g. lsusb, lspci, etc.) ● Tools and utilities to manipulate USB devices ● Conceptual understanding of sysfs, udev, hald, dbus ● Terms and Utilities: /sys /proc /dev modprobe lsmod lspci lsusb
  • 11. 101.1 Determine and configure hardware settings (w-2) Opstarten van PC + besturingssysteem: ● BIOS – Basic Input/Output System ● Power On Self Test (POST) ● Datum/tijd ● Configuratie (boot order) ● Inladen bootroutine ● Master Boot Record (MBR) ● Inladen boot manager (Lilo/Grub) ● Inladen van kernel ● Aanmaken RAM disk voor “init” ● Inladen van allerlei software
  • 12. 101.1 Determine and configure hardware settings (w-2) ● HAL - Hardware Abstraction Layer (aka “hald” → HAL daemon) ● Intel® Centrino® Advanced-N 6200 → wlan0 ● dbus ● D-Bus = inter-process communication (IPC) system. Voornamelijk communicatie tussen componenten van Gnome, KDE, XFCE ● udev ● automatic hardware discovery and initialization ● device manager voor Linux kernel mounten van /dev/sda1 als bijv /dev/camera
  • 13. 101.1 Determine and configure hardware settings (w-2) ● Sysfs = virtual filesystem = ~ “system filesystem” ● /sys → HAL’s database ● Procfs = proc filesystem = over “processes” ● /proc ● Device File = interface for device driver that appears in a file system as if it were an ordinary file. ● /dev – /dev/null – /dev/random
  • 14. 101.1 Determine and configure hardware settings (w-2) ls – list files ● lsmod = list kernel modules ● lsusb = list usb devices ● lspci = list pci devices
  • 15. 101.2 Boot the system
  • 16. 101.2 Boot the system (w-2) Candidates should be able to guide the system through the booting process. ● Key Knowledge Areas: ● Provide common commands to the boot loader and options to the kernel at boot time. ● Demonstrate knowledge of the boot sequence from BIOS to boot completion. ● Check boot events in the log files. ● Terms and Utilities: /var/log/messages dmesg BIOS bootloader kernel init
  • 17. 101.2 Boot the system (w-2) BIOS → bootloader (GRUB / lilo) → kernel → “init” ● Tijdens opstarten ESC -> bootmenu: ● Opstart optie (kernel) kiezen ● Eventuele kernel modules inladen ● Parameters editen (“e”) o.a. runlevel ● /boot/ ● Kernel: vmlinuz-3.2.0-4-amd64 ● init ram disk: initrd.img-3.2.0-4-amd64
  • 18. 101.2 Boot the system (w-2) init = initialization “pstree” commando ● Sys V ● sysvinit ● upstart (Ubuntu 8.10) ● Systemd ● “Boot events” in log files: ● /var/log/dmesg → logt totdat RAM disk wordt gestart ● dmesg → info live van RAM disk ● /var/log/messages → algemene systeem activiteiten
  • 19. 101.3 Change runlevels and shutdown or reboot system
  • 20. 101.3 Change runlevels and shutdown or reboot system (w-3) Candidates should be able to manage the runlevel of the system. This objective includes changing to single user mode, shutdown or rebooting the system. Candidates should be able to alert users before switching run level and properly terminate processes. This objective also includes setting the default run level. It also includes basic feature knowledge of potential replacements to init. ● Key Knowledge Areas: ● Set the default runlevel. ● Change between run levels including single user mode. ● Shutdown and reboot from the command line. ● Alert users before switching runlevels or other major system event. ● Properly terminate processes. ● Knowledge of basic features of systemd and Upstart ● Terms and Utilities: /etc/inittab shutdown init /etc/init.d telinit
  • 21. 101.3 Change runlevels and shutdown or reboot system (w-3) Runlevels – manier om systeem verschillend te gebruiken. Runlevel bepaalt wat wel/niet wordt ingeladen ● /etc/inittab -> configuratie van runlevels & init process ● runlevels verschillen tussen distros! ● 0 – Halt ● 1 – single user mode (recovery) ● 2 – .deb default (GUI/txt) ● 3 – .rpm txt ● 4 – wildcard (kun je zelf bepalen) ● 5 – .rpm GUI ● 6 – Reboot
  • 22. 101.3 Change runlevels and shutdown or reboot system (w-3) ● /etc/init.d/ -> scripts om services te laden ● bijv /etc/init.d/exim4 → status / stop / start ● /etc/rc.d/ bevat folders met scripts voor runlevels ● rc.local → bij elke runlevel ● rc.sysinit → bij elke runlevel ● /etc/rc.d/rc1.d → scripts voor runlevel 1 (single user recover mode) – Symbolic links naar scripts (Kill, Start) ● /etc/rc.d/rc2.d → scripts voor runlevel 2 (debian default) – Symbolic links naar scripts
  • 23. 101.3 Change runlevels and shutdown or reboot system (w-3) ● Wisselen tussen runlevels: $ sudo init [runlevel nummer] ● telinit = init ● Shutdown / reboot ● shutdown -r now → nu reboot ● shutdown -h +5 → over 5 minuten shutdown ● shutdown -h 23:55 Some system maintenance message
  • 24. Topic 102: Linux Installation and Package Management
  • 25. 102.1 Design hard disk layout
  • 26. 102.1 Design hard disk layout (w-2) Candidates should be able to design a disk partitioning scheme for a Linux system. ● Key Knowledge Areas: ● Allocate filesystems and swap space to separate partitions or disks. ● Tailor the design to the intended use of the system. ● Ensure the /boot partition conforms to the hardware architecture requirements for booting. ● Knowledge of basic features of LVM ● Terms and Utilities: / (root) filesystem /var filesystem /home filesystem swap space mount points partitions
  • 27. 102.1 Design hard disk layout (w-2) ● Partitions / disks ● Filesystems ● Mount points ● mount ● /etc/fstab = file systems table, o.a. mountpoints bij startup ● SWAP space ● Superblock = meta info over filesysteem, soort “FAT” ● MBR – Master Boot Record ● LVM – logical volume manager for Linux kernel that manages disk drives and similar mass-storage devices → volgens 3rd editie nog geen deel van examen
  • 28. 102.1 Design hard disk layout (w-2) ● Opzet van Harddisk afhankelijk van: ● Grootte van diskruimte ● Grootte van het systeem ● Gebruik van systeem ● Hoe & waar backups
  • 29. 102.1 Design hard disk layout (w-2) ● Desktop ● /boot/ 100MB ● swap (not mounted) swap size = 2x RAM ● Network workstation ● / ● /boot/ ● /home/ ->NFS, SMB, SSH. Elke gebruiker eigen /home/subfolder/ ● swap (not mounted) ● Server ● / ● /boot/ ● /home/ ● /opt/ ● /usr/ bijv /usr/bin/apache -> zelfde versie voor alle gebruikers ● /var/ ● swap (not mounted)
  • 30. 102.2 Install a boot manager
  • 31. 102.2 Install a boot manager (w-2) Candidates should be able to select, install and configure a boot manager. ● Key Knowledge Areas: ● Providing alternative boot locations and backup boot options. ● Install and configure a boot loader such as GRUB Legacy. ● Perform basic configuration changes for GRUB 2. ● Interact with the boot loader ● Terms and Utilities: /boot/grub/menu.lst grub-install MBR superblock
  • 32. 102.2 Install a boot manager (w-2) ● Lilo (“Linux Loader”) ● bootloader & command ● Grub (GRand Unified Bootloader) ● /boot/grub/menu.lst (grub1) ● /boot/grub/grub.cfg (grub2) ● Grub-install ● MBR backup ● -> 1e hd bepalen $ mount ● Bit-voor-bit copy dmv disk dump: $ sudo dd if=/dev/sda of=/root/backup.mbr bs=512 count=1
  • 33. 102.3 Manage shared libraries
  • 34. 102.3 Manage shared libraries (w-1) Candidates should be able to determine the shared libraries that executable programs depend on and install them when necessary. ● Key Knowledge Areas: ● Identify shared libraries ● Identify the typical locations of system libraries ● Load shared libraries ● Terms and Utilities: ldd ldconfig /etc/ld.so.conf LD_LIBRARY_PATH
  • 36. 102.4 Use Debian package management (w-3) Candidates should be able to perform package management using the Debian package tools. ● Key Knowledge Areas: ● Install, upgrade and uninstall Debian binary packages. ● Find packages containing specific files or libraries which may or may not be installed. ● Obtain package information like version, content, dependencies, package integrity and installation status (whether or not the package is installed). ● Terms and Utilities: /etc/apt/sources.list dpkg dpkg- reconfigure apt-get apt-cache aptitude
  • 37. 102.5 Use RPM and YUM package management
  • 38. 102.5 Use RPM and YUM package management (w-3) Candidates should be able to perform package management using RPM and YUM tools. ● Key Knowledge Areas: ● Install, re-install, upgrade and remove packages using RPM and YUM. ● Obtain information on RPM packages such as version, status, dependencies, integrity and signatures. ● Determine what files a package provides, as well as find which package a specific file comes from. ● Terms and Utilities: rpm rpm2cpio /etc/yum.conf /etc/yum.repos.d/ yum yumdownloader
  • 39. Vragen? Peter Martin e-mail: info at db8.nl website: www.db8.nl twitter: @pe7er
  • 40. Used Photos ● Penguin - Priit Kallas http://www.sxc.hu/photo/361999 ● note paper - ilker http://www.sxc.hu/photo/1266532 ● Motherboard 4 - Lisa Zanchi http://www.sxc.hu/photo/103914 ● power button - "gerard79" http://www.sxc.hu/photo/1009485 ● Runners - Meeting - Christophe Libert http://www.sxc.hu/photo/618947 ● hard disk - ilker http://www.sxc.hu/photo/1144734 ● Boys old boots with lace undone - Katerina Chuchuva http://www.sxc.hu/photo/1243521 ● lots of files 2 - Michael & Christa Richert http://www.sxc.hu/photo/1370555 ● Sparks - Hector Landaeta http://www.sxc.hu/photo/1184243 ● Fragile Parcel - Richard Dudley http://www.sxc.hu/photo/1279274