免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: cctvkmn
打印 上一主题 下一主题

求助 RedHat5在图形界面做 添加删除软件包.... [复制链接]

论坛徽章:
0
11 [报告]
发表于 2008-08-14 11:19 |只看该作者
网上可以google到。

论坛徽章:
0
12 [报告]
发表于 2008-08-14 13:19 |只看该作者
1.mkdir /media/rhel

2.加载光驱复制到rhel

3. vi /etc/yum.repos.d/rhel-local.repo

4.[Cluster]
name=Red Hat Enterprise Linux $releasever - $basearch - Cluster
baseurl=file:///media/rhel/Cluster
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[ClusterStorage]
name=Red Hat Enterprise Linux $releasever - $basearch - ClusterStorage
baseurl=file:///media/rhel/ClusterStorage
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[Server]
name=Red Hat Enterprise Linux $releasever - $basearch - Server
baseurl=file:///media/rhel/Server
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[VT]
name=Red Hat Enterprise Linux $releasever - $basearch - VT
baseurl=file:///media/rhel/VT
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

5.mkdir -p /var/rhel/{Cluster,ClusterStorage,Server,VT}

6.rpm -vih /media/rhel/Server/createrepo-0.4.4-2.fc6.noarch.rpm

7.createrepo -o /var/rhel/Cluster -g /media/rhel/Cluster/repodata/comps-rhel5-cluster.xml /media/rhel/Cluster

8.createrepo -o /var/rhel/ClusterStorage -g /media/rhel/ClusterStorage/repodata/comps-rhel5-cluster-st.xml /media/rhel/ClusterStorage

9.createrepo -o /var/rhel/Server -g /media/rhel/Server/repodata/comps-rhel5-server-core.xml /media/rhel/Server

10.createrepo -o /var/rhel/VT -g /media/rhel/VT/repodata/comps-rhel5-vt.xml /media/rhel/VT

11.mount --bind /var/rhel/Cluster/repodata /media/rhel/Cluster/repodata

12.mount --bind /var/rhel/ClusterStorage/repodata /media/rhel/ClusterStorage/repodata

13.mount --bind /var/rhel/Server/repodata /media/rhel/Server/repodata

14.mount --bind /var/rhel/VT/repodata /media/rhel/VT/repodata

15.[root@rhel5 rhel5]# yum clean all
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Cleaning up Everything

16.[root@rhel5 rhel5]# system-config-packages(或者)



注意。。16或者15二选一。。


一定可以。。还有问题可以去我博客留言。。
yayi.biz

论坛徽章:
0
13 [报告]
发表于 2008-08-14 15:03 |只看该作者
解决方法其实就是两个:

第一个,做本地的yum仓库并且能够从本地升级或者yum list;
第二个,如果你是红帽商业用户,则需要将服务器注册到红帽官方网站

招聘 : 技术支持/维
论坛徽章:
0
14 [报告]
发表于 2010-01-23 10:33 |只看该作者

回复 #1 cctvkmn 的帖子

application里有add/remove packages
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP