02. 4.
今天帮一个朋友update系统时,发现其中一台server居然提示:
Transaction Check Error:
file /usr/lib/perl5/5.8.8/CGI.pm from install of perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5.8.8-32.el5_6.3.i386
file /usr/lib/perl5/5.8.8/Digest.pm from install of perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5.8.8-32.el5_6.3.i386
file /usr/share/man/man1/c2ph.1.gz from install of perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5.8.8-32.el5_6.3.i386
file /usr/share/man/man1/cpan.1.gz from install of perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5.8.8-32.el5_6.3.i386
file /usr/share/man/man1/dprofpp.1.gz from install of perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5.8.8-32.el5_6.3.i386
file /usr/share/man/man1/perlvms.1.gz from install of perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5.8.8-32.el5_6.3.i386
file /usr/share/man/man1/perlvos.1.gz from install of perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5.8.8-32.el5_6.3.i386
中间省略100行,都是关于perl的
阅读全文 »
01. 19.
1.事实上,很多时候会用到本地的yum服务器,不仅仅是因为国内的镜像少,速度慢,不连线到公网的机器有时候也有这个必要
2.本文是以实际环境为例,简单的说明一下配置情况,办法很土,呵呵
3.环境(CentOS 5 32位)
一台web服务器,在公网,内网ip是192.168.1.7
另外一台db服务器只在内网,ip是192.168.1.8
4.找一台速度较快的带rsync服务的镜像网站
从这里找:http://www.centos.org/modules/tinycontent/index.php?id=13
阅读全文 »
07. 31.
国外就不说了, 那个快呀~~~
如果你不幸租了一台国内的机器, 但是又不得不用centos的时候~~~~yum真是慢呀, 即时你安装了yum-fastestmirror也无济于事, 当你快要崩溃的时候, 我告诉你, 别这样, 孩子!
进入目录/etc/yum.repos.d/
阅读全文 »
hao32