转载自:http://www.linuxidc.com/Linux/2012-04/58877.htm
yum 源配置文件
/etc/yum.repos.d 目录下面
配置yum的样本
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=file:///home/Oracle/rh6.2/Server/ //镜像文件的具体路径
enabled=1 //是否要使用此镜像
gpgcheck=1 //也可以为0,代表是否要检查密钥,如果此处为0,可以省略gpgkey
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RedHat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[cdrom]
name=Red Hat Enterprise Linux2 $releasever - $basearch - Source
baseurl=file:///home/Oracle/rh6.2/Server/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RedHat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[rhel-source-beta]
name=Red Hat Enterprise Linux $releasever Beta - $basearch - Source
baseurl=file:///home/Oracle/rh6.2/Server #路径 /rh6.2里面是光盘里面的所有文件
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RedHat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release #类是获取系统版本或者证书的东东
注:以上三组镜像地址中,有一个可以正常使用即可
How to Install KDE in CentOS
by Stephen on October 22, 2009 · 9 comments
in CentOS
To install KDE Desktop, type this:
yum groupinstall "X Window System" "KDE (K Desktop Environment)"
To install Gnome Desktop, type this:
yum groupinstall "X Window System" "GNOME Desktop Environment"
After the installation is finished, type this to start KDE or GNOME:
startx
我用yum groupinstall "X Window System" "KDE*"