202.1 Customising system startup and boot processes
| Weight | 4 |
|---|---|
| Description | Candidates should be able to query and modify the behaviour of system services at various run levels. A thorough understanding of the init structure and boot process is required. This objective includes interacting with runlevels. |
Key Knowledge Areas
- Linux Standard Base Specification (LSB) – Conjunto de padrões que aumentarão a compatibilidade entre distribuições Linux.
The following is a partial list of the used files, terms and utilities:
- /etc/inittab – Define quais processos serão iniciados no boot (id:runlevels:action:process).
- /etc/init.d/ – Onde fica os scripts de inicialização dos serviços. (System-V (debian)).
- /etc/rc.d/ – Onde fica os scripts de inicialização dos serviços. (BSD (redhat)).
- chkconfig – Ferramenta para administração de inicialização dos serviços. (BSD)
- chkconfig –list <nome>
- chkconfig –add <nome>
- chkconfig –del <nome>
- chkconfig [--level <níveis>] <nome> <on|off|reset|resetpriorities>
- update-rc.d – Ferramenta para administração de inicialização dos serviços (System-V).
- update-rc.d [-n] [-f] <nome> remove
- update-rc.d [-n] <nome> defaults [NN | SS KK]
- update-rc.d [-n] <nome> start|stop NN runlvl [runlvl] [...] .
- update-rc.d [-n] <nome> disable|enable [S|2|3|4|5]
- -n: not really (apenas testa o comando sem afetar o sistema)
- -f: force (força a remoção dos links mesmo que o script ainda exista)
202.2 System recovery
| Weight | 4 |
|---|---|
| Description | Candidates should be able to properly manipulate a Linux system during both the boot process and during recovery mode. This objective includes using both the init utility and init-related kernel options. |
Key Knowledge Areas
- inittab – Descreve o processo de inicialização normal do boot.
- GRUB – É um multi-carregador de um sistema operacional (boot-loader).
- grub shell – Área de comandos interativos do grub.
The following is a partial list of the used files, terms and utilities:
Pingback: Rumo ao LPIC-2 « Diorgenes Felipe Grzesiuk