7.3. Upgrading from CentOS 7 to Virtuozzo Hybrid Server 7¶
This procedure cannot be reverted.
Physical or virtual servers running CentOS 7.x can be upgraded to Virtuozzo Hybrid Server 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
- Meet Virtuozzo Hybrid Server 7 system requirements described in the Installation Guide
- Have Internet connection for downloading Virtuozzo Linux and Virtuozzo Hybrid Server packages
To upgrade CentOS 7.x to Virtuozzo Hybrid Server 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.
Upgrade Virtuozzo Linux 7 to Virtuozzo Hybrid Server 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 Hybrid Server 7 repositories, install Virtuozzo Hybrid Server 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 Hybrid Server 7.
Optionally, you can remove the CentOS kernel to make sure that the server always boots to the Virtuozzo Hybrid Server kernel.
# yum remove kernel