🗂

LPIC-2 Overview

2024/02/06に公開

Introduction

  • I will update this post until I pass this exam
  • Show a partial list of the used files, terms and utilities

LPIC-2 201

https://www.lpi.org/our-certifications/exam-201-objectives

Topic 200: Capacity Planning

200.1 Measure and Troubleshoot Resource Usage (weight: 6)

iostat
iotop
vmstat
netstat
ss
iptraf
pstree, ps
w
lsof
top
htop
uptime
sar
swap
processes blocked on I/O
blocks in
blocks out

200.2 Predict Future Resource Needs (weight: 2)

diagnose
predict growth
resource exhaustion

Topic 201: Linux Kernel

201.1 Kernel components (weight: 2)

/usr/src/linux/
/usr/src/linux/Documentation/
zImage
bzImage
xz compression

201.2 Compiling a Linux kernel (weight: 3)

mkinitrd
mkinitramfs
make
make targets (all, config, xconfig, menuconfig, gconfig, oldconfig, mrproper, zImage, bzImage, modules, modules_install, rpm-pkg, binrpm-pkg, deb-pkg)
gzip
bzip2
module tools
/usr/src/linux/.config
/lib/modules/kernel-version/
depmod
dkms

201.3 Kernel runtime management and troubleshooting (weight: 4)

/lib/modules/kernel-version/modules.dep
module configuration files in /etc/
/proc/sys/kernel/
/sbin/depmod
/sbin/rmmod
/sbin/modinfo
/bin/dmesg
/sbin/lspci
/usr/bin/lsdev
/sbin/lsmod
/sbin/modprobe
/sbin/insmod
/bin/uname
/usr/bin/lsusb
/etc/sysctl.conf, /etc/sysctl.d/
/sbin/sysctl
udevmonitor
udevadm monitor
/etc/udev/

Topic 202: System Startup

202.1 Customising system startup (weight: 3)

/usr/lib/systemd/
/etc/systemd/
/run/systemd/
systemctl
systemd-delta
/etc/inittab
/etc/init.d/
/etc/rc.d/
chkconfig
update-rc.d
init and telinit

202.2 System recovery (weight: 4)

mount
fsck
inittab, telinit and init with SysV init
The contents of /boot/, /boot/grub/ and /boot/efi/
EFI System Partition (ESP)
GRUB
grub-install
efibootmgr
UEFI shell
initrd, initramfs
Master boot record
systemctl

202.3 Alternate Bootloaders (weight: 2)

syslinux
extlinux
isolinux.bin
isolinux.cfg
isohdpfx.bin
efiboot.img
pxelinux.0
pxelinux.cfg/
uefi/shim.efi
uefi/grubx64.efi

Topic 203: Filesystem and Devices

203.1 Operating the Linux filesystem (weight: 4)

/etc/fstab
/etc/mtab
/proc/mounts
mount and umount
blkid
sync
swapon
swapoff

203.2 Maintaining a Linux filesystem (weight: 3)

mkfs (mkfs.)
mkswap
fsck (fsck.
)
tune2fs, dumpe2fs and debugfs
btrfs, btrfs-convert
xfs_info, xfs_check, xfs_repair, xfsdump and xfsrestore
smartd, smartctl

203.3 Creating and configuring filesystem options (weight: 2)

/etc/auto.master
/etc/auto.[dir]
mkisofs
cryptsetup

Topic 204: Advanced Storage Device Administration

204.1 Configuring RAID (weight: 3)

mdadm.conf
mdadm
/proc/mdstat
partition type 0xFD

204.2 Adjusting Storage Device Access (weight: 2)

hdparm, sdparm
nvme
tune2fs
fstrim
sysctl
/dev/hd*, /dev/sd*, /dev/nvme*
iscsiadm, scsi_id, iscsid and iscsid.conf
WWID, WWN, LUN numbers

204.3 Logical Volume Manager (weight: 3)

/sbin/pv*
/sbin/lv*
/sbin/vg*
mount
/dev/mapper/
lvm.conf

Topic 205: Networking Configuration

205.1 Basic networking configuration (weight: 3)

ip
ifconfig
route
arp
iw
iwconfig
iwlist

205.2 Advanced Network Configuration (weight: 4)

ip
ifconfig
route
arp
ss
netstat
lsof
ping, ping6
nc
tcpdump
nmap

205.3 Troubleshooting network issues (weight: 4)

ip
ifconfig
route
ss
netstat
/etc/network/, /etc/sysconfig/network-scripts/
ping, ping6
traceroute, traceroute6
mtr
hostname
System log files such as /var/log/syslog, /var/log/messages and the systemd journal
dmesg
/etc/resolv.conf
/etc/hosts
/etc/hostname, /etc/HOSTNAME
/etc/hosts.allow, /etc/hosts.deny

