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 [2026/06/05 01:16] 114.119.152.46 old revision restored (2014/02/10 02:06) |
notes:lpic-1_notes [2026/06/07 20:33] (current) 114.119.135.37 old revision restored (2014/02/13 01:31) |
||
|---|---|---|---|
| Line 56: | Line 56: | ||
| * Check boot events in the log file | * Check boot events in the log file | ||
| * Terms: / | * Terms: / | ||
| + | |||
| + | == 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) === | === 101.3 Change runlevels and shutdown or reboot system (LCN-4 CTL-5) === | ||
| Line 65: | Line 71: | ||
| * Knowledge of basic features of systemd and Upstart | * Knowledge of basic features of systemd and Upstart | ||
| * 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% ==== | ||