给大家带来CentOS6.5晋级到CentOS7
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的好朋友们!redhat供应了一个redhat-upgrade-tool的晋级工具;设置软件源
#vim/etc/yum.repos.d/upgrade.repo
name=upgrade
baseurl=http://dev.centos.org/centos/6/upg/x86_64/
enable=1
gpgcheck=0
装置软件工具
yum-yinstallpreupgrade-assistant-contentsredhat-upgrade-toolpreupgrade-assistant
晋级前反省潜伏成绩
#preupg
Preupgtooldoesntdotheactualupgrade.
Pleaseensureyouhavebackedupyoursystemand/ordataintheeventofafailedupgrade
thatwouldrequireafullre-installofthesystemfrominstallationmedia.Doyouwanttocontinue?y/n
y
Gatheringlogsusedbypreupgradeassistant:
Allinstalledpackages:01/10...finished(time00:00s)
Allchangedfiles:02/10...finished(time00:40s)
Changedconfigfiles:03/10...finished(time00:00s)
Allusers:04/10...finished(time00:00s)
Allgroups:05/10...finished(time00:00s)
Servicestatuses:06/10...finished(time00:00s)
Allinstalledfiles:07/10...finished(time00:01s)
Alllocalfiles:08/10...finished(time00:03s)
Allexecutablefiles:09/10...finished(time00:00s)
RedHatsignedpackages:10/10...finished(time00:00s)
Assessmentofthesystem,runningchecks/SCEscripts:
001/100...done(ConfigurationFilestoReview)
002/100...done(FileListsforManualMigration)
003/100...done(BaculaBackupSoftware)
004/100...done(MySQLconfiguration)
005/100...done(MigrationoftheMySQLdatastack)
006/100...done(GeneralchangesindefaultMySQLimplementation)
007/100...done(PostgreSQLupgradecontent)
Assessmentfinished(time00:00s)
Resulttablewithchecksandtheirresultsformaincontents:
------------------------------------------------------------------------------------------
|Systemkickstart|notapplicable|
|YUM|notapplicable|
|CheckforusageofdangerousrangeofUID/GIDs|notapplicable|
|IncorrectusageofreservedUID/GIDs|notapplicable|
|NISypbindconfigfilesback-up|notapplicable|
|NISMakefileback-up|notapplicable|
|NISservermapscheck|notapplicable|
|NISserverMAXUIDandMAXGIDlimitscheck|notapplicable|
|NISserverconfigfileback-up|notapplicable|
------------------------------------------------------------------------------------------
Tarballwithresultsisstoredhere/root/preupgrade-results/preupg_results-140716022514.tar.gz.
Thelatestassessmentisstoredindirectory/root/preupgrade.
UploadresultstoUIbycommand:
e.g.preupg-uhttp://127.0.0.1:8099/submit/-r/root/preupgrade-results/preupg_results-*.tar.gz.
入手下手晋级
#rpm--importhttp://centos.excellmedia.net/7.0.1406/os/x86_64/RPM-GPG-KEY-CentOS-7
一般的运转以上下令能够晋级完成;
#redhat-upgrade-tool--network7.0--instrepohttp://centos.excellmedia.net/7.0.1406/os/x86_64/
这强迫的就显得有点不友爱了,临盆情况慎用;
更新到这一步:
settinguprepos...
.treeinfo|1.1kB00:00
gettingbootimages...
vmlinuz-redhat-upgrade-tool|4.7MB01:38
initramfs-redhat-upgrade-tool.img|32MB14:45
settingupupdate...
findingupdates100%[=====================================================================================================]
(1/272):acl-2.2.51-12.el7.x86_64.rpm|81kB00:00
(2/272):attr-2.4.46-12.el7.x86_64.rpm|66kB00:00
(3/272):audit-2.3.3-4.el7.x86_64.rpm|223kB00:01
(4/272):audit-libs-2.3.3-4.el7.x86_64.rpm|77kB00:00
(5/272):authconfig-6.2.8-8.el7.x86_64.rpm|399kB00:08
(6/272):basesystem-10.0-7.el7.centos.noarch.rpm|5.0kB00:00
(7/272):bash-4.2.45-5.el7.x86_64.rpm|1.0MB00:17
(270/272):yum-plugin-fastestmirror-1.1.31-24.el7.noarch.rpm|28kB00:03
(271/272):zlib-1.2.7-13.el7.x86_64.rpm|89kB00:06
(272/272):zlib-devel-1.2.7-13.el7.x86_64.rpm|49kB00:01
settingupsystemforupgrade
Finished.Reboottostartupgrade.
#reboot
晋级完成:
#cat/etc/redhat-release
CentOSLinuxrelease7.0.1406(Core)
本文出自“西伯利亚·狼”博客,请务必保存此出处http://kernal.blog.51cto.com/8136890/1532150
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的小伙伴们!
给大家带来CentOS6.5晋级到CentOS7
支持支持再支持 一些显而易见的小错误还是用vi改正比较方便。以后的大一点的程序就得在Linux下调试了,因为有的头文件在VC里面说找不到。? 对于英语不是很好的读者红旗 Linux、中标Linux这些中文版本比较适合。现在一些Linux网站有一些Linux版本的免费下载,这里要说的是并不适合Linux初学者。 我们这一代90后,从小接触的是windows98,家里条件好的自己有电脑装的是2000,后来又有了XP,上大学时又有了win7。 在学习的过程中,我们用的是VM虚拟机,开始时真的不真的该怎么去做,特别是我的是命令窗口界面,别人的是图形界面,我都不知道怎么调过来。 清楚了解网络的基础知识,特别是在Linux下应用知识,如接入internet等等。 Linux简单,占内存少,特别是对于程序开发人员来说很方便,如果说windows的成功在于其方便用户的窗口管理界面。
页:
[1]