中标麒麟6.5添加yum源安装软件
2018-03-20 15:24
507 查看
# more /etc/issue NeoKylin Linux Advanced Server release 6.5 (Beryllium) Kernel \r on an \m
系统版本
--------------------------------------------------------------
打开目录
cd /etc/yum.repos.d
修改local.repo[base]
name=CentOS-6 - Base - 163.com
baseurl=http://mirrors.163.com/centos/6/os/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=os
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6---------------------------------------------------------------------------------------
修改完成后 local.repo[base]
name=CentOS-6 - Base - 163.com
baseurl=http://mirrors.163.com/centos/6/os/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=os
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
CentOS-Base-163.repo
# 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-6 - Base - 163.com
baseurl=http://mirrors.163.com/centos/6/os/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=os
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
#released updates
[updates]
name=CentOS-6 - Updates - 163.com
baseurl=http://mirrors.163.com/centos/6/updates/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=updates
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
#additional packages that may be useful
[extras]
name=CentOS-6 - Extras - 163.com
baseurl=http://mirrors.163.com/centos/6/extras/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=extras
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-6 - Plus - 163.com
baseurl=http://mirrors.163.com/centos/6/centosplus/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=centosplus
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
#contrib - packages by Centos Users
[contrib]
name=CentOS-6 - Contrib - 163.com
baseurl=http://mirrors.163.com/centos/6/contrib/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=contrib
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
相关文章推荐
- Centos6.5添加163软件yum源
- 中标麒麟高级服务器6.0安装JDK、MYSQL
- Linux第五周学习笔记(1),rpm软件安装,yum源,yum仓库
- 添加额外的源, 使得yum可以安装更多的软件
- RHEL6.5安装multipath多路径软件
- CentOS 6.5安装Openldap添加memberof属性
- 任务八 yum源的配置与软件的yum安装
- RHEL5中无法添加安装软件的解决方法
- 中标麒麟高级服务器操作系统Yum源
- 项目二 任务八 YUM源的配置与软件的YUM安装
- 搭建本地yum源(用来安装软件)
- CentOS的很多软件的安装都需要先添加RPMforge
- Centos 6.5 FTP-配置-安装-添加用户-更改端口
- XenAPP6.5安装于部署(一)---添加角色
- 使用光盘建立redhat fedora centos等的本地yum源 安装光盘中的软件
- Ubuntu (GNU Debian)安装软件及添加软件源
- Ubuntu下将安装软件快捷方式添加到侧边栏
- Redhat 使用CentOS的yum源进行升级或软件安装
- Red Hat 6.5 安装163的 yum源
- 项目二 任务八 YUM源的配置与软件的YUM安装