Difference between revisions of "Openvz7 : Install and Basics"

From vpsget wiki
Jump to: navigation, search
Line 16: Line 16:
  
 
  yum localinstall https://download.openvz.org/virtuozzo/releases/openvz-7.0.6-518/x86_64/os/Packages/o/openvz-release-7.0.6-5.vz7.x86_64.rpm
 
  yum localinstall https://download.openvz.org/virtuozzo/releases/openvz-7.0.6-518/x86_64/os/Packages/o/openvz-release-7.0.6-5.vz7.x86_64.rpm
 +
 +
We are using tolls from epel repo so we'll add it:
 +
yum install epel-release
 +
 +
Check the repolist you have:
 +
  yum repolist
 +
  Loaded plugins: fastestmirror, openvz, priorities, product-id, rhsm-auto-add-pools, search-disabled-repos, vzlinux
 +
  Trying to discover and attach new pools
 +
    Loading mirror speeds from cached hostfile
 +
    * epel: nl.mirror.babylon.network
 +
    * openvz-os: ftp.nluug.nl
 +
    * openvz-updates: ftp.nluug.nl
 +
    557 packages excluded due to repository priority protections
 +
    repo id                                                                                                    repo name                                                                                                             
 +
    status
 +
    !epel/x86_64                                                                                              Extra Packages for Enterprise Linux 7 - x86_64                                                                         
 +
    11,882+460
 +
    !openvz-os                                                                                                OpenVZ                                                                                                                       
 +
    198
 +
    !openvz-updates                                                                                            OpenVZ Updates                                                                                                                 
 +
    11
 +
    !virtuozzolinux-base                                                                                      VirtuozzoLinux Base                                                                                                     
 +
    10,147+98
 +
    !virtuozzolinux-factory                                                                                    VirtuozzoLinux Factory                                                                                                           
 +
    0
 +
    !virtuozzolinux-factory-debuginfo                                                                          VirtuozzoLinux Factory debug packages                                                                                           
 +
    0
 +
    !virtuozzolinux-updates                                                                                    VirtuozzoLinux Updates 
  
 
Install prtctl (used instead of vzctl, that also may be installed)
 
Install prtctl (used instead of vzctl, that also may be installed)
  
 
  yum install prlctl prl-disp-service
 
  yum install prlctl prl-disp-service

Revision as of 13:54, 28 February 2018

This article relied to openvz7/virtuozzo.

You may use ovz7 on RHEL7/Centos7 x64 OS. But we used to download exact openvz7 iso and install bare metal system : info: https://openvz.org/Virtuozzo ISO: https://download.openvz.org/virtuozzo/releases/7.0/x86_64/iso/


Once the system installed make sure it's updated

yum update&&yum upgrade

check kernel&OS build and install corresponding openvz

uname -a
cat /etc/issue

Assuming you've used minimal ISO/netinstall so you need to download/install openvz,example link:

yum localinstall https://download.openvz.org/virtuozzo/releases/openvz-7.0.6-518/x86_64/os/Packages/o/openvz-release-7.0.6-5.vz7.x86_64.rpm

We are using tolls from epel repo so we'll add it:

yum install epel-release

Check the repolist you have:

 yum repolist
  Loaded plugins: fastestmirror, openvz, priorities, product-id, rhsm-auto-add-pools, search-disabled-repos, vzlinux
  Trying to discover and attach new pools
   Loading mirror speeds from cached hostfile
   * epel: nl.mirror.babylon.network
   * openvz-os: ftp.nluug.nl
   * openvz-updates: ftp.nluug.nl
   557 packages excluded due to repository priority protections
   repo id                                                                                                    repo name                                                                                                               
   status
   !epel/x86_64                                                                                               Extra Packages for Enterprise Linux 7 - x86_64                                                                          
    11,882+460
   !openvz-os                                                                                                 OpenVZ                                                                                                                         
    198
   !openvz-updates                                                                                            OpenVZ Updates                                                                                                                  
    11
   !virtuozzolinux-base                                                                                       VirtuozzoLinux Base                                                                                                      
    10,147+98
   !virtuozzolinux-factory                                                                                    VirtuozzoLinux Factory                                                                                                            
    0
   !virtuozzolinux-factory-debuginfo                                                                          VirtuozzoLinux Factory debug packages                                                                                            
    0
   !virtuozzolinux-updates                                                                                    VirtuozzoLinux Updates  

Install prtctl (used instead of vzctl, that also may be installed)

yum install prlctl prl-disp-service