Optimizing ubuntu-Modifying the boot level

Source: Internet
Author: User

A modified Ubuntu boot level

sudo apt-get install sysv-rc-conf

Perform:

Sysv-rc-conf

Hit X to start the boot.

Two boot levels

Ubuntu Default boot level is 2

[Email protected]:/etc/rc2.d# runlevel

N 2

Ubuntu Default boot RunLevel is 2, you can use RunLevel to view the current default run level.

The Debian system (Ubuntu is Debian based) Linux has been started by default with RunLevel, and runlevel definitions are also different from Redhat. The runlevel level of Debian is defined as follows:

0–halt, Shutdown mode

1–single, single-user mode

2-full Multi-User with Display Manager (GUI)

3-full Multi-User with Display Manager (GUI)

4-full Multi-User with Display Manager (GUI)

5-full Multi-User with Display Manager (GUI)

6–reboot, restart

You can see that there is no difference in the 2~5 level. They are multi-user mode, which is not the same as Linux in general. The runlevel level of Redhat is defined as follows:

0: Turn off the machine. The system default run level cannot be set to 0, otherwise it cannot be started.

1: Single user mode, only allow the root user to maintain the system.

2: Multi-user mode, but cannot use NFS (equivalent to a network Neighborhood under Windows)

3: Multi-user mode for character interface.

4: Not defined.

5: Multi-user mode for graphical interface.

6: Reboot. You cannot set the system default run level to 0, or it will restart all the time.

In addition, most Linux uses a mechanism called System V to start the runlevel, while Ubuntu initiates the process using upstart instead of Init. So there is no Inittab file to change the default runlevel. The default RunLevel file for Ubuntu is/etc/init/rc-sysinit.conf.

Optimizing ubuntu-Modifying the boot level

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.