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.