Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install python sub-processes, the latest OpenVZ 7 release, Epel repository, prctl utility, OpenVZ kernel and ploop packages:

    Code Block
    languagebash
    # yum localinstall https://download.openvz.org/virtuozzo/releases/openvz-7.0.11-235/x86_64/os/Packages/p/python-subprocess32-3.2.7-1.vz7.5.x86_64.rpm
    # yum localinstall https://download.openvz.org/virtuozzo/releases/openvz-7.0.11-235/x86_64/os/Packages/o/openvz-release-7.0.11-3.vz7.x86_64.rpm
    # yum install epel-release -y
    

    Install vzlinux release:

    Code Block
    languagebash
    # yum install python3
    # rpm -Uvh http://repo.virtuozzo.com/vzlinux/7/x86_64/os/Packages/r/readykernel-scan-0.11-1.vl7.noarch.rpm
    # rpm -Uvh http://repo.virtuozzo.com/vzlinux/7/x86_64/os/Packages/z/zstd-1.4.4-1.vl7.x86_64.rpm
    # rpm -Uvh http://repo.virtuozzo.com/vzlinux/7/x86_64/os/Packages/v/vzlinux-release-7-1.vl7.89.x86_64.rpm


    Move CentOS repositories to another location to avoid package conflicts in future:

    Code Block
    languagebash
    # mv /etc/yum.repos.d/CentOS-* /root/

    Re-install json-c and jansson packages from virtuozzo repositories

    Code Block
    languagebash
    # rpm -e --nodeps --justdb json-c
    # yum erase jansson
    # yum localinstall http://repo.virtuozzo.com/vzlinux/7.7/x86_64/os/Packages/j/jansson-2.10-1.vl7.1.x86_64.rpm
    # yum localinstall http://repo.virtuozzo.com/vzlinux/7.7/x86_64/os/Packages/j/json-c-0.11-13.vl7.1.x86_64.rpm

    Install the necessary packages:

    Code Block
    languagebash
    # yum install prlctl prl-disp-service vzkernel *ploop*


  2. Update the node:

    Code Block
    languagebash
    # yum update


  3. On OVH dedicated servers also generate the grub.cfg file:

    Code Block
    languagebash
    # grub2-mkconfig -o /boot/efi/EFI/virtuozzo/grub.cfg


  4. Reboot the node:

    Code Block
    languagebash
    # reboot


  5. Now, enable ploop kernel modules:

    Code Block
    languagebash
    # modprobe ploop
    # modprobe pfmt_ploop1
    # modprobe pfmt_raw
    # modprobe pio_direct


...