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
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*”