---
title: "redhat 6.2 yun group安装 KDE桌面"
author: "foolraty"
date: "2012-04-11T11:09:02Z"
tags: []
categories: ["操作系统"]
slug: "redhat-6-2-yun-group-kde"
draft: false
lastmod: "2014-08-26T13:55:19Z"
id: 1483158
url: "https://foolraty.iteye.com/blog/1483158"
---

yum 源配置文件
/etc/yum.repos.d  目录下面
配置yum的样本

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

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


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*"
<span style="color:red">用 yum grouplist 查看所有安装组</span>
<span style="color:red">用yum search vnc 搜索包</span>

使用光盘源

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 这样下载
而且光盘版本要跟当前系统的版本完全一致