|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的好朋友们!碰到一台CentOS5.6的机械须要进级内存到6GB,成果发明体系竟然是32位的,因而搜刮可否让32位体系支撑4G以上内存的办法。
若何让linux/Centos32位支撑8G内存?内核装置PAE支撑年夜于4GB内存的办法。linux/Centos32bitOS默许不支撑4G以上内存的,装置一个kernel-PAE补钉就能够处理了,操作前最好对虚拟机做一个快照备份,以防涌现不测时可以恢复到正常状况。
上面是几个步调:- [root@www.ctohome.com]#freetotalusedfreesharedbufferscachedMem:388196863792832440400111292461680-/+buffers/cache:649563817012Swap:419292404192924[root@www.ctohome.com]#yuminstallkernel-PAELoadedplugins:fastestmirrorLoadingmirrorspeedsfromcachedhostfilecentos-burstnet|1.1kB00:00updates-burstnet|1.9kB00:00SettingupInstallProcessResolvingDependencies-->Runningtransactioncheck--->Packagekernel-PAE.i6860:2.6.18-194.32.1.el5settobeinstalled-->FinishedDependencyResolutionDependenciesResolved================================================================================================================================================================================PackageArchVersionRepositorySize================================================================================================================================================================================Installing:kernel-PAEi6862.6.18-194.32.1.el5updates-burstnet17MTransactionSummary================================================================================================================================================================================Install1Package(s)Upgrade0Package(s)Totaldownloadsize:17MIsthisok[y/N]:yDownloadingPackages:kernel-PAE-2.6.18-194.32.1.el5.i686.rpm|17MB00:01Runningrpm_check_debugRunningTransactionTestFinishedTransactionTestTransactionTestSucceededRunningTransactionInstalling:kernel-PAE1/1Installed:kernel-PAE.i6860:2.6.18-194.32.1.el5Complete![root@www.ctohome.com]#freetotalusedfreesharedbufferscachedMem:388196863792832440400111292461680-/+buffers/cache:649563817012Swap:419292404192924[root@www.ctohome.com]#vi/boot/grub/grub.confdefault=0#(把default=1改成default=0)timeout=5splashimage=(hd0,0)/grub/splash.xpm.gzhiddenmenutitleCentOS(2.6.18-194.32.1.el5PAE)#(有这行PAE的就表现装置pae内核胜利)root(hd0,0)kernel/vmlinuz-2.6.18-194.32.1.el5PAEroroot=LABEL=/initrd/initrd-2.6.18-194.32.1.el5PAE.imgtitleCentOS(2.6.18-194.32.1.el5)root(hd0,0)kernel/vmlinuz-2.6.18-194.32.1.el5roroot=LABEL=/initrd/initrd-2.6.18-194.32.1.el5.imgtitleCentOS(2.6.18-194.el5)root(hd0,0)kernel/vmlinuz-2.6.18-194.el5roroot=LABEL=/initrd/initrd-2.6.18-194.el5.img[root@www.ctohome.com]#reboot(这里重启办事器,祷告吧,有时刻主板或网卡不支撑,那末就只能接洽机房了)Broadcastmessagefromroot(pts/0)(ThuMay1918:52:342011):ThesystemisgoingdownforrebootNOW![root@www.ctohome.com]#freetotalusedfreesharedbufferscachedMem:82954882152488080240019460142592-/+buffers/cache:531968242292Swap:419292404192924
复制代码 进级完成,可以支撑年夜内存了。
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的小伙伴们! |
|