7.3. Upgrading from CentOS 7 to Virtuozzo 7¶
This procedure cannot be reverted.
Physical or virtual servers running CentOS 7.x can be upgraded to Virtuozzo 7.
The server must:
- have a clean CentOS 7.x installation without third-party drivers or packages,
- have ext4 file system on the root disk,
- have Internet connection for downloading Virtuozzo Linux and Virtuozzo packages.
To upgrade CentOS 7.x to Virtuozzo 7, do the following:
Convert CentOS 7 to Virtuozzo Linux 7. To do this, download and run the upgrade script:
# wget http://repo.virtuozzo.com/vzlinux/vzdeploy/vzdeploy # chmod 755 vzdeploy # ./vzdeploy
The script will replace CentOS repositories and packages with Virtuozzo Linux ones, install a Virtuozzo Linux kernel in addition to the current CentOS one, and activate a trial Virtuozzo Linux license.
Reboot to the Virtuozzo Linux kernel.
Optionally, you can remove the CentOS kernel to make sure that the server always boots to the Virtuozzo kernel.
# yum remove kernel
Upgrade Virtuozzo Linux 7 to Virtuozzo 7. To do this, run the script
do-upgrade-vzlin-vz7installed with the
vzlin-releasepackage on previous steps.
# do-upgrade-vzlin-vz7 --key <VZ7_product_key>
You can skip license installation by specifying
--key <VZ7_product_key>. In this case, you will need to install a license later with the
The script will add Virtuozzo 7 repositories, install Virtuozzo 7 packages, and perform required configuration. No new partitions will be created during installation (e.g.,
/vzwill be a directory on the root disk).
Reboot the server to start using Virtuozzo 7.