Getting started with Linux: running level analysis
Source: Internet
Author: User
Getting started with Linux: run Level Analysis 1. view the current running level in Ubuntu, runlevel command can view the current running level; in CentOS, who-r command can view the current running level; www.2cto.com 2. set the startup level 1. ubuntu Method 1: In/etc/init/rc -...
Getting started with Linux: run Level Analysis 1. view the current running level in Ubuntu, runlevel command can view the current running level; in CentOS, who-r command can view the current running level; www.2cto.com 2. set the startup level 1. ubuntu Method 1: Set # Default runlevel in/etc/init/rc-sysinit.conf, this may be overriden on the kernel command-line # or by faking an old/etc/inittab entryenv DEFAULT_RUNLEVEL = 2 Method 2: Set 1 in/etc/inittab. ubuntu does not have this file by default, so create this File 2. add id: 3: initdefault: OK; www.2cto.com 2. in CentOS, set id: 3: initdefault: in/etc/inittab. 3. run-level parsing. 1. ubuntu0: Shutdown; 1: Single-user mode; 2-5: Multi-user mode; 6: Restart; www.2cto.com 2. centOS 0: Shutdown; 1: Single user; 2: Multi-user, no network; 3: Multi-user with network, but in text mode; 4: unused system; 5: graphic interface; 6: restart; author: xiazdong
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