如何给CentOS7安装图形界面

版本说明

CentOS Linux release 7.4.1708 (Core)

安装图形界面

  1. 在终端运行命令安装X Window System

    yum groupinstall "X Window System"
  2. 安装图形界面软件,GNOME(GNOME Desktop)

    yum groupinstall "GNOME Desktop" 
  3. 进入图形界面

    startx

安装中文支持

  1. 安装中文语言包:

    yum groupinstall "Chinese Support" -y
  2. 修改系统默认语言为中文

    localectl set-locale LANG=zh_CN.UTF-8
  3. 重启系统即可

修改图形界面为默认启动方式

命令行输入命令后重启系统

systemctl set-default graphical.target

猜你喜欢

转载自blog.csdn.net/wang465745776/article/details/80161153