- 浏览: 883088 次
文章分类
最新评论
-
mxdxm:
总结不错,赞
NoSQL学习笔记(三)之BigTable -
itbj00:
不错,有实际案例的文章,看着简单。
以公司实际应用讲解OpenStack到底是什么 -
追梦--:
赞一个!
数据库插入百万数据 -
enet_java:
<artifactId>PM_Member_EAR ...
使用maven2 打ear包
redhat6.3 64位更新源(使用网易源)全过程记录
本篇博客参考:http://chinaxiaoyu.diandian.com/post/2013-01-24/40046529897。首先在浏览器中输入http://tel.mirrors.163.com/centos/查看最新的版本,截止到今天是6.4,然后就使用6.4的源;
在目录http://tel.mirrors.163.com/centos/6.4/os/x86_64/Packages/下载下面的软件包:
使用rpm -Uvh --replacepkgs *.rpm --aid 进行安装:
[root@localhost matlab]# rpm -Uvh --replacepkgs *.rpm --aid warning: python-iniparse-0.3.1-2.1.el6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY Preparing... ########################################### [100%] 1:yum-metadata-parser ########################################### [ 25%] 2:python-iniparse ########################################### [ 50%] 3:yum-plugin-fastestmirro########################################### [ 75%] 4:yum ########################################### [100%]然后:
[root@localhost matlab]# cd /etc/yum.repos.d/ [root@localhost yum.repos.d]# rm -rf ./* [root@localhost yum.repos.d]# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo --2013-08-25 19:48:18-- http://mirrors.163.com/.help/CentOS6-Base-163.repo 正在解析主机 mirrors.163.com... 123.58.173.106 正在连接 mirrors.163.com|123.58.173.106|:80... 已连接。 已发出 HTTP 请求,正在等待回应... 200 OK 长度:2006 (2.0K) [application/octet-stream] 正在保存至: “CentOS6-Base-163.repo” 100%[==============================================>] 2,006 --.-K/s in 0.08s 2013-08-25 19:48:25 (23.1 KB/s) - 已保存 “CentOS6-Base-163.repo” [2006/2006]) [root@localhost yum.repos.d]# ls CentOS6-Base-163.repo编辑上面的文件vi CentOS6-Base-163.repo ,把$releasever替换为6.4,然后:
[root@localhost yum.repos.d]# yum clean all Loaded plugins: fastestmirror, product-id, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Cleaning repos: base extras updates Cleaning up Everything [root@localhost yum.repos.d]# yum makecache Loaded plugins: fastestmirror, product-id, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Determining fastest mirrors base | 3.7 kB 00:00 base/group_gz | 212 kB 00:00 base/filelists_db | 5.9 MB 00:31 base/primary_db base/other_db extras extras/filelists_db extras/prestodelta extras/primary_db extras/other_db updates updates/filelists_db updates/prestodelta updates/primary_db updates/other_db Metadata Cache Created然后使用:yum remove PackageKit
[root@localhost yum.repos.d]# yum remove PackageKit Loaded plugins: fastestmirror, product-id, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Setting up Remove Process Resolving Dependencies --> Running transaction check ---> Package PackageKit.x86_64 0:0.5.8-20.el6 will be erased --> Processing Dependency: PackageKit >= 0.5.0 for package: gnome-packagekit-2.28.3-3.el6.x86_64 --> Processing Dependency: PackageKit = 0.5.8-20.el6 for package: PackageKit-glib-0.5.8-20.el6.x86_64 --> Running transaction check ---> Package PackageKit-glib.x86_64 0:0.5.8-20.el6 will be erased --> Processing Dependency: libpackagekit-glib2.so.12()(64bit) for package: PackageKit-gstreamer-plugin-0.5.8-20.el6.x86_64 --> Processing Dependency: PackageKit-glib = 0.5.8-20.el6 for package: PackageKit-gstreamer-plugin-0.5.8-20.el6.x86_64 --> Processing Dependency: PackageKit-glib = 0.5.8-20.el6 for package: PackageKit-device-rebind-0.5.8-20.el6.x86_64 --> Processing Dependency: PackageKit-glib = 0.5.8-20.el6 for package: PackageKit-gtk-module-0.5.8-20.el6.x86_64 ---> Package gnome-packagekit.x86_64 0:2.28.3-3.el6 will be erased --> Running transaction check ---> Package PackageKit-device-rebind.x86_64 0:0.5.8-20.el6 will be erased ---> Package PackageKit-gstreamer-plugin.x86_64 0:0.5.8-20.el6 will be erased ---> Package PackageKit-gtk-module.x86_64 0:0.5.8-20.el6 will be erased --> Finished Dependency Resolution Dependencies Resolved ======================================================================================== Package Arch Version Repository Size ======================================================================================== Removing: PackageKit x86_64 0.5.8-20.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3 2.3 M Removing for dependencies: PackageKit-device-rebind x86_64 0.5.8-20.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3 231 k PackageKit-glib x86_64 0.5.8-20.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3 734 k PackageKit-gstreamer-plugin x86_64 0.5.8-20.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3 232 k PackageKit-gtk-module x86_64 0.5.8-20.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3 231 k gnome-packagekit x86_64 2.28.3-3.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3 7.9 M Transaction Summary ======================================================================================== Remove 6 Package(s) Installed size: 12 M Is this ok [y/N]: y
Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Warning: RPMDB altered outside of yum. ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows: rhn-check-1.0.0-87.el6.noarch has missing requires of yum-rhn-plugin >= ('0', '0.9.1', '35') Erasing : gnome-packagekit-2.28.3-3.el6.x86_64 1/6 Erasing : PackageKit-device-rebind-0.5.8-20.el6.x86_64 2/6 Erasing : PackageKit-gstreamer-plugin-0.5.8-20.el6.x86_64 3/6 Erasing : PackageKit-gtk-module-0.5.8-20.el6.x86_64 4/6 Erasing : PackageKit-0.5.8-20.el6.x86_64 5/6 Erasing : PackageKit-glib-0.5.8-20.el6.x86_64 6/6 Loading mirror speeds from cached hostfile Installed products updated. Verifying : PackageKit-glib-0.5.8-20.el6.x86_64 1/6 Verifying : gnome-packagekit-2.28.3-3.el6.x86_64 2/6 Verifying : PackageKit-gtk-module-0.5.8-20.el6.x86_64 3/6 Verifying : PackageKit-0.5.8-20.el6.x86_64 4/6 Verifying : PackageKit-device-rebind-0.5.8-20.el6.x86_64 5/6 Verifying : PackageKit-gstreamer-plugin-0.5.8-20.el6.x86_64 6/6 Removed: PackageKit.x86_64 0:0.5.8-20.el6 Dependency Removed: PackageKit-device-rebind.x86_64 0:0.5.8-20.el6 PackageKit-glib.x86_64 0:0.5.8-20.el6 PackageKit-gstreamer-plugin.x86_64 0:0.5.8-20.el6 PackageKit-gtk-module.x86_64 0:0.5.8-20.el6 gnome-packagekit.x86_64 0:2.28.3-3.el6 Complete!然后使用命令yum remove gnome-packagekit
Loaded plugins: fastestmirror, product-id, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Setting up Remove Process No Match for argument: gnome-packagekit Loading mirror speeds from cached hostfile Package(s) gnome-packagekit available, but not installed. No Packages marked for removal然后使用命令:yum install PackageKit
得到:
[root@localhost yum.repos.d]# yum install PackageKit Loaded plugins: fastestmirror, product-id, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Loading mirror speeds from cached hostfile Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package PackageKit.x86_64 0:0.5.8-21.el6 will be installed --> Processing Dependency: PackageKit-yum-plugin = 0.5.8-21.el6 for package: PackageKit-0.5.8-21.el6.x86_64 --> Processing Dependency: PackageKit-yum = 0.5.8-21.el6 for package: PackageKit-0.5.8-21.el6.x86_64 --> Processing Dependency: PackageKit-gtk-module = 0.5.8-21.el6 for package: PackageKit-0.5.8-21.el6.x86_64 --> Processing Dependency: PackageKit-glib = 0.5.8-21.el6 for package: PackageKit-0.5.8-21.el6.x86_64 --> Processing Dependency: libpackagekit-glib2.so.12()(64bit) for package: PackageKit-0.5.8-21.el6.x86_64 --> Running transaction check ---> Package PackageKit-glib.x86_64 0:0.5.8-21.el6 will be installed ---> Package PackageKit-gtk-module.x86_64 0:0.5.8-21.el6 will be installed ---> Package PackageKit-yum.x86_64 0:0.5.8-21.el6 will be installed ---> Package PackageKit-yum-plugin.x86_64 0:0.5.8-21.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ======================================================================================== Package Arch Version Repository Size ======================================================================================== Installing: PackageKit x86_64 0.5.8-21.el6 base 526 k Installing for dependencies: PackageKit-glib x86_64 0.5.8-21.el6 base 221 k PackageKit-gtk-module x86_64 0.5.8-21.el6 base 95 k PackageKit-yum x86_64 0.5.8-21.el6 base 156 k PackageKit-yum-plugin x86_64 0.5.8-21.el6 base 92 k Transaction Summary ======================================================================================== Install 5 Package(s) Total download size: 1.1 M Installed size: 3.9 M Is this ok [y/N]:出现下面的错误:
http://mirrors.163.com/centos/6.4/os/x86_64/Packages/PackageKit-0.5.8-21.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
修改源url 在mirrors前面加上 tel. 即可,如下:
Running Transaction Installing : PackageKit-yum-0.5.8-21.el6.x86_64 1/5 Installing : PackageKit-gtk-module-0.5.8-21.el6.x86_64 2/5 Installing : PackageKit-glib-0.5.8-21.el6.x86_64 3/5 Installing : PackageKit-0.5.8-21.el6.x86_64 4/5 Installing : PackageKit-yum-plugin-0.5.8-21.el6.x86_64 5/5 Installed products updated. Verifying : PackageKit-yum-plugin-0.5.8-21.el6.x86_64 1/5 Verifying : PackageKit-yum-0.5.8-21.el6.x86_64 2/5 Verifying : PackageKit-gtk-module-0.5.8-21.el6.x86_64 3/5 Verifying : PackageKit-glib-0.5.8-21.el6.x86_64 4/5 Verifying : PackageKit-0.5.8-21.el6.x86_64 5/5 Installed: PackageKit.x86_64 0:0.5.8-21.el6 Dependency Installed: PackageKit-glib.x86_64 0:0.5.8-21.el6 PackageKit-gtk-module.x86_64 0:0.5.8-21.el6 PackageKit-yum.x86_64 0:0.5.8-21.el6 PackageKit-yum-plugin.x86_64 0:0.5.8-21.el6 Complete!然后使用命令:yum install gnome-packagekit
得到:
[root@localhost yum.repos.d]# yum install gnome-packagekit Loaded plugins: fastestmirror, product-id, refresh-packagekit, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Loading mirror speeds from cached hostfile Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package gnome-packagekit.x86_64 0:2.28.3-7.el6 will be installed --> Processing Dependency: PackageKit-device-rebind >= 0.5.0 for package: gnome-packagekit-2.28.3-7.el6.x86_64 --> Running transaction check ---> Package PackageKit-device-rebind.x86_64 0:0.5.8-21.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ======================================================================================== Package Arch Version Repository Size ======================================================================================== Installing: gnome-packagekit x86_64 2.28.3-7.el6 base 2.5 M Installing for dependencies: PackageKit-device-rebind x86_64 0.5.8-21.el6 base 95 k Transaction Summary ======================================================================================== Install 2 Package(s) Total download size: 2.6 M Installed size: 8.1 M Is this ok [y/N]: y Downloading Packages: (1/2): PackageKit-device-rebind-0.5.8-21.el6.x86_64.rpm | 95 kB 00:01 (2/2): gnome-packagekit-2.28.3-7.el6.x86_64.rpm | 2.5 MB 00:10 ---------------------------------------------------------------------------------------- Total 198 kB/s | 2.6 MB 00:13 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : PackageKit-device-rebind-0.5.8-21.el6.x86_64 1/2 Installing : gnome-packagekit-2.28.3-7.el6.x86_64 2/2 Installed products updated. Verifying : gnome-packagekit-2.28.3-7.el6.x86_64 1/2 Verifying : PackageKit-device-rebind-0.5.8-21.el6.x86_64 2/2 Installed: gnome-packagekit.x86_64 0:2.28.3-7.el6 Dependency Installed: PackageKit-device-rebind.x86_64 0:0.5.8-21.el6 Complete!最后使用命令:yum update -y,然后就是378个文件的下载信息了
相关推荐
RedHat 6.3 工作站版本,很难得
redhat6.3_64位配置dns记录,新手学习红帽子的经典教程。
redhat 6.3镜像文件,对应linux系统2.6.32版本,一直再用,比较稳定。
Redhat6.3单机安装Oracle10g,注明相关缺失包问题。
自己下载的hadoop2.2源码,在redhat6.3x64位下编译
在redhat linux 6.3x64上安装oracle 11g RAC
详细的录制了LAMP的搭建过程,用使用了phpmyadmin管理mysql数据库,使用Discuz验证了lamp平台
redhat6.3 mongodb openssl
RedHat 6.3 平台下安装 Oracle 11G ,安装描述清晰,成功安装。
vbox+redhat6.3+oracle11gRAC安装文档详细图解安装过程
文字和界面详细描述红帽6.3安装过程,其中一些选择性的安装可根据自己使用情况进行选择。
RedHat_Linux6.3下Oracle_11g安装图解教程
redhat 企业版6.3安装kvm虚拟机
文档详细记录了安装的所有步骤和方法,附详细的英文版安装截图,方便使用。
Redhat 6.3中syslog信息丢失.docx
redhat linux 9.0网络配置
VMware11下调整redhat6.3的根目录(非LVM模式)
linux redhat 6.3版本 安装gcc 4.3.2合集(三合一)测试通过
Oracle 安装步骤: Redhat6.3 操作系统 详细描述了,数据库的安装。。
RedHat6.3安装oracle11GR2详细整理(针对初学linux者).pdf