|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的小伙伴们!碰到一台CentOS5.6的呆板必要晋级内存到6GB,了局发明体系竟然是32位的,因而搜刮可否让32位体系撑持4G以上内存的***。
怎样让linux/Centos32位撑持8G内存?内核装置PAE撑持年夜于4GB内存的***。linux/Centos32bitOS默许不撑持4G以上内存的,装置一个kernel-PAE补钉就能够办理了,操纵前最好对假造机做一个快照备份,以防呈现不测时能够规复到一般形态。
上面是几个步调:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[root@www.ctohome.com]#free
totalusedfreesharedbufferscached
Mem:388196863792832440400111292461680
-/+buffers/cache:649563817012
Swap:419292404192924
[root@www.ctohome.com]#yuminstallkernel-PAE
Loadedplugins:fastestmirror
Loadingmirrorspeedsfromcachedhostfile
centos-burstnet|1.1kB00:00
updates-burstnet|1.9kB00:00
SettingupInstallProcess
ResolvingDependencies
-->Runningtransactioncheck
--->Packagekernel-PAE.i6860:2.6.18-194.32.1.el5settobeinstalled
-->FinishedDependencyResolution
DependenciesResolved
================================================================================================================================================================================
PackageArchVersionRepositorySize
================================================================================================================================================================================
Installing:
kernel-PAEi6862.6.18-194.32.1.el5updates-burstnet17M
TransactionSummary
================================================================================================================================================================================
Install1Package(s)
Upgrade0Package(s)
Totaldownloadsize:17M
Isthisok[y/N]:y
DownloadingPackages:
kernel-PAE-2.6.18-194.32.1.el5.i686.rpm|17MB00:01
Runningrpm_check_debug
RunningTransactionTest
FinishedTransactionTest
TransactionTestSucceeded
RunningTransaction
Installing:kernel-PAE1/1
Installed:
kernel-PAE.i6860:2.6.18-194.32.1.el5
Complete!
[root@www.ctohome.com]#free
totalusedfreesharedbufferscached
Mem:388196863792832440400111292461680
-/+buffers/cache:649563817012
Swap:419292404192924
[root@www.ctohome.com]#vi/boot/grub/grub.conf
default=0#(把default=1改成default=0)
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
titleCentOS(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.img
titleCentOS(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.img
titleCentOS(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]#free
totalusedfreesharedbufferscached
Mem:82954882152488080240019460142592
-/+buffers/cache:531968242292
Swap:419292404192924
晋级完成,能够撑持年夜内存了。
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的小伙伴们! |
|