Topic 206: System Maintenance

206.1 Make and install programs from source (weight: 2)

/usr/src/
gunzip
gzip
bzip2
xz
tar
configure
make
uname
install
patch

206.2 Backup operations (weight: 3)

/bin/sh
dd
tar
/dev/st* and /dev/nst*
mt
rsync

/etc/issue
/etc/issue.net
/etc/motd
wall
shutdown
systemctl

LPIC-2 202

https://www.lpi.org/our-certifications/exam-202-objectives

Topic 207: Domain Name Server

207.1 Basic DNS server configuration (weight: 3)

/etc/named.conf
/var/named/
rndc
named-checkconf
kill
host
dig

207.2 Create and maintain DNS zones (weight: 3)

/var/named/
zone file syntax
resource record formats
named-checkzone
named-compilezone
masterfile-format
dig
nslookup
host

207.3 Securing a DNS server (weight: 2)

/etc/named.conf
/etc/passwd
DNSSEC
dnssec-keygen
dnssec-signzone

Topic 208: HTTP Services

208.1 Basic Apache configuration (weight: 4)

access logs and error logs
.htaccess
httpd.conf
mod_auth_basic, mod_authz_host and mod_access_compat
htpasswd
AuthUserFile, AuthGroupFile
apachectl, apache2ctl
httpd, apache2

208.2 Apache configuration for HTTPS (weight: 3)

Apache2 configuration files
/etc/ssl/, /etc/pki/
openssl, CA.pl
SSLEngine, SSLCertificateKeyFile, SSLCertificateFile
SSLCACertificateFile, SSLCACertificatePath
SSLProtocol, SSLCipherSuite, ServerTokens, ServerSignature, TraceEnable

208.3 Implementing Squid as a caching proxy (weight: 2)

squid.conf
acl
http_access

208.4 Implementing Nginx as a web server and a reverse proxy (weight: 2)

/etc/nginx/
nginx

Topic 209: File Sharing

209.1 Samba Server Configuration (weight: 5)

smbd, nmbd, winbindd
smbcontrol, smbstatus, testparm, smbpasswd, nmblookup
samba-tool
net
smbclient
mount.cifs
/etc/samba/
/var/log/samba/

209.2 NFS Server Configuration (weight: 3)

/etc/exports
exportfs
showmount
nfsstat
/proc/mounts
/etc/fstab
rpcinfo
mountd
portmapper

Topic 210: Network Client Management

210.1 DHCP configuration (weight: 2)

dhcpd.conf
dhcpd.leases
DHCP Log messages in syslog or systemd journal
arp
dhcpd
radvd
radvd.conf

210.2 PAM authentication (weight: 3)

/etc/pam.d/
pam.conf
nsswitch.conf
pam_unix, pam_cracklib, pam_limits, pam_listfile, pam_sss
sssd.conf

210.3 LDAP client usage (weight: 2)

ldapsearch
ldappasswd
ldapadd
ldapdelete

210.4 Configuring an OpenLDAP server (weight: 4)

slapd
slapd-config
LDIF
slapadd
slapcat
slapindex
/var/lib/ldap/
loglevel

Topic 211: E-Mail Services

211.1 Using e-mail servers (weight: 4)

Configuration files and commands for postfix
/etc/postfix/
/var/spool/postfix/
sendmail emulation layer commands
/etc/aliases
mail-related logs in /var/log/

211.2 Managing E-Mail Delivery (weight: 2)

Conditions and comparison operators
keep, fileinto, redirect, reject, discard, stop
Dovecot vacation extension

211.3 Managing Mailbox Access (weight: 2)

/etc/dovecot/
dovecot.conf
doveconf
doveadm

Topic 212: System Security

212.1 Configuring a router (weight: 3)

/proc/sys/net/ipv4/
/proc/sys/net/ipv6/
/etc/services
iptables
ip6tables

212.2 Managing FTP servers (weight: 2)

vsftpd.conf
important Pure-FTPd command line options

212.3 Secure shell (SSH) (weight: 4)

ssh
sshd
/etc/ssh/sshd_config
/etc/ssh/
Private and public key files
PermitRootLogin, PubKeyAuthentication, AllowUsers, PasswordAuthentication, Protocol

212.4 Security tasks (weight: 3)

telnet
nmap
fail2ban
nc
iptables

212.5 OpenVPN (weight: 2)

/etc/openvpn/
openvpn

Discussion