ubuntu10.04的默认运行级别设置文件是/etc/init/rc-sysinit.conf

在该文件中

# Default runlevel, this may be overriden on the kernel command-line
# or by faking an old /etc/inittab entry
env DEFAULT_RUNLEVEL=2     #本行就是设置默认运行级别为2。

ubuntu10.04server默认的运行级别为2。

ubuntu的不同版本的设置文件不同。与centos的相同运行级别的含义也有区别。

在centos5.x中默认运行级别设置文件是/etc/inittab

在该文件中
# Default runlevel. The runlevels used by RHS are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:  #本行设置默认运行级别为3

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2021-09-24
  • 2021-08-25
  • 2022-12-23
猜你喜欢
  • 2021-12-18
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2022-02-26
  • 2022-12-23
  • 2021-08-17
相关资源
相似解决方案