centos7安装openvz7

kevin.Zhu 发布于:2017-5-23 9:12 分类:Linux  有 31 人浏览,获得评论 0 条  

https://thegeeksalive.com/how-to-setup-openvz-7-on-centos-7/

 

Hardware Requirements

 

The recommended hardware requirements for running OpenVZ as a standalone installation are as follows:

  • x86-64 platform with hardware virtualization support
  • CPU: at least 4 cores, a 64-bit processor is required for running 64-bit guest operating systems
  • RAM: 4 GB or more
  • HDD: 64 GB or more
  • Network: an Ethernet network adapter and an additional IP address for the VM

OpenVZ is not compatible with the xfs file system, so please make sure that you have built the system with ext4 file system.

 

 

Install the OpenVZ release package.

yum localinstall https://download.openvz.org/virtuozzo/releases/openvz-7.0.3-479/x86_64/os/Packages/o/openvz-release-7.0.3-3.vz7.x86_64.rpm

This will import all meta information and YUM repositories:

Install OpenVZ kernel and other packages.

yum install prlctl prl-disp-service vzkernel

This will install the OpenVZ kernel and all other necessary packages required for the working of OpenVZ 7 on your server.

Now you can reboot the server to the new OpenVZ kernel.

Check for the new Kernel Version.

uname -a

Run the following command and make sure that the vz service is running.

systemctl status vz

That’s all, you have now installed OpenVZ 7 on your server.

See Also:

How to create containers or VPSs in OpenVZ 7 (Will be published soon).

 

上一篇:openvz增加inodes
下一篇:openvz7安装