Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
notes:lpic-1_notes [2014/02/09 21:26] smthng [107 Administrative Tasks 20%] |
notes:lpic-1_notes [2014/03/03 01:49] (current) smthng [102 Installation and Package Management 18%] |
||
---|---|---|---|
Line 5: | Line 5: | ||
==== 101 System Architecture 14% ==== | ==== 101 System Architecture 14% ==== | ||
- | === 101.1 Determine and Configure hardware settings (LCN-1 CTL-3) === | + | === 101.1 Determine and Configure hardware settings (LCN-3 CTL-3) === |
* Enable and disable integrated peripherals | * Enable and disable integrated peripherals | ||
* Configure systems with or without external peripherals such as keyboards | * Configure systems with or without external peripherals such as keyboards | ||
Line 17: | Line 17: | ||
* Terms: /sys, /proc, /dev, modprobe, lsmod, lspci, lsusb | * Terms: /sys, /proc, /dev, modprobe, lsmod, lspci, lsusb | ||
- | === 101.2 Boot the System (LCN-2 CTL-5) === | + | == Notes == |
+ | |||
+ | * BIOS - Basic I/O System - systim init, memory testing, low-level system-config, | ||
+ | * /proc fs is kernel' | ||
+ | * Universal Serial Bus (USB) | ||
+ | * //lsusb [-t] [-vv] // - t-tree view, vv-very verbose | ||
+ | * Open Host Controller Interface (OHCI) - USB 1.1 | ||
+ | * Universal Host Controller Interface (UHCI) - USB 1.1 - 12 MBps - low+full speed | ||
+ | * Enhanced Host Controller Interface (EHCI) - USB 2.0 - 480 MBps - high speed | ||
+ | * Extensible Host Controller Interface (XHCI) - USB 3.0 - 4 GBps - super speed | ||
+ | * Wireless Host Controller Interface (WHCI) - Wireless USB 1.0 - 480 MBps | ||
+ | * Effective speed is lowest speed of device, cable and hub | ||
+ | * Classes of USB devices : | ||
+ | * Human Interface Device (HID) - Input devices: mice, keyboards, etc.) | ||
+ | * Communications device - Modems | ||
+ | * Mass storage device - Disk devices, flash readers, etc. | ||
+ | * Audio - Sound devices | ||
+ | * IrDA - Infrared devices | ||
+ | * Printer - Printers and USB-to-parallel cables | ||
+ | * Linux kernel supported USB in v2.3.x, backported to 2.2.18 | ||
+ | * Linux drivers may be host controller drivers (e.g. usb-ohci.o), | ||
+ | * usbcore.o -> host controller driver -> class/ | ||
+ | * Modularized USB drivers are loaded by the generic / | ||
+ | * //lsdev// - shows hardware including IRQ info, I/O ports and DMA channels | ||
+ | * //lspci [-t] [-vv]// - info about system’s PCI buses and installed PCI devices | ||
+ | * A module is dynamically linked into the running kernel when it is loaded | ||
+ | * // | ||
+ | * //modprobe [-r] [-a] [-t type]// - list, insert or remove modules. Does dependency checking. | ||
+ | * //lsmod// - list modules //modinfo module-object-file.o// | ||
+ | * sysfs is a RAM-based filesystem derived from ramfs. It provides a means to export kernel data structures to user space. // mount -t sysfs sysfs /sys// | ||
+ | * The udev process uses sysfs info to create dynamic device files as kernel modules are loaded. /etc/udev.d holds rules to be applied when adding or removing a device. | ||
+ | * D-Bus is an IPC system that uses sysfs to implement a message bus daemon used for broadcasting system events e.g.“new device added” or “printer queue changed”. | ||
+ | * hal was a hw abstraction layer (hw access API) on top of udev using D-Bus. It has been deprecated and rolled into udev and the kernel. | ||
+ | |||
+ | === 101.2 Boot the System (LCN-4 CTL-5) === | ||
* Provide common commands to the boot loader and options to the kernel at boot time | * 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 | * Demonstrate knowledge of the boot sequence from BIOS to boot completion | ||
Line 23: | Line 57: | ||
* Terms: / | * Terms: / | ||
- | === 101.3 Change runlevels and shutdown or reboot system (LCN-2 CTL-5) === | + | == Notes == |
+ | * Boot Loader (LILO or GRUB) launches the linux kernel, passing kernel parameters if needed (/ | ||
+ | * Module options (as well as aliases and post-install and pre-remove actions) are stored in / | ||
+ | * //dmesg// displays kernel messages logged at last system boot. | ||
+ | * // / | ||
+ | |||
+ | === 101.3 Change runlevels and shutdown or reboot system (LCN-4 CTL-5) === | ||
* Set the default run level | * Set the default run level | ||
* Change between run levels including single user mode | * Change between run levels including single user mode | ||
Line 32: | Line 72: | ||
* Terms: / | * Terms: / | ||
+ | == Notes == | ||
+ | * When linux boots, first process is the //init// process which selects and switches to default runlevel. | ||
+ | * Runlevels - 0=shutdown, 1/ | ||
+ | * On Debian, 2 is default and 3,5 are not used. On Redhat, 3 is the default. | ||
+ | * /etc/rc script to change runlevels on redhat (also init/ | ||
+ | * / | ||
+ | * / | ||
+ | * /etc/init.d contains startup/ | ||
+ | * /etc/rc0.d - /etc/rc6.d contain softlinks KNNservice or SNNservice specifying whether to start or stop services and in what order for that runlevel (done by init process). Kills done before starts. | ||
+ | * / | ||
+ | * // | ||
+ | * //shutdown [options] time [warning message]// | ||
==== 102 Installation and Package Management 18% ==== | ==== 102 Installation and Package Management 18% ==== | ||
- | === 102.1 Design hard disk layout (Chapter | + | === 102.1 Design hard disk layout (LCN-5 CTL-3) === |
* Allocate filesystems and swap space to separate partitions or disks | * Allocate filesystems and swap space to separate partitions or disks | ||
* Tailor the design to the intended use of the system | * Tailor the design to the intended use of the system | ||
Line 41: | Line 93: | ||
* Terms: / (root) filesystem, /var filesystem, /home filesystem, swap space, mount points, partitions | * Terms: / (root) filesystem, /var filesystem, /home filesystem, swap space, mount points, partitions | ||
- | === 102.2 Install a boot manager (Chapter | + | ==Notes== |
+ | |||
+ | * choosing a disk layout for linux depends on amount of disk space, purpose of the system, size of the system and backup strategy. Some general guidelines are | ||
+ | * If diskspace is limited, just /boot, / and /swap | ||
+ | * /boot is a separate 50MB partition because older kernels/ | ||
+ | * For larger systems keep / smaller/ | ||
+ | * Can use separate partitions for /var (to isolate system logs), /tmp (to isolate tempfiles), /home (for backup and RAIDing of user's data) | ||
+ | * Using a separate partition for /usr allows it to be shared via read-only NFS which allows for saving space and easier maintenance of apps/ | ||
+ | * Superblock on filesystem contains critical metadata so multiple redundant copies are kept. | ||
+ | * Filesystems must be mounted (listed in filesystem table) before being accessible. /etc/fstab is a list of filesystems to mount on boot up. | ||
+ | * Master Boot Record on first 512 bytes of first sector of disk contains info on partitions and bootup. Can be backed up and restored with < | ||
+ | dd if=/dev/hda of=~/ | ||
+ | dd if=~/ | ||
+ | </ | ||
+ | * To backup/ | ||
+ | sfdisk -d /dev/hda > partition_backup.txt | ||
+ | sfdisk /dev/hda < partition_backup.txt | ||
+ | </ | ||
+ | * Linux may also be booted from Live USB which allows for persistent modifications. If the BIOS does nto support this, a bootable CD can be used first. | ||
+ | * Swap space allows main memory to be temporarily copied to disk. As a starting point set swap to twice the memory size (at least the same size). | ||
+ | |||
+ | === 102.2 Install a boot manager (LCN-5 CTL-5) === | ||
* Providing alternative boot locations and backup boot options | * Providing alternative boot locations and backup boot options | ||
* Install and configure a boot loader such as GRUB Legacy | * Install and configure a boot loader such as GRUB Legacy | ||
Line 48: | Line 121: | ||
* Terms: / | * Terms: / | ||
- | === 102.3 Manage shared libraries (Chapter | + | ==Notes== |
+ | * BIOS looks for and runs boot loader from first specified boot device. | ||
+ | * Boot loader find and loads specified kernel (with specified kernel options) which loads required modules and starts system processes. | ||
+ | * LILO is a 2-stage program | ||
+ | * First stage is in 512-byte MBR or in the boot sector of a partition (if it is a secondary boot loader). | ||
+ | * Second stage is in / | ||
+ | * Map file locating kernel is in /boot/map | ||
+ | * //lilo// command reads / | ||
+ | * GRUB is a multi-stage boot loader, more flexible than LILO. | ||
+ | * Changes take effect immediately. | ||
+ | * (hd0,1) -> 2nd partition on the 1st hard disk. Refers only to the order of the disks as seen by the BIOS so order may change if BIOS boot order is changed. | ||
+ | * // | ||
+ | * Grub command-line expects a specific order of commands to boot kernel < | ||
+ | grub> kernel / | ||
+ | grub> initrd / | ||
+ | grub> boot</ | ||
+ | |||
+ | === 102.3 Manage shared libraries (LCN-5 CTL-2) === | ||
* Identify shared libraries | * Identify shared libraries | ||
* Identify the typical locations of system libraries | * Identify the typical locations of system libraries | ||
Line 54: | Line 144: | ||
* Terms: ldd, ldconfig, / | * Terms: ldd, ldconfig, / | ||
- | === 102.4 Use Debian package management (Chapter | + | ==Notes== |
+ | * Most programs on Linux use common system libraries. | ||
+ | * These can be statically linked into the program at compile-time - more disk, more memory, slower. | ||
+ | * Or can be dynamically loaded at runtime (shared libraries) - shared memory, smaller disksize, faster. | ||
+ | * //ldd// can be used to display required shared libraries for an executable | ||
+ | * Dynamically linked executables are examined at runtime by the shared object dynamic linker, //ld.so// | ||
+ | * // | ||
+ | * $LD_LIBRARY_PATH env variable can also be used | ||
+ | |||
+ | === 102.4 Use Debian package management (LCN-5 CTL-2) === | ||
* Install, upgrade and uninstall Debian binary packages | * Install, upgrade and uninstall Debian binary packages | ||
* Find packages containing specific files or libraries which may or may not be installed | * Find packages containing specific files or libraries which may or may not be installed | ||
Line 60: | Line 159: | ||
* Terms: / | * Terms: / | ||
- | === 102.5 Use RPM and YUM package management (Chapter | + | ==Notes== |
+ | * .deb package names - pkgname_version-revision_arch.deb . version is typically major.minor.patchlevel e.g ncurses4_4.2.3-9_i386.deb | ||
+ | * //dpkg// operates directly on //.deb// packages | ||
+ | * uses / | ||
+ | * -i=install -r=remove --purge=purge | ||
+ | * -E=do not overwrite with same version or older | ||
+ | * -G=do not overwrite with older package version | ||
+ | * -l=list matching installed packages -L=list files from package | ||
+ | * -s=status of package -S=search for file in installed packages | ||
+ | * //apt-get// uses package names and sources and resolves dependencies | ||
+ | * -d=download only -s=simulate -y=assume yes | ||
+ | * install, remove, update (sources), upgrade (all packages), dist-upgrade (to new OS version) | ||
+ | * uses / | ||
+ | * //dselect// is a menu-based interface to //dpkg// | ||
+ | * //alien// converts other package types to .deb packages (or to rpm with -r) e.g. Slackware/ | ||
+ | |||
+ | === 102.5 Use RPM and YUM package management (LCN-5 CTL-2) === | ||
* Install, re-install, upgrade and remove packages using RPM and YUM | * Install, re-install, upgrade and remove packages using RPM and YUM | ||
* Obtain information on RPM packages such as version, status, dependencies, | * Obtain information on RPM packages such as version, status, dependencies, | ||
* Determine what files a package provides, as well as find which package a specific file comes from | * Determine what files a package provides, as well as find which package a specific file comes from | ||
* Terms: rpm, rpm2cpio, / | * Terms: rpm, rpm2cpio, / | ||
+ | ==== 103 GNU / Unix Commands 43% ==== | ||
- | ==== 103 GNU / Unix Commands 43% | + | === 103.1 Work on the command line (LCN-6 CTL-1) === |
- | + | ||
- | === 103.1 Work on the command line (Chapter | + | |
* Use single shell commands and one line command sequences to perform basic tasks on the command line | * Use single shell commands and one line command sequences to perform basic tasks on the command line | ||
* Use and modify the shell environment including defining, referencing and exporting environment variables | * Use and modify the shell environment including defining, referencing and exporting environment variables | ||
Line 75: | Line 189: | ||
* Terms: ., bash, echo, env, exec, export, pwd, set, unset, man, uname, history | * Terms: ., bash, echo, env, exec, export, pwd, set, unset, man, uname, history | ||
- | === 103.2 Process text streams using filters (Chapter | + | === 103.2 Process text streams using filters (LCN-6 CTL-1) === |
* Send text files and output streams through text utility filters to modify the output | * Send text files and output streams through text utility filters to modify the output | ||
* Using standard UNIX commands found in the GNU textutils package | * Using standard UNIX commands found in the GNU textutils package | ||
* Terms: cat, cut, expand, fmt, head, od, join, nl, paste, pr, sed, sort, split, tail, tr, unexpand, uniq, wc | * Terms: cat, cut, expand, fmt, head, od, join, nl, paste, pr, sed, sort, split, tail, tr, unexpand, uniq, wc | ||
- | === 103.3 Perform basic file management (Chapter | + | === 103.3 Perform basic file management (LCN-6 CTL-4) === |
* Copy, move and remove files and directories individually | * Copy, move and remove files and directories individually | ||
* Copy multiple files and directories recursively | * Copy multiple files and directories recursively | ||
Line 89: | Line 203: | ||
* Terms: cp, find, mkdir, mv, ls, rm, rmdir, touch, tar, cpio, dd, file, gzip, gunzip, bzip2, file globbing | * Terms: cp, find, mkdir, mv, ls, rm, rmdir, touch, tar, cpio, dd, file, gzip, gunzip, bzip2, file globbing | ||
- | === 103.4 Use streams, pipes and redirects (Chapter | + | === 103.4 Use streams, pipes and redirects (LCN-6 CTL-1) === |
* Redirecting standard input, standard output and standard error | * Redirecting standard input, standard output and standard error | ||
* Pipe the output of one command to the input of another command | * Pipe the output of one command to the input of another command | ||
Line 96: | Line 210: | ||
* Terms: tee, xargs | * Terms: tee, xargs | ||
- | === 103.5 Create, monitor and kill processes (Chapter | + | === 103.5 Create, monitor and kill processes (LCN-6 CTL-2) === |
* Run jobs in the foreground and background | * Run jobs in the foreground and background | ||
* Signal a program to continue running after logout | * Signal a program to continue running after logout | ||
Line 104: | Line 218: | ||
* Terms: &, bg, fg, jobs, kill, nohup, ps, top, free, uptime, killall | * Terms: &, bg, fg, jobs, kill, nohup, ps, top, free, uptime, killall | ||
- | === 103.6 Modify process execution priorities (Chapter | + | === 103.6 Modify process execution priorities (LCN-6 CTL-2) === |
* Know the default priority of a job that is created | * Know the default priority of a job that is created | ||
* Run a program with higher or lower priority than the default | * Run a program with higher or lower priority than the default | ||
Line 110: | Line 224: | ||
* Terms: nice, ps, renice, top | * Terms: nice, ps, renice, top | ||
- | === 103.7 Search text files using regular expressions (Chapter | + | === 103.7 Search text files using regular expressions (LCN-6 CTL-1) === |
* Create simple regular expressions containing several notational elements | * Create simple regular expressions containing several notational elements | ||
* Use regular expression tools to perform searches through a filesystem or file content | * Use regular expression tools to perform searches through a filesystem or file content | ||
* The following is a partial list of the used files, terms and utilities: grep, egrep, fgrep, sed, regex(7) | * The following is a partial list of the used files, terms and utilities: grep, egrep, fgrep, sed, regex(7) | ||
- | === 103.8 Perform basic file editing operations using vi (Chapter | + | === 103.8 Perform basic file editing operations using vi (LCN-6 CTL-5) === |
* Navigate a document using vi | * Navigate a document using vi | ||
* Use basic vi modes | * Use basic vi modes | ||
Line 123: | Line 237: | ||
==== 104 Devices, Filesystems, | ==== 104 Devices, Filesystems, | ||
- | === 104.1 Create partitions and filesystems (Chapter | + | === 104.1 Create partitions and filesystems (LCN-7 CTL-3) === |
* Use various mkfs commands to set up partitions and create various filesystems such as: ext2, ext3, xfs, reiserfs v3, vfat | * Use various mkfs commands to set up partitions and create various filesystems such as: ext2, ext3, xfs, reiserfs v3, vfat | ||
* Terms: fdisk, mkfs, mkswap | * Terms: fdisk, mkfs, mkswap | ||
- | === 104.2 Maintain the integrity of filesystems (Chapter | + | === 104.2 Maintain the integrity of filesystems (LCN-7 CTL-3) === |
* Verify the integrity of filesystems | * Verify the integrity of filesystems | ||
* Monitor free space and inodes | * Monitor free space and inodes | ||
Line 133: | Line 247: | ||
* Terms: du, df, fsck, e2fsck, mke2fs, debugfs, dumpe2fs, tune2fs, xfs tools (such as xfs_metadump and xfs_info) | * Terms: du, df, fsck, e2fsck, mke2fs, debugfs, dumpe2fs, tune2fs, xfs tools (such as xfs_metadump and xfs_info) | ||
- | === 104.3 Control mounting and unmounting of filesystems (Chapter | + | === 104.3 Control mounting and unmounting of filesystems (LCN-7 CTL-3) === |
* Manually mount and unmount filesystems | * Manually mount and unmount filesystems | ||
* Configure filesystem mounting on bootup | * Configure filesystem mounting on bootup | ||
Line 139: | Line 253: | ||
* Terms: /etc/fstab, /media, mount, umount | * Terms: /etc/fstab, /media, mount, umount | ||
- | === 104.4 Manage disk quotas (Chapter | + | === 104.4 Manage disk quotas (LCN-7 CTL-4) === |
* Set up a disk quota for a filesystem | * Set up a disk quota for a filesystem | ||
* Edit, check and generate user quota reports | * Edit, check and generate user quota reports | ||
* Terms: quota, edquota, repquota, quotation | * Terms: quota, edquota, repquota, quotation | ||
- | === 104.5 Manage file permissions and ownership (Chapter | + | === 104.5 Manage file permissions and ownership (LCN-7 CTL-4) === |
* Manage access permissions on regular and special files as well as directories | * Manage access permissions on regular and special files as well as directories | ||
* Use access modes such as suid, sgid and the sticky bit to maintain security | * Use access modes such as suid, sgid and the sticky bit to maintain security | ||
Line 151: | Line 265: | ||
* Terms: chmod, umask, chown, chgrp | * Terms: chmod, umask, chown, chgrp | ||
- | === 104.6 Create and change hard and symbolic links (Chapter | + | === 104.6 Create and change hard and symbolic links (LCN-7 CTL-4) === |
* Create links | * Create links | ||
* Identify hard and/or soft links | * Identify hard and/or soft links | ||
Line 158: | Line 272: | ||
* Terms: ln | * Terms: ln | ||
- | === 104.7 Find system files and place files in the correct location (Chapter | + | === 104.7 Find system files and place files in the correct location (LCN-7 CTL-4) === |
* Understand the correct locations of files under the FHS | * Understand the correct locations of files under the FHS | ||
* Find files and commands on a Linux system | * Find files and commands on a Linux system | ||
Line 168: | Line 282: | ||
==== 105 Shells, Scripting and Data Management 17% ==== | ==== 105 Shells, Scripting and Data Management 17% ==== | ||
- | === 105.1 Customize and use the shell environment (Chapter | + | === 105.1 Customize and use the shell environment (LCN-13 CTL-9) === |
* Set environment variables (e.g., PATH) at login or when spawning a new shell | * Set environment variables (e.g., PATH) at login or when spawning a new shell | ||
* Write BASH functions for frequently used sequences of commands | * Write BASH functions for frequently used sequences of commands | ||
Line 175: | Line 289: | ||
* Terms: / | * Terms: / | ||
- | === 105.2 Customize or write simple scripts (Chapter | + | === 105.2 Customize or write simple scripts (LCN-13 CTL-9) === |
* Use standard sh syntax (loops, tests) | * Use standard sh syntax (loops, tests) | ||
* Use command substitution | * Use command substitution | ||
Line 184: | Line 298: | ||
* Terms: for, while, test, if, read, seq | * Terms: for, while, test, if, read, seq | ||
- | === 105.3 SQL data management (Chapter | + | === 105.3 SQL data management (LCN-13 CTL-9) === |
* Use of basic SQL commands | * Use of basic SQL commands | ||
* Perform basic data manipulation | * Perform basic data manipulation | ||
Line 191: | Line 305: | ||
==== 106 User Interfaces and Desktops 8% ==== | ==== 106 User Interfaces and Desktops 8% ==== | ||
- | === 106.1 Install and configure X11 (Chapter | + | === 106.1 Install and configure X11 (LCN-14 CTL-6) === |
* Verify that the video card and monitor are supported by an X server | * Verify that the video card and monitor are supported by an X server | ||
* Awareness of the X font server | * Awareness of the X font server | ||
Line 197: | Line 311: | ||
* Terms: / | * Terms: / | ||
- | === 106.2 Setup a display manager (Chapter | + | === 106.2 Setup a display manager (LCN-14 CTL-6) === |
* Turn the display manager on or off | * Turn the display manager on or off | ||
* Change the display manager greeting | * Change the display manager greeting | ||
Line 204: | Line 318: | ||
* Terms: / | * Terms: / | ||
- | === 106.3 Accessibility (Chapter | + | === 106.3 Accessibility (LCN-14 CTL-6) === |
* Keyboard Accessibility Settings (AccessX) | * Keyboard Accessibility Settings (AccessX) | ||
* Visual Settings and Themes | * Visual Settings and Themes | ||
* Assistive Technology (ATs) | * Assistive Technology (ATs) | ||
* Terms: Sticky/ | * Terms: Sticky/ | ||
+ | |||
==== 107 Administrative Tasks 20% ==== | ==== 107 Administrative Tasks 20% ==== | ||
- | === 107.1 Manage user and group accounts and related system files (Chapter | + | === 107.1 Manage user and group accounts and related system files (LCN-15 CTL-7) === |
* Add, modify and remove users and groups | * Add, modify and remove users and groups | ||
* Manage user/group info in password/ | * Manage user/group info in password/ | ||
Line 217: | Line 332: | ||
* Terms: / | * Terms: / | ||
- | === 107.2 Automate system administration tasks by scheduling jobs (Chapter | + | === 107.2 Automate system administration tasks by scheduling jobs (LCN-15 CTL-9) === |
* Manage cron and at jobs | * Manage cron and at jobs | ||
* Configure user access to cron and at services | * Configure user access to cron and at services | ||
* Terms: / | * Terms: / | ||
- | === 107.3 Localization and internationalization (Chapter | + | === 107.3 Localization and internationalization (LCN-15 CTL-6) === |
* Locale settings | * Locale settings | ||
* Timezone settings | * Timezone settings | ||
Line 229: | Line 344: | ||
==== 108 Essential System Services 17% ==== | ==== 108 Essential System Services 17% ==== | ||
+ | === 108.1 Maintain system time (LCN-16 CTL-7) === | ||
+ | * Set the system date and time | ||
+ | * Set the hardware clock to the correct time in UTC | ||
+ | * Configure the correct timezone | ||
+ | * Basic NTP configuration | ||
+ | * Knowledge of using the pool.ntp.org service | ||
+ | * Terms: / | ||
+ | |||
+ | === 108.2 System logging (LCN-16 CTL-7) === | ||
+ | * Syslog configuration files | ||
+ | * syslog standard facilities, priorities and actions | ||
+ | * Terms: syslog.conf, | ||
+ | |||
+ | === 108.3 Mail Transfer Agent (MTA) basics (LCN-17 CTL-9) === | ||
+ | * Create e-mail aliases | ||
+ | * Configure e-mail forwarding | ||
+ | * Knowledge of commonly available MTA programs (postfix, sendmail, qmail, exim) (no configuration) | ||
+ | * Terms: ~/.forward, sendmail emulation layer commands, newaliases, mail, mailq, postfix, sendmail, exim, qmail | ||
+ | |||
+ | === 108.4 Manage printers and printing (LCN-18 CTL-6) === | ||
+ | * Basic CUPS configuration (for local and remote printers) | ||
+ | * Manage user print queues | ||
+ | * Troubleshoot general printing problems | ||
+ | * Add and remove jobs from configured printer queues | ||
+ | * Terms: CUPS configuration files, tools and utilities; /etc/cups; lpd legacy interface (lpr, lprm, lpq) | ||
==== 109 Networking Fundamentals 23% ==== | ==== 109 Networking Fundamentals 23% ==== | ||
+ | === 109.1 Fundamentals of internet protocols (LCN-19 CTL-8) === | ||
+ | * Demonstrate an understanding network masks | ||
+ | * Knowledge of the differences between private and public “dotted quad” IP-Addresses | ||
+ | * Setting a default route | ||
+ | * Knowledge about common TCP and UDP ports (20, 21, 22, 23, 25, 53, 80, 110, 119, 139, 143, 161, 443, 465, 993, 995) | ||
+ | * Knowledge about the differences and major features of UDP, TCP and ICMP | ||
+ | * Knowledge of the major differences between IPv4 and IPV6 | ||
+ | * Knowledge of the basic features of IPv6 | ||
+ | * Terms: / | ||
+ | |||
+ | === 109.2 Basic network configuration (LCN-20 CTL-8) === | ||
+ | * Manually and automatically configure network interfaces | ||
+ | * Basic TCP/IP host configuration | ||
+ | * Terms: / | ||
+ | |||
+ | === 109.3 Basic network troubleshooting (LCN-21 CTL-8) === | ||
+ | * Manually and automatically configure network interfaces and routing tables | ||
+ | * Including adding, starting, stopping, restarting, deleting or reconfiguring network interfaces | ||
+ | * Change, view or configure the routing table and correct an improperly set default route manually | ||
+ | * Debug problems associated with the network configuration | ||
+ | * Terms: ifconfig, ifup, ifdown, route, host, hostname, dig, netstat, ping, traceroute | ||
+ | |||
+ | === 109.4 Configure client side DNS (LCN-20 CTL-8) === | ||
+ | * Demonstrate the use of DNS on the local system | ||
+ | * Modify the order in which name resolution is done | ||
+ | * Terms: /etc/hosts, / | ||
==== 110 Security 15% ==== | ==== 110 Security 15% ==== | ||
+ | === 110.1 Perform security administration tasks (LCN-22 CTL-10) === | ||
+ | * Audit a system to find files with the suid/sgid bit set | ||
+ | * Set or change user passwords and password aging information | ||
+ | * Being able to use nmap and netstat to discover open ports on a system | ||
+ | * Set up limits on user logins, processes and memory usage | ||
+ | * Basic sudo configuration and usage | ||
+ | * Terms: find, passwd, lsof, nmap, chage, netstat, sudo, / | ||
+ | |||
+ | === 110.2 Setup host security (LCN-23 CTL-10) === | ||
+ | * Awareness of shadow passwords and how they work | ||
+ | * Turn off network services not in use | ||
+ | * Understand the role of TCP wrappers | ||
+ | * Terms: / | ||
+ | |||
+ | === 110.3 Securing data with encryption (LCN-24 CTL-10) === | ||
+ | * Perform basic OpenSSH 2 client configuration and usage | ||
+ | * Understand the role of OpenSSH 2 server host keys | ||
+ | * Perform basic GnuPG configuration and usage | ||
+ | * Understand SSH port tunnels (including X11 tunnels) | ||
+ | * Terms: ssh, ssh-keygen, ssh-agent, ssh-add, ~/ |