1. first step
2. second step
oke now you will follow this step
sysctl -p
Important: This step is very important, if we are different virtual machine with the IP subnet ip host system. Otherwise perform the following steps networking will not work on a virtual machine that we just created.
Open the / etc /vz/vz.conf And set NEIGHBOUR_DEVS To all:
nano /etc/vz/vz.confSettings for NEIGHBOUR_DEVS
[…]OpenVZ mengharus disable SELinux in condition. Open the / etc / sysconfig / selinux and set the value to disabled SELinux.
NEIGHBOUR_DEVS=all
[…]
nano /etc/sysconfig/selinuxSettings for SELinux:
# This file controls the state of SELinux on the system.reboot the system
# SELINUX= can take one of these three values:
# enforcing – SELinux security policy is enforced.
# permissive – SELinux prints warnings instead of enforcing.
# disabled – SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted – Only targeted network daemons are protected.
# strict – Full SELinux protection.
SELINUXTYPE=targeted
rebootUp here, if the process does not appear to reboot error, meaning OpenVZ installation process is complete and successful.
Check to make sure OpenVZ, OpenVZ kernel has been installed correctly.
uname -rfor OpenVZ kernel installed:
[root@server1 ~]# uname -rfinish ^_^
2.6.18-53.1.19.el5.028stab053.14
[root@server1 ~]#
source : tipsonliner | support : duta teknologi | blog : alhub Service
No comments:
Post a Comment