Red Hat Enterprise Linux Server是应用广泛的Linux发行版本,提供强大的命令行模式和图形界面模式两种操作界面。
图形界面在近年来被越来越多地应用在linux系统中,但是由于图形界面需要占用系统大量的内存和CPU资料,对于服务器而言,高效率是最重要的,因此,大多数linux系统管理员都习惯使用字符界面来管理linux服务器。
由于Red Hat Enterprise Linux Server采用图形界面安装时默认启动自动转入图形界面,如果想在启动的时候自动进入命令行模式,可以使用编辑“/etc/inittab”文件,找到“id:5:initdefault:”,将该名5改为3,这样以后linux系统启动时会进入字符界面。
[code="java"]
# vim /etc/inittab
#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#
# 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)
图形界面在近年来被越来越多地应用在linux系统中,但是由于图形界面需要占用系统大量的内存和CPU资料,对于服务器而言,高效率是最重要的,因此,大多数linux系统管理员都习惯使用字符界面来管理linux服务器。
由于Red Hat Enterprise Linux Server采用图形界面安装时默认启动自动转入图形界面,如果想在启动的时候自动进入命令行模式,可以使用编辑“/etc/inittab”文件,找到“id:5:initdefault:”,将该名5改为3,这样以后linux系统启动时会进入字符界面。
[code="java"]
# vim /etc/inittab
#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#
# 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)