OpenVZ is a free open source software that provides container-based virtualization solution for Linux. OpenVZ 7 is the latest version of OpenVZ out there and it comes with Red Hat Enterprise Linux 3.10 kernel. This post is all about how to setup OpenVZ 7 on CentOS 7.x servers.
One Kernel, Many VM’s
OpenVZ creates multiple secure, isolated Linux containers (otherwise known as VEs or VPSs) on a single physical server enabling better server utilization and ensuring that applications do not conflict. Here, all the Linux containers share a single Kernel. Each container performs and executes exactly like a stand-alone server; a container can be rebooted independently and have root access, users, IP addresses, memory, processes, files, applications, system libraries and configuration files.
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 -y vzkernel prlctl prl-disp-service
uname -a
systemctl status vz
OpenVZ可在单台物理服务器上创建多个安全、隔离的Linux容器,所有容器共享单个内核,各容器表现如独立服务器。它不兼容xfs文件系统,需用ext4。文中还给出了安装OpenVZ发布包和内核及其他包的命令。
3128

被折叠的 条评论
为什么被折叠?



