How to Upgrade XEN to 4.1.4 on CentOS?
|
04-25-2013, 07:30 PM,
(This post was last modified: 04-06-2020, 01:44 PM by dewlance.)
Post: #1
|
|||
|
|||
How to Upgrade XEN to 4.1.4 on CentOS?
Hello,
First you need to check your Xen Version by typing a command in your SSH Client Quote:xm infoYou will get a 10 to 20 line output result but you need to check only this 3 lines.. xen_major : 4 xen_minor : 1 xen_extra : .1 It means your Xen version is 4.1.1 If both commands are not working then you can check your Xen version from /etc/grub.conf file.. Command: Quote:nano /etc/grub.conf output result Quote:default=0 << If set to 3 then check 3rd title How to Upgrade Xen? (If you don't want to change your whole version from 3.x to 4.x. Upgrade Kernel: Quote:yum upgrade kernel-xen* How to Upgrade Xen Version from 3.x to 4.1.4? (Warning: Do this at your own risk) Run this command Quote:cd /etc/yum.repos.d Now download latest version of Xen repo from Gitco: (If you want to install your selected repo then go to <removed> and replace with your repo url in wget command Command: Quote:wget removed Now we need to remove Xen: Quote:yum remove xen Quote:yum remove kernel-xen* Once you remove Xen and Xen kernel then you can install latest Xen by running this command: Quote:yum install xen Edit /boot/grub/grub.conf and change "default 0" to your new xen kernel line..(Eg: If your newly installed kernel title listed on 1st line then change to "default 0", If listed on 2nd then change to "default 1") For example: (Only for example, don't replace your grub config with this config otherwise your server will stop working) Quote:nano /etc/grub.conf PHP Code: default=1 Now reboot your vps/server Quote:reboot After rebooting VPS/Server you can verify your Xen Version by running a xm info command or xl info. Kunnu (Administrator) Dewlance.com - Best Web Hosting Create a Ticket |
|||
![]() |
Thread Search Tool
|