Sometimes I want something, err, more technical to this blog. Today I just can not resist the urge.
By popular demand, we created yum repositories for OpenVZ packages. If you are have yum on your OpenVZ system, now you can install/update OpenVZ very easily. Yum is really great tool; we are already using it for maintaining per-VE packages, now it can also be used to update the OpenVZ installation itself.
First, you need to put openvz.repo file into /etc/yum.repos.d/ directory on your OpenVZ box (if there is no such directory, that means either yum is not installed or too old). Second, if you are using any other kernel than stable, enable the appropriate repository by editing openvz.repo file. Now you are all set.
To update your OpenVZ system, just run
Last but not least: yum will use mirrors to download all the required packages.
By popular demand, we created yum repositories for OpenVZ packages. If you are have yum on your OpenVZ system, now you can install/update OpenVZ very easily. Yum is really great tool; we are already using it for maintaining per-VE packages, now it can also be used to update the OpenVZ installation itself.
First, you need to put openvz.repo file into /etc/yum.repos.d/ directory on your OpenVZ box (if there is no such directory, that means either yum is not installed or too old). Second, if you are using any other kernel than stable, enable the appropriate repository by editing openvz.repo file. Now you are all set.
To update your OpenVZ system, just run
yum update. Here is how it looks like on my FC5 desktop:[kir@kir ~]$ sudo yum update Loading "rpm2vzrpm" plugin Loading "installonlyn" plugin Setting up Update Process Setting up repositories openvz-kernel-devel [1/7] openvz-kernel-devel 100% |=========================| 951 B 00:00 livna [2/7] core [3/7] openvz [4/7] updates [5/7] skype [6/7] extras [7/7] Reading repository metadata in from local files primary.xml.gz 100% |=========================| 2.1 kB 00:00 openvz-ker: ################################################## 7/7 Added 7 new packages, deleted 0 old in 0.13 seconds Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for ovzkernel to pack into transaction set. ovzkernel-2.6.16-026test0 100% |=========================| 564 kB 00:11 ---> Package ovzkernel.i686 0:2.6.16-026test017.1 set to be installed ---> Downloading header for vzctl to pack into transaction set. vzctl-3.0.11-1.i386.rpm 100% |=========================| 16 kB 00:00 ---> Package vzctl.i386 0:3.0.11-1 set to be updated ---> Downloading header for vzctl-lib to pack into transaction set. vzctl-lib-3.0.11-1.i386.r 100% |=========================| 2.8 kB 00:00 ---> Package vzctl-lib.i386 0:3.0.11-1 set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: ovzkernel i686 2.6.16-026test017.1 openvz-kernel-devel 11 M Updating: vzctl i386 3.0.11-1 openvz 110 k vzctl-lib i386 3.0.11-1 openvz 62 k Transaction Summary ============================================================================= Install 1 Package(s) Update 2 Package(s) Remove 0 Package(s) Total download size: 11 M Is this ok [y/N]: y Downloading Packages: (1/3): ovzkernel-2.6.16-0 100% |=========================| 11 MB 04:18 (2/3): vzctl-3.0.11-1.i38 100% |=========================| 110 kB 00:00 (3/3): vzctl-lib-3.0.11-1 100% |=========================| 62 kB 00:00 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Updating : vzctl-lib ######################### [1/5] Installing: ovzkernel ######################### [2/5] Updating : vzctl ######################### [3/5] Cleanup : vzctl ######################### [4/5] Cleanup : vzctl-lib ######################### [5/5] Installed: ovzkernel.i686 0:2.6.16-026test017.1 Updated: vzctl.i386 0:3.0.11-1 vzctl-lib.i386 0:3.0.11-1 Complete!
Last but not least: yum will use mirrors to download all the required packages.


Comments
Do you still stand by your opinions above now in 2016?…