CentOS7 modify startup interface

Source: Internet
Author: User
Before CentOS 7, you can modify the id: 5: initdefault: in the/etc/inittab to change the startup mode. However, this parameter is not specified in CentOS 7, view more/etc/inittab # inittabisnolongerusedwhenusing1_emd. # ADDI

Modify the startup interface

In the/etc/inittab

Id: 5: initdefault:

To change the startup mode, but this item does not exist in centos7.

More/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 ta

Rgets:

#

# 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. ta

Rget

 

The file already specifies the operations to be performed to change the method

You only need Modify it to the corresponding one.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.