CentOS 7 Turn off the graphical desktop to open the text interface

Source: Internet
Author: User

follow the/etc/inittab internal instructions to make the following changes

#mv/etc/systemd/system/default.target/etc/systemd/system/default.target.bak (renamed Backup)
# ln-sf/lib/systemd/system/multi-user.target/etc/systemd/system/default.target (re-soft Connect text interface for startup default interface)
#systemctl reboot (restart)

Restore the graphical interface
#rm-rf/etc/systemd/system/default.target (Remove the current configuration link )
#mv/etc/systemd/system/default.target.bak/etc/systemd/system/default.target (Restore backup Configuration link)
#systemctl reboot (restart)


1, Command mode
Systemctl Set-default Multi-user.target


2, Graphics mode
Systemctl Set-default Graphical.target




In the Grub boot menu, edit the command line and add a parameter to the kernel to see: kernel/vmlinuz-xxx ro root=uuid=229da276-96cf-4c80-81a3-851954c15831xx lang= Zh_cn. UTF-8


Ps-ef | grep Phdns

Kill-s 9 PID

Cat/var/log/phddns.log



DMESG | More


Ps-aux


./phddns-c/etc/phlinux.conf-d


Mount-t iso9660/dev/cdrom/mnt


Tar zxf ddd.tar.gz

TAR-ZXVF dddd.tar.gz



Tcpdump-i emo-nv-t ICMP


echo "Blacklist i2c_piix4" >>/etc/modprobe.d/blacklist.conf


Mkdir-p 1/2/3/4


echo ' Export Lang=en_us. UFT-8 ' >> ~/.BASHRC


Systemctl Set-default Multi-user.target


Cat/var/log/boot.log

This article from "Vincent" blog, declined reprint!

CentOS 7 Turn off the graphical desktop to open the text interface

Related Article

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.