Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1120932
  • 博文数量: 113
  • 博客积分: 2422
  • 博客等级: 大尉
  • 技术积分: 1393
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-25 17:54
文章分类
文章存档

2016年(1)

2014年(8)

2013年(7)

2012年(13)

2011年(42)

2010年(26)

2009年(6)

2008年(6)

2007年(4)

我的朋友

分类: LINUX

2010-11-12 14:16:44

红帽企业Linux 5,如何在system-config-kickstart配置系统的软件包组?


通常情况下,没有system-config-kickstart软件包组列表。但可以使用下列步骤来设定 system-config-kickstart的软件包组。

操作步骤如下:

 

创建一个目录,如/data,并复制红帽企业Linux 5安装光盘的所有文件的目录中创建这种情况下/数据。
添加yum repository:

cd /etc/yum.repos.d

 

接着

touch core.repo


编辑/etc/yum.repos.d/core.repo包含以下内容:

[core]

name=core

baseurl=file:///data/Server  #这个可以是光盘的mount点

enabled=1

gpgcheck=0

 

 

运行一下:system-config-kickstart,应该会成功找到包的关联关系.可以进行定制安装包了.

 

英文原文如下:

 

How do you setup a package group list for system-config-kickstart in Red Hat Enterprise Linux 5?

Normally, there is no package group list for system-config-kickstart. However, you can use the following steps to setup system-config-kickstart to have a package group.

 

Create a directory, for example /data, and copy all files from the Red Hat Enterprise Linux 5 installation discs to the directory you created, in this case /data.

Add a yum repository:

 

cd /etc/yum.repos.d

 

Then

 

touch core.repo

 

 

Edit /etc/yum.repos.d/core.repo to contain the following:

 

[core]

name=core

baseurl=file:///data/Server

enabled=1

gpgcheck=0

阅读(4857) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-11-14 14:46:00

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com