标签:list star server epo ble nbsp inittab dir efault
redhat6.2默认不安装GUI,启动时默认进入text模式,下面介绍下安装、配置GUI的步骤:
1、登录root
2、配置及测试yum
vi /etc/yum.repos.d/rhel-source.repo
--第一节不修改
--修改第二节如下三项
baseurl=file:///media/cdrom/Server
enabled=1
gpgcheck=0
--测试yum
yum list
3、配置cdrom
cd /media/
mkdir cdrom
mount /dev/cdrom /media/cdrom
4、安装相应包
yum install xorg*
yum groupinstall "X Window System"
yum groupinstall Desktop
yum groupinstall "Desktop Platform"
5、启动GUI
init 5
或
startx
6、修改默认启动GUI
vi /etc/inittab
id:3:initdefault:->id:5:initdefault:
7、重启系统
reboot
or
init 6
标签:list star server epo ble nbsp inittab dir efault
原文地址:https://www.cnblogs.com/lhdz_bj/p/8778367.html