How can I modify the running level of Linux?

Source: Internet
Author: User
Article Title: how to modify the running level of Linux ?. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

When the operating level of Linux is 6, the system will be continuously restarted. I don't know what to do at this time ....

At this time, we can go to the single-user mode and modify it. Run-level files.

When Linux is started, read the file first. View the running level and start different resources at different running levels.

If it is the running level of Linux No. 5, the large graphic interface of starting X window should be loaded at startup. Startup will be much slower.

Level 2: multiple users without Networks

Level 4: User-Defined

If it is running level 3, it is not needed. The running speed is much faster than that at startup 5.

In addition, the graphic interface consumes a lot of memory resources.

If it is a constant restart, it must be 1 running level. Neither 3 nor 5.

Level 1 is not required to enter the system. Enter the account and password.

Let's take a look at the inittab configuration file.

It: 5: initdefault:

The default value is 5, which is the opposite of 3.

You can also run the runlevel command to view the running level of the system.

Then, change the default value to 6. reboot.

Log on to the system in single-user mode. Edit the/etc/inittab configuration file again. You can.

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.