Menu Close

Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

第 23 章 升​​​​​​​级​​​​​​​你​​​​​​​当​​​​​​​前​​​​​​​的​​​​​​​系​​​​​​​统​​​​​​​

本​​​​​​​章​​​​​​​解​​​​​​​释​​​​​​​了​​​​​​​升​​​​​​​级​​​​​​​Red Hat Enterprise Linux 系​​​​​​​统​​​​​​​的​​​​​​​不​​​​​​​同​​​​​​​方​​​​​​​法​​​​​​​。​​​​​​​

23.1. 选​​​​​​​择​​​​​​​升​​​​​​​级​​​​​​​还​​​​​​​是​​​​​​​重​​​​​​​新​​​​​​​安​​​​​​​装​​​​​​​

当​​​​​​​从​​​​​​​Red Hat Enterprise Linux version 4 Update 4 升​​​​​​​级​​​​​​​时​​​​​​​,你​​​​​​​更​​​​​​​可​​​​​​​能​​​​​​​需​​​​​​​要​​​​​​​先​​​​​​​备​​​​​​​份​​​​​​​数​​​​​​​据​​​​​​​,然​​​​​​​后​​​​​​​再​​​​​​​在​​​​​​​之​​​​​​​前​​​​​​​的​​​​​​​Red Hat Enterprise Linux 安​​​​​​​装​​​​​​​版​​​​​​​本​​​​​​​上​​​​​​​安​​​​​​​装​​​​​​​Red Hat Enterprise Linux 5.0。​​​​​​​
如​​​​​​​果​​​​​​​要​​​​​​​从​​​​​​​Red Hat Enterprise Linux 4 升​​​​​​​级​​​​​​​,你​​​​​​​在​​​​​​​升​​​​​​​级​​​​​​​之​​​​​​​前​​​​​​​,应​​​​​​​该​​​​​​​先​​​​​​​用​​​​​​​ RHN 把​​​​​​​系​​​​​​​统​​​​​​​更​​​​​​​新​​​​​​​到​​​​​​​最​​​​​​​新​​​​​​​版​​​​​​​本​​​​​​​。​​​​​​​
This recommended reinstallation method helps to ensure the best system stability possible.
For more information about re-installing your Red Hat Enterprise Linux system, refer to the Whitepapers available online at http://www.redhat.com/rhel/resource_center/.
如​​​​​​​果​​​​​​​你​​​​​​​正​​​​​​​在​​​​​​​使​​​​​​​用​​​​​​​Red Hat Enterprise Linux 4 Update 4,你​​​​​​​可​​​​​​​以​​​​​​​执​​​​​​​行​​​​​​​传​​​​​​​统​​​​​​​的​​​​​​​,基​​​​​​​于​​​​​​​安​​​​​​​装​​​​​​​程​​​​​​​序​​​​​​​的​​​​​​​升​​​​​​​级​​​​​​​。​​​​​​​
但​​​​​​​是​​​​​​​,在​​​​​​​升​​​​​​​级​​​​​​​系​​​​​​​统​​​​​​​前​​​​​​​,你​​​​​​​必​​​​​​​须​​​​​​​记​​​​​​​住​​​​​​​几​​​​​​​个​​​​​​​注​​​​​​​意​​​​​​​事​​​​​​​项​​​​​​​:
  • 执​​​​​​​行​​​​​​​升​​​​​​​级​​​​​​​后​​​​​​​,个​​​​​​​体​​​​​​​软​​​​​​​件​​​​​​​包​​​​​​​配​​​​​​​置​​​​​​​文​​​​​​​件​​​​​​​可​​​​​​​能​​​​​​​会​​​​​​​也​​​​​​​可​​​​​​​能​​​​​​​不​​​​​​​会​​​​​​​有​​​​​​​效​​​​​​​。​​​​​​​这​​​​​​​是​​​​​​​由​​​​​​​于​​​​​​​配​​​​​​​置​​​​​​​文​​​​​​​件​​​​​​​的​​​​​​​格​​​​​​​式​​​​​​​和​​​​​​​布​​​​​​​局​​​​​​​改​​​​​​​变​​​​​​​造​​​​​​​成​​​​​​​的​​​​​​​。​​​​​​​
  • If you have one of Red Hat's layered products (such as the Cluster Suite) installed, it may need to be manually upgraded after the Red Hat Enterprise Linux upgrade has been completed.
  • 升​​​​​​​级​​​​​​​后​​​​​​​,第​​​​​​​三​​​​​​​方​​​​​​​或​​​​​​​ ISV 程​​​​​​​序​​​​​​​可​​​​​​​能​​​​​​​无​​​​​​​法​​​​​​​正​​​​​​​确​​​​​​​运​​​​​​​行​​​​​​​。​​​​​​​
系​​​​​​​统​​​​​​​升​​​​​​​级​​​​​​​会​​​​​​​安​​​​​​​装​​​​​​​系​​​​​​​统​​​​​​​里​​​​​​​软​​​​​​​件​​​​​​​包​​​​​​​的​​​​​​​更​​​​​​​新​​​​​​​版​​​​​​​本​​​​​​​。​​​​​​​
升​​​​​​​级​​​​​​​进​​​​​​​程​​​​​​​通​​​​​​​常​​​​​​​保​​​​​​​留​​​​​​​现​​​​​​​存​​​​​​​的​​​​​​​配​​​​​​​置​​​​​​​文​​​​​​​件​​​​​​​,它​​​​​​​给​​​​​​​这​​​​​​​些​​​​​​​文​​​​​​​件​​​​​​​分​​​​​​​别​​​​​​​添​​​​​​​加​​​​​​​了​​​​​​​ .rpmsave 扩​​​​​​​展​​​​​​​名​​​​​​​(例​​​​​​​如​​​​​​​,sendmail.cf.rpmsave)。​​​​​​​升​​​​​​​级​​​​​​​进​​​​​​​程​​​​​​​还​​​​​​​在​​​​​​​ /root/upgrade.log 日​​​​​​​志​​​​​​​中​​​​​​​记​​​​​​​录​​​​​​​了​​​​​​​它​​​​​​​的​​​​​​​行​​​​​​​动​​​​​​​。​​​​​​​

警告

随​​​​​​​着​​​​​​​软​​​​​​​件​​​​​​​的​​​​​​​发​​​​​​​展​​​​​​​,配​​​​​​​置​​​​​​​文​​​​​​​件​​​​​​​的​​​​​​​格​​​​​​​式​​​​​​​也​​​​​​​会​​​​​​​改​​​​​​​变​​​​​​​,因​​​​​​​此​​​​​​​你​​​​​​​应​​​​​​​该​​​​​​​在​​​​​​​集​​​​​​​成​​​​​​​这​​​​​​​些​​​​​​​改​​​​​​​变​​​​​​​之​​​​​​​前​​​​​​​仔​​​​​​​细​​​​​​​地​​​​​​​比​​​​​​​较​​​​​​​原​​​​​​​始​​​​​​​配​​​​​​​置​​​​​​​文​​​​​​​件​​​​​​​和​​​​​​​新​​​​​​​文​​​​​​​件​​​​​​​。​​​​​​​

注意

备​​​​​​​份​​​​​​​系​​​​​​​统​​​​​​​上​​​​​​​的​​​​​​​所​​​​​​​有​​​​​​​数​​​​​​​据​​​​​​​是​​​​​​​明​​​​​​​智​​​​​​​之​​​​​​​举​​​​​​​。​​​​​​​例​​​​​​​如​​​​​​​,如​​​​​​​果​​​​​​​你​​​​​​​要​​​​​​​升​​​​​​​级​​​​​​​或​​​​​​​创​​​​​​​建​​​​​​​一​​​​​​​个​​​​​​​双​​​​​​​引​​​​​​​导​​​​​​​系​​​​​​​统​​​​​​​,你​​​​​​​应​​​​​​​该​​​​​​​备​​​​​​​份​​​​​​​这​​​​​​​个​​​​​​​硬​​​​​​​盘​​​​​​​驱​​​​​​​动​​​​​​​器​​​​​​​上​​​​​​​你​​​​​​​想​​​​​​​保​​​​​​​存​​​​​​​的​​​​​​​数​​​​​​​据​​​​​​​。​​​​​​​错​​​​​​​误​​​​​​​难​​​​​​​免​​​​​​​会​​​​​​​发​​​​​​​生​​​​​​​,有​​​​​​​些​​​​​​​错​​​​​​​误​​​​​​​甚​​​​​​​至​​​​​​​会​​​​​​​导​​​​​​​致​​​​​​​所​​​​​​​有​​​​​​​数​​​​​​​据​​​​​​​丢​​​​​​​失​​​​​​​。​​​​​​​
某​​​​​​​些​​​​​​​升​​​​​​​级​​​​​​​的​​​​​​​软​​​​​​​件​​​​​​​包​​​​​​​可​​​​​​​能​​​​​​​需​​​​​​​要​​​​​​​安​​​​​​​装​​​​​​​其​​​​​​​它​​​​​​​软​​​​​​​件​​​​​​​包​​​​​​​以​​​​​​​便​​​​​​​正​​​​​​​常​​​​​​​运​​​​​​​行​​​​​​​。​​​​​​​如​​​​​​​果​​​​​​​你​​​​​​​选​​​​​​​择​​​​​​​来​​​​​​​定​​​​​​​制​​​​​​​要​​​​​​​升​​​​​​​级​​​​​​​的​​​​​​​软​​​​​​​件​​​​​​​包​​​​​​​,你​​​​​​​可​​​​​​​能​​​​​​​需​​​​​​​要​​​​​​​解​​​​​​​决​​​​​​​依​​​​​​​赖​​​​​​​关​​​​​​​系​​​​​​​的​​​​​​​问​​​​​​​题​​​​​​​。​​​​​​​否​​​​​​​则​​​​​​​,升​​​​​​​级​​​​​​​进​​​​​​​程​​​​​​​会​​​​​​​自​​​​​​​行​​​​​​​解​​​​​​​决​​​​​​​依​​​​​​​赖​​​​​​​关​​​​​​​系​​​​​​​,但​​​​​​​是​​​​​​​,它​​​​​​​可​​​​​​​能​​​​​​​会​​​​​​​需​​​​​​​要​​​​​​​安​​​​​​​装​​​​​​​你​​​​​​​的​​​​​​​系​​​​​​​统​​​​​​​上​​​​​​​没​​​​​​​有​​​​​​​的​​​​​​​软​​​​​​​件​​​​​​​包​​​​​​​。​​​​​​​
依​​​​​​​据​​​​​​​你​​​​​​​的​​​​​​​系​​​​​​​统​​​​​​​分​​​​​​​区​​​​​​​情​​​​​​​况​​​​​​​而​​​​​​​定​​​​​​​,升​​​​​​​级​​​​​​​程​​​​​​​序​​​​​​​可​​​​​​​能​​​​​​​会​​​​​​​提​​​​​​​示​​​​​​​你​​​​​​​额​​​​​​​外​​​​​​​添​​​​​​​加​​​​​​​交​​​​​​​换​​​​​​​文​​​​​​​件​​​​​​​。​​​​​​​如​​​​​​​果​​​​​​​升​​​​​​​级​​​​​​​程​​​​​​​序​​​​​​​没​​​​​​​有​​​​​​​检​​​​​​​测​​​​​​​到​​​​​​​一​​​​​​​个​​​​​​​相​​​​​​​当​​​​​​​于​​​​​​​你​​​​​​​的​​​​​​​内​​​​​​​存​​​​​​​两​​​​​​​倍​​​​​​​的​​​​​​​交​​​​​​​换​​​​​​​文​​​​​​​件​​​​​​​,它​​​​​​​会​​​​​​​询​​​​​​​问​​​​​​​你​​​​​​​是​​​​​​​否​​​​​​​要​​​​​​​添​​​​​​​加​​​​​​​一​​​​​​​个​​​​​​​新​​​​​​​的​​​​​​​交​​​​​​​换​​​​​​​文​​​​​​​件​​​​​​​。​​​​​​​如​​​​​​​果​​​​​​​你​​​​​​​的​​​​​​​系​​​​​​​统​​​​​​​没​​​​​​​有​​​​​​​足​​​​​​​够​​​​​​​的​​​​​​​内​​​​​​​存​​​​​​​(小​​​​​​​于​​​​​​​ 256 MB),推​​​​​​​荐​​​​​​​你​​​​​​​添​​​​​​​加​​​​​​​这​​​​​​​个​​​​​​​交​​​​​​​换​​​​​​​文​​​​​​​件​​​​​​​。​​​​​​​