-
پاسخ : آپدیت لینوکس
شما باید کرنل لینوکستان را آپگرید کنید:
[How To] Kernel Upgrade via Yum for CentOs boxes - Web Hosting Talk
Make sure your yum.conf looks something like this:
Code:
root@layer001 [~]# cat /etc/yum.conf [main] exclude=courier* apache* mod_ssl* httpd* perl mysql* php* spamassassin* exim* cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=centos-release tolerant=1 exactarch=1 retries=20 obsoletes=1 gpgcheck=1 # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d root@layer001 [~]#
(kernel* should not be excluded)
--
For single proc boxes type:
Code:
yum upgrade kernel
For dual proc boxes type:
Code:
yum upgrade kernel-smp
Once the process is complete:
Set "default" to 0 in /etc/grub.conf
Should end up looking something like:
Code:
root@layer001 [~]# cat /etc/grub.conf # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/sda5 # initrd /initrd-version.img #boot=/dev/sda default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.9-34.ELsmp) root (hd0,0) kernel /vmlinuz-2.6.9-34.ELsmp ro root=LABEL=/1 initrd /initrd-2.6.9-34.ELsmp.img title CentOS-4 i386 (2.6.9-22.ELsmp) root (hd0,0) kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/1 initrd /initrd-2.6.9-22.ELsmp.img title CentOS-4 i386-up (2.6.9-22.EL) root (hd0,0) kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/1 initrd /initrd-2.6.9-22.EL.img root@layer001 [~]#
Reboot the box:
Code:
root@layer001 [~]# shutdown -r now
-
پاسخ : آپدیت لینوکس
-
پاسخ : آپدیت لینوکس
این راهنمایی که کردم ، طریقه درست کردن آش رشته نبود،
طریقه آپرید کرنل لینوکس بود! پس میشود