Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1
Boot Phases
BIOS Initialization
Performs first POST
Hardware Boot If all H/W connectivity is correct gives a healthy beep.
Boot Strap Find s the device from where to boot :-
- Floppy
- CDrom
Boot Loader - Harddisk
Kernel
Init
Login Screen
2
Boot Phases
Hardware Boot
Active Partition 2 Bytes
Kernel
Stage 1 Stage 2
Login Screen
3
Boot Phases
Hardware Boot
Boot Loader
Init
Login Screen
4
Boot Phases
Hardware Boot
Boot Loader
Kernel
init 0 shutdown
init 1 single user mode
Login Screen init 2 multiuser mode + only text + No support for NFS
init 3 multiuser mode + only text + Full Support
for all services
init 4 (unused)
init 5 multiuser mode + text mode+ GUI +
Fullsupport for all services
init 6 restart or reboot 5
5
Boot Phases
Hardware Boot
Boot Loader
Kernel
Init
6
To Manage Services
To
Todisplay
displaystatus
statusofof all
allservices
services
[root@comp1 ~]#chkconfig
[root@comp1 ~]#chkconfig --list
--list
To
Todisplay
displaystatus
statusof
of particular
particularservice
service
[root@comp1
[root@comp1~]#chkconfig
~]#chkconfig --list
--listnetwork
network
To
Tochange
changeservices
servicesat
atcertain
certainRunlevel
Runlevel
[root@comp1
[root@comp1~]#chkconfig
~]#chkconfig --level
--level2345
2345 <service>
<service><on/off>
<on/off>
To
Tostart
start//stop
stopany
anyservice
service temporarily
temporarily
[root@comp1
[root@comp1~]#service
~]#service <service
<servicename>
name> <start/stop/restart>
<start/stop/restart>
7