rhel5.3下配置yum源服务器
2010-02-24 11:37
477 查看
安装所需软件包
yum -y install httpd createrepo
若无法使用yum可以通过rpm -ivh xxx的方式来安装
启动apache服务
chkconfig --levle 3 httpd on
挂载光盘mount /dev/cdrom /media
将软件包拷贝到apache发布路径下
cp -R /media/Server/ /var/www/html/
使用createrepo工具创建更新源
createrepo -g /media/Server/repodata/comps-rhel5-server-core.xml /var/www/html/Server
客户端配置文件的书写
vi rhel-debuginfo.repo
[server]
name= Red Hat Enterprise Linix 5.3
baseurl=http://apache IP/Server
enabled=1
gpgcheck=0
常用使用方法
yum install [software name]
yum remove [software name]
yum update [software name]
yum list [software name]
yum -y install httpd createrepo
若无法使用yum可以通过rpm -ivh xxx的方式来安装
启动apache服务
chkconfig --levle 3 httpd on
挂载光盘mount /dev/cdrom /media
将软件包拷贝到apache发布路径下
cp -R /media/Server/ /var/www/html/
使用createrepo工具创建更新源
createrepo -g /media/Server/repodata/comps-rhel5-server-core.xml /var/www/html/Server
客户端配置文件的书写
vi rhel-debuginfo.repo
[server]
name= Red Hat Enterprise Linix 5.3
baseurl=http://apache IP/Server
enabled=1
gpgcheck=0
常用使用方法
yum install [software name]
yum remove [software name]
yum update [software name]
yum list [software name]
相关文章推荐
- RHEL6.5服务器本地yum源配置
- RHEL6.2服务器本地yum源配置
- RHEL4- FTP服务(三)配置匿名用户访问VSFTPD服务器
- RHEL配置YUM源
- RHEL6.3配置本地yum源
- RHEL/CentOS 7 中配置 PXE 网络启动服务器
- 配置RHEL6使用CentOS6的yum源
- 配置自己的yum源服务器
- RHEL5 Squid透明代理服务器配置过程解析(有路由的情况)
- 配置yum源服务器
- rhel5 配置yum源
- rhel5.3服务器安装centOS的yum源
- RHEL6 配置本地YUM源
- RHEL6.2配置本地yum源和第三方源
- RHEL 6.3 as 64bit 配置yum源
- rhel6配置本地yum源
- RHEL5.5下配置Centos的yum源(转)
- rhel5 配置yum源
- Linux(CenOS7与RHEL7)下的Apache HTTP 服务器 2.4.29的安装与配置
- rhel7.2软件安装及yum源配置