centos5.10 64位 安装源配置
来源:互联网 发布:四轴雕刻机编程软件 编辑:程序博客网 时间:2024/05/21 10:28
将原有文件备份一下,然后重新编辑vim /etc/yum.repos.d/CentOS-Base.repo,下面是上海交大的源,如果是centos6的版本将内容的RPM-GPG-KEY-CentOS-5换成RPM-GPG-KEY-CentOS-6
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://ftp.sjtu.edu.cn/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#released updates
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
baseurl=http://ftp.sjtu.edu.cn/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
baseurl=http://ftp.sjtu.edu.cn/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
baseurl=http://ftp.sjtu.edu.cn/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
baseurl=http://ftp.sjtu.edu.cn/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
然后根据32或者64位导入,我用的是64位:
rpm --import http://ftp.sjtu.edu.cn/centos/5.11/os/x86_64/RPM-GPG-KEY-CentOS-5
rpm --import http://ftp.sjtu.edu.cn/centos/6.6/os/x86_64/RPM-GPG-KEY-CentOS-6
- centos5.10 64位 安装源配置
- centos5.10 64位安装配置svn
- centos5.6 64位下安装配置gearman
- CentOS5.4 64位 安装 10G 64位
- centos5 64位操作系统配置epel源方法
- Centos5配置yum源安装nginx
- centos5 amule 安装 配置
- centos5.5(64位)配置java环境变量,个人总结
- CentOS5.4 64/32位系统 ---源码安装mysql5.5
- CentOs5.4 64/32位系统 ---安装JDK1.6
- CentOs5.4 64/32位系统 ---安装Tomcat6
- 64位win7硬盘安装centos5.5记录
- CentOS5.4安装配置vsftpd
- CentOS5下oracle10g安装配置
- CentOS5下oracle10g安装配置
- centos5.* 安装配置DNS 问题
- CentOS5.5 FTP安装配置
- CentOS5.5(32位)安装MariaDB
- 关于SYSAUX表空间持续增长问题的排查
- Java程序员从笨鸟到菜鸟之(二)面向对象之封装,继承,多态(上)
- jsoncpp使用示例
- 记忆机理
- vb字符串操作
- centos5.10 64位 安装源配置
- 全面了解Windows 7系统的百余个服务
- python学习之装饰器
- Android存储访问及目录
- [android开发]天气预报项目的开发之数据接口与网络请求-1
- putty配色方案
- 移动平台的meta标签-----神奇的功效
- 琐碎的笔记
- 进程和线程的区别