search
HomeOperation and MaintenanceCentOSHow to start and switch the graphical interface in centos7

The following column centos introductory tutorial will introduce to you how to start and switch the graphical interface of centos7. I hope it will be helpful to friends in need!

How to start and switch the graphical interface in centos7

##Installation graphical interface

The default is not A graphical interface will be installed, so you need to install it manually. The steps are as follows:

    Open the system and enter as root

  1. How to start and switch the graphical interface in centos7
  2. Install X (X Window System) , the command is as follows:
  3. 	yum groupinstall "X Window System"
    There are about more than 200 softwares, and complete will appear after the installation is completed! words. Then install the graphical interface software, GNOME (GNOME Desktop), the command is as follows:
  1. 	yum groupinstall "GNOME Desktop"
    Since this software group is much larger than the first one (containing about 800 software), the installation process It will be slower. Complete will appear when the installation is complete! words.
  1. After the installation is completed, we can enter the graphical interface through the command startx

  2. How to start and switch the graphical interface in centos7
Start the graphical interface after booting up

    First use ctrl alt f2 switches to the command line mode. If it is the command line mode, just follow the steps below
  1. Then enter the following command to view the current boot mode
  2. 	systemctl get-default
graphical.target represents boot Start the graphical interface when booting

multi-user.target represents starting the dos interface when booting

    Finally enter the following command to set the graphical interface to boot up
  1. 	systemctl set-default graphical.target
    In the same way, if you want to boot the dos interface, enter the following command
  1. 	systemctl set-default multi-user.target
Switch between dos interface and graphical interface shortcut keys

Graphic to dos: ctrl alt f2

dos Go to the graphics: Enter startx
or
on the command input init 3 command to switch to the dos interface
Enter init 5 command to switch to the graphical interface

The above is the detailed content of How to start and switch the graphical interface in centos7. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:csdn. If there is any infringement, please contact admin@php.cn delete
How to restart the server via command line in CentOS systemHow to restart the server via command line in CentOS systemMar 05, 2025 pm 03:30 PM

This article explains how to restart a CentOS server using the command-line reboot command. It emphasizes the importance of saving data and gracefully shutting down applications before using sudo reboot to avoid data loss. Potential risks, includin

How to restart the network service in centos8How to restart the network service in centos8Mar 05, 2025 pm 03:29 PM

This guide details methods for restarting network services in CentOS 8. It compares using systemctl (recommended for reliability) with ifdown/ifup (faster, less robust). Troubleshooting steps for network outages are also provided, covering connecti

How to shut down and restart centos7 shutdown and restart commandHow to shut down and restart centos7 shutdown and restart commandMar 05, 2025 pm 03:24 PM

This guide details safe shutdown and reboot methods for CentOS 7 servers. It emphasizes using the shutdown command for its flexibility and ability to schedule restarts, contrasting it with the less-flexible reboot and halt commands. Safe practices

What are the centos restart commandsWhat are the centos restart commandsMar 05, 2025 pm 03:28 PM

This article explains CentOS server reboot commands. It focuses on reboot for immediate restarts and shutdown -r for scheduled reboots, highlighting the differences and best practices for each. The main issue is providing clear instructions and con

How do I configure log rotation in CentOS?How do I configure log rotation in CentOS?Mar 17, 2025 pm 04:43 PM

The article explains how to configure log rotation in CentOS using logrotate, detailing installation, configuration, and benefits like disk space management and security.

Centos official website entranceCentos official website entranceMar 05, 2025 pm 03:32 PM

This article discusses the discontinuation of CentOS and its replacement by CentOS Stream. It details how to find information, downloads, and verify the integrity of CentOS Stream ISOs, now primarily hosted on the Red Hat website. Community support

How do I use Logical Volume Management (LVM) in CentOS to manage storage?How do I use Logical Volume Management (LVM) in CentOS to manage storage?Mar 17, 2025 pm 04:51 PM

The article discusses using Logical Volume Management (LVM) in CentOS for efficient storage management, detailing steps for setup, extension, and backup/restore processes, and highlighting LVM's advantages over traditional partitioning.

How do I install and configure MySQL/MariaDB on CentOS?How do I install and configure MySQL/MariaDB on CentOS?Mar 17, 2025 pm 04:35 PM

Article discusses installation, configuration, and troubleshooting of MySQL/MariaDB on CentOS, including system requirements and security measures.(159 characters)

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.