Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1463348
  • 博文数量: 823
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 5002
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-28 17:39
文章分类

全部博文(823)

文章存档

2011年(1)

2008年(822)

我的朋友

分类: LINUX

2008-08-28 17:45:07

 
VPS上装的CentOS是4.1的,上面的PHP和MySQL包都是4的,想要升级它们非常困难,自己又不想用源码安装,主要是源码安装以后有更改的话懒得重编译。今天偶然发现一个叫CentOSPlus的东西,嘿嘿,正好解了我的燃眉之急。

介绍:centosplus是centos的一部分,这个仓库的存在是为了保证centos对新软件的支持,当然这个仓库里面的软件也不是很新,它只是一个折中的方案。要使用这个仓库里面的软件请使用yum–enablerepo=centosplus在此次yum中打开这个仓库。如果你对yum的配置文件比较熟悉的话可以去/etc/yum.repos.d/修改他们。

官方解释:

TheCentOSPlusRepository

ThisrepositoryisforitemsthatactuallyupgradecertainbaseCentOS
componets.ThisrepowillchangeCentOStonotbeexactlylikethe
upstreamproviderscontent.

TheCentOSdevelopementteamhastestedeveryiteminthisrepo,and
theybuildandworkunderCentOS-4.Theyhavenotbeentestedbythe
upstreamprovider,andarenotavailableintheupstreamproducts.

Youshouldunderstandthatuseofthesecomponentsremovesthe100%
binarycompatibilitywiththeupstreamproducts.Thatsaid,hereis
whatisavailableinthisrepo.

Inthebelowdescriptions,theexactversioninghasbeenreplacedwith
x’s…asthisisgenericinformation.SeetheactualRPMdirectories
intheARCHthatyouareinterestedinforthelatestversionofeach
ofthepackagesforthatspecificARCH.

Everyeffortwillbemadetokeepthesefilesupdated,BUTthemain
CentOSdistrowillbeupdatedfirst,andthesefileswillbeupdated
afterthemaindistroupdateshavebeencompletedandpushed.This
shouldnotcauseaconsiderabledelay,andnormallyupdatesshould
becompletedonthesamedayasinthemaindistro.Youmightwant
toexcludeanypackagesfromthe[base]and[updates]sectionofyour
/etc/yum.repos.d/CentOS-Base.repofilelikethis:

exclude=php*kernel*postfix*

Ifyoudothattothe[updates]and[base]sectionforpackagesyou
installfromtheCentOSPlusrepo,youwon’taccidentallygetupdates
fromthemaintree.

————————-
php-5.x.x-x.centos4
————————-
Thisisphp-5forCentOS-4.Itreplacesthephp-4.3.9thatiscurrently
inCentOS-4.Inordertoupgradeacurrentphp-4install,youmust
removephp-domxmlfirstandthend

yum–enablerepo=centosplusupgradephp*

ortodoandinstall,usethiscommand:

yum–enablerepo=centosplus–exclude=php-domxmlinstallphp*

(orinstallindividuallythefilesthatyouneed)

————————————-
postfix-2.x.x-x.x.RHEL4.mysql.centos4
————————————-
ThisisPostfixcompiledwithmysqlsupportsothatyoucanuseaMySQL
databaseforbothusernamesandtoholdmail.Ifyouneedmysqlsupport
foryourpostfixmailserver,youcanupgradeacurrentlyinstalled
versionlikethis:

yum–enablerepo=centosplusupgradepostfix*

ordoaninstalllikethis:

yum–enablerepo=centosplusinstallpostfix*

———————————-
kernel-2.6.x-x.x.x.xxx.plus.c4
———————————-
Thisisakernelthathasmanyoftheoptionsandmodulesturnedonwhich
areturnedoffbydefaultintheupstreamproviderskernels.Alistof
someoftheitemsthatthisKernelincludesare:

FileSystems:
NTFS(readandwrite)
XFS(readandwrite)
JFS(readandwrite)
ReiserFS(readandwrite)
UFS{BSDdefaultFS}(readonly)
BeOSFS(readonly)
AFS(readonly)

HardwareModules:
AllUSB
AllFirewire
AllSCSI
Video4LinuxandallVideo,AudioandRadiomodules

IPX,DECNET,netwarefilemountsupport,abilitytowritetoaWindows
DynamicPartition.Thereareotheritemsaswell.Seethislinkfor
theactualconfigfilesusedtobuildthelatestunsupportedkernel:



Note:Startingwithkernel-2.6.9-42.x.x.plus.c4,xfs-kernel-modulesis
providedforthecentospluskernelsandthestandardcentoskernels.
ThesemodulesarenewerXFScodefromSGIthanthestandard2.6.9
modulesincludedintheCentOSkernel.
———————
FileSystemUtilities
———————
Becauseoftheaddedfilesystemsupportfortheabovekernel,wehave
alsoaddedtoolstocreateXFS,JFSandReiserFSpartitionsandmake
filesystemsonthosepartitions.HerearethepackagesforeachFS:

XFS:
dmapi
dmapi-devel
xfsdump
xfsprogs
xfsprogs-devel

JFS:
jfsutils

ReiserFS:
reiserfs-utils

Thanks,
TheCentOSDevelopmentTeam

用centosplus更新CentOS用centosplus更新CentOS用centosplus更新CentOS用centosplus更新CentOS用centosplus更新CentOS用centosplus更新CentOS用centosplus更新CentOS用centosplus更新CentOS用centosplus更新CentOS用centosplus更新CentOS
阅读(355) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~