CentOS 6.x 安装图形界面

CentOS 6.x 安装图形界面

一、首先查看系统的运行级别以及是否安装了桌面环境

1、使用命令 runlevel 查看当前系统运行级别

[root@42 ~]# runlevel
N 3

2、使用命令 yum grouplist | more  查看是否安装了桌面环境的组件

# yum grouplist | more

There is no installed groups file.


CentOS 6.0之后的版本命令是【 yum groupinstall “Desktop” -y 】;

# yum groupinstall -y   "Desktop"   "Desktop Platform"   "Desktop Platform Development" "Fonts" "General Purpose Desktop" "Graphical Administration Tools" "Graphics Creation Tools" "Input Methods" "X Window System" "Chinese Support [zh]" "Internet Browser"

vi  /etc/inittab

# id:3:initdefault
# 将3改为5

id:5:initdefault

保存后重新启动系统.

# yum grouplist | more

Installed Groups:
   Additional Development
   Compatibility libraries
   Console internet tools
   Desktop
   Desktop Debugging and Performance Tools
   Desktop Platform
   Desktop Platform Development

posted @ 2020-05-24 16:19  tamatama  阅读(471)  评论(0编辑  收藏  举报
GO TOP