redhat 6.2 yun group安装 KDE桌面

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*"
用 yum grouplist 查看所有安装组
用yum search vnc 搜索包

使用光盘源
[iso]
enabled = 1
name = iso
baseurl = http://yourserver:8080/Server/
gpgcheck = 0
地址http://yourserver:8080/Server/下映射的是iso光盘server目录里面的所有的文件
就是说光盘server目录下的文文件都能通过
http://yourserver:8080/Server/acl-2.2.39-6.el5.x86_64.rpm 这样下载
而且光盘版本要跟当前系统的版本完全一致

你可能感兴趣的:(redhat)