Today installed the formal version of RHEL7, found that the familiar inittab does not modify the default running level, open inittab as follows [root@localhostinit.d] # vi/etc/inittab # tabs. # addingconfigurationherewillhavenow.tonyours
Today, the official version of RHEL7 is installed, and the default running level is not modified in the familiar inittab. Open the inittab as follows:
[Root @ localhost init. d] # vi/etc/inittab
# Inittab is no longer used when using systemd.
#
# Adding configuration here will have no effect on your system.
#
# Ctrl-Alt-Delete is handled by/etc/systemd/system/ctrl-alt-del.target
#
# Define EMD uses 'targets' instead of runlevels. By default, there are two main targets:
#
# Multi-user.target: analogous to runlevel 3
# Graphical.tar get: analogous to runlevel 5
#
# To set a default target, run:
#
# Ln-sf/lib/systemd/system/ . Target/etc/systemd/system/default.tar get
No familiar id: 5: initdefault in the middle
RHEL7 uses systemd to create a symbolic link pointing to the default running level.
The modification method is as follows:
1. delete an existing Symbolic Link
----------------------------------------------------------------------------------
Rm/etc/systemd/system/default.tar get
----------------------------------------------------------------------------------
2. The default level is 3 (text mode)
----------------------------------------------------------------------------------
Ln-sf/lib/systemd/system/multi-user.target/etc/systemd/system/default.tar get
----------------------------------------------------------------------------------
Or the default level is 5 (graphic mode)
----------------------------------------------------------------------------------
Ln-sf/lib/systemd/system/graphical.tar get/etc/systemd/system/default.tar get
----------------------------------------------------------------------------------
3. Restart
----------------------------------------------------------------------------------
Reboot
----------------------------------------------------------------------------------
Red Hat Enterprise Linux 7 Users download http://www.linuxidc.com/Linux/2014-06/102998.htm now
RHEL 6.3 installation tutorial graphic details http://www.linuxidc.com/Linux/2014-05/101845.htm
Red Hat Linux 7.0 installation illustrationHttp://www.linuxidc.com/Linux/2014-06/103190.htm
For more information about RedHat, see RedHat topic page http://www.linuxidc.com/topicnews.aspx? Tid = 10
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-07/104073.htm