Monday 2 February 2015

HOW TO INSTALL OVENVZ ON CENTOS - STEP 3

this step you will read how to install, but you must read this step
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.conf
 Settings for NEIGHBOUR_DEVS
[…]
NEIGHBOUR_DEVS=all
[…]
 OpenVZ mengharus disable SELinux in condition. Open the / etc / sysconfig / selinux and set the value to disabled SELinux.
nano /etc/sysconfig/selinux
 Settings for SELinux:
# This file controls the state of SELinux on 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
reboot the system
reboot
 Up 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 -r
 for OpenVZ kernel installed:
[root@server1 ~]# uname -r
2.6.18-53.1.19.el5.028stab053.14
[root@server1 ~]#
finish ^_^
source : tipsonliner  | support : duta teknologi | blog : alhub Service

No comments:

Post a Comment