CentOS与Redhat桌面安装

可通过运行级别命令,查看当前启动级别。

# runlevel

3为命令行级别,5为桌面。

# 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:5:initdefault:
将id:3:initdefault:修改为id:5:initdefault:

CentOS与Redhat桌面安装_第1张图片

重启服务器即可。

# shutdown -r now



你可能感兴趣的:(Linux)