یه لینوکس 5.8 که روش سی پنل نصب باشه رو میشه به 6.3 آپدیت کرد که هیچیش خراب نشه ؟
نمایش نسخه قابل چاپ
یه لینوکس 5.8 که روش سی پنل نصب باشه رو میشه به 6.3 آپدیت کرد که هیچیش خراب نشه ؟
?
yum update
همکاران راهنمایی کنند
عجب !!
دوست عزیز این دستور برای آپدیت کاری که شما میخواید آپگریت هست نه آپدیت
تا اونجایی که میدونم سنت او اس اینکارو ساپرت نمیکنه من حواسم نبود من اوبونتورو آپگریت کردم سنت او اس ساپرت نمیکنه فقط میتونید به این شکل آپگریت کنید مثلا centos 5.2 to 5.3 or higher نمیشه به ۶ آپگریت کرد
سوال من اینه که اگه centos 5.8 دام میشه اونو کرد centos 6.3
یکی راهنمایی کنه ؟
شما باید کرنل لینوکستان را آپگرید کنید:
[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
پس میشه ؟
این راهنمایی که کردم ، طریقه درست کردن آش رشته نبود،
طریقه آپرید کرنل لینوکس بود! پس میشود