Linux Run Level

Source: Internet
Author: User

Minimal install default run level is 3

# RunLevel View the current operating level of the system

# Cat/etc/inittab Viewing the configuration file at run level

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/8B/62/wKiom1hLliKQXMohAACGBg2qT2Q381.png-wh_500x0-wm_3 -wmp_4-s_1485603302.png "style=" Float:none; "title=" 1.png "alt=" Wkiom1hllikqxmohaacgbg2qt2q381.png-wh_50 "/>

To modify the default run level

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/8B/5E/wKioL1hLliLz1rtkAADK_IbMR2w392.png-wh_500x0-wm_3 -wmp_4-s_754354337.png "style=" Float:none; "title=" 2.png "alt=" Wkiol1hllilz1rtkaadk_ibmr2w392.png-wh_50 "/>

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>

Operating level Description:

0-Shut down (never set as default)

1-Single user mode

2-Multi-user mode without NFS (Network file system)

3-Full multi-user mode

4-Reserved

5-x window, graphical user interface

6-reboot (never set as default)

such as: shutdown--init 0 = = Halt = = Shutdown-h (halt) now

Command-line mode--init 3

Desktop Mode--init 5 = = StartX (requires desktop installation)

Restart--init 6 = = REBOOT = Shutdown-r (reboot) now

Lines in which there is no comment:

Id:3:initdefualt:

Indicates that the default RunLevel at startup is level 3. Can be modified to 5 and start on desktop. Restart takes effect.

Note that the default level cannot be set to 0, which will not be able to be opened or set to 6, which will continue to restart.

If the minimal installation user wants to start the graphical user interface, some packages need to be installed using the Yum tool:

# Yum Grouplist (displays information such as installed, available installation, etc.)

# lang=en

# yum Grouplist

# yum Groupinstall-y "Desktop"

# yum groupinstall-y "X window"

# init 5 = = StartX

# RunLevel


Linux Run level

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.