|
|
|
|
|
|
Home PageContact MeMAC OS XLinuxLinux Servers Fedora Core 4Linux Servers - CentOSLinux Servers Fedora Core 5Linux Servers Fedora Core 7Linux Servers Fedora 8OpenWRTNSLU2LinuxClusterHardware Hacking ProjectsSpeaker Building ProjectsElectronics ProjectsOther Sites |
History / Status
IntroductionOpenVZ provides a low overhead alternative to Xen. Setting up a New Yum RepoTo get started we need to add the OpenVZ software repository. Type the following commands. > cd /etc/yum.repos.d Edit openvz.repo and enable the developement kernel. Installing OpenVZ1. First lets install the kernel. Type the following. 2. Replace /etc/sysctl.conf with the following. # Kernel sysctl configuration file for Red Hat Linux # # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and # sysctl.conf(5) for more details. # Controls IP packet forwarding net.ipv4.ip_forward = 1 net.ipv4.conf.default.proxy_arp = 0 # Controls source route verification net.ipv4.conf.default.rp_filter = 1 # Do not accept source routing net.ipv4.conf.default.accept_source_route = 0 # Controls the System Request debugging functionality of the kernel kernel.sysrq = 1 # Controls whether core dumps will append the PID to the core filename. # Useful for debugging multi-threaded applications. kernel.core_uses_pid = 1 # Controls the use of TCP syncookies net.ipv4.tcp_syncookies = 1 # we do not want all our interfaces to send redirects net.ipv4.conf.default.send_redirects = 1 net.ipv4.conf.all.send_redirects = 0 3. Reboot the server. Be sure to boot the OpenVZ kernel. 4. Lets install some needed tools. 5. Finally lets start OpenVz. Setting up the Fedora Core 5 OS Template1. First we need to install some tools. 2. Now install the template metadata. 3. Install the repository cache. ConclusionThat's the complete setup. Now you can create your Virtual servers. Your best bet is to use the tools we've installed. LinksOpenVZ - http://www.openvz.org Comments |