306 Part II . Getting Around in Linux (Msn web hosting)

306 Part II . Getting Around in Linux Table 8-5 Red Hat Runlevels Runlevel Function 0 Changing to this runlevel causes the system to halt. 1 Takes the system to single-user mode, which is normally used for troubleshooting. 2 Multiuser, but no networking support. 3 The standard runlevel for networked multiuser text login. 4 Undefined. 5 The standard runlevel for multiuser GUI login. 6 Reboots the system. Exam Tip The runlevel can be changed using either init or telinit. Debian has the same configuration for runlevels 0, 1, and 6. But, by default the normal runlevel used to boot the system for text or GUI is 2, and the rest are undefined. The undefined runlevels are free for the user to set up as they wish. Any of the run- levels can be modified as well. The runlevel of the system can be changed with the init and telinitcommands. For example, to change to runlevel 2 you would use either of the following: debian:~# init 2 or debian:~# telinit 2 Tip The telinit command is actually a link to /sbin/init, to provide for compat ibility with other UNIX systems. The shutdown and reboot commands are also used to change the runlevels. They take the system to runlevel 0, 1, or 6. Table 8-6 shows the command-line options for shutdown. The syntax for the shutdown command is as follows: /sbin/shutdown [-t sec] [-arkhncfF] time [warning-message]
If you are in need for chaep and reliable webhost to host your website, our recommendation is http web server services.

Leave a Reply