CentOS 5.4+openvz+vtonf The method of implementing the VPS server _openvz

Source: Internet
Author: User
Tags centos vps iptables vps server
So far, vtonf has only supported Redhat, Fedora, and CentOS (which support Debian is planning).

centos-5.4-i386 System (Vtonf does not support x86-64 system, installation process error, also described in its install)

1. Close SELinux

Open the Setup interface –firewall configureation, selinux to Disabled

or modify

Vi/etc/sysconfig/selinux

For

Selinux=disabled
selinuxtype=targeted

2, Firewall

If you do not want to turn off firewall, you need to open port 8001:

/sbin/iptables-i input-p tcp–dport 8001-j ACCEPT
/etc/rc.d/init.d/iptables Save
/etc/init.d/iptables restart

3. Installation OpenVZ

Cd/etc/yum.repos.d
wget Http://download.openvz.org/openvz.repo
Rpm–import Http://download.openvz.org/RPM-GPG-Key-OpenVZ
Yum Search Ovzkernel
Yum-y Install Ovzkernel
Yum-y Install Vzctl Vzquota

Vi/etc/sysctl.conf

Modify or add the following content

Net.ipv4.ip_forward = 1
Net.ipv4.conf.default.proxy_arp = 0
Net.ipv4.conf.all.rp_filter = 1
KERNEL.SYSRQ = 1
Net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
Net.ipv4.icmp_echo_ignore_broadcasts=1
Net.ipv4.conf.default.forwarding=1

To bring into effect:

Sysctl-p

Reboot system

Reboot

Uname-r

If the installation is normal, it should appear as:

2.6.18-164.15.1.el5.028stab068.9

4. Installation vtonf

Yum-y Install vzpkg expect

wget http://mesh.dl.sourceforge.net/sourceforge/vtonf/vtonfinstaller.1.0-beta1.tar.gz
Tar Xvfz vtonfinstaller.1.0-beta1.tar.gz
CD vtonfinstaller.1.0-beta1
./install

Will ask you if you want to start the installer, enter Yes

Do you wish to start the installation procedure (y/n)? : y
Starting installation
Please wait for ...........

Buy space, the server on the host network (cnidc.com) virtual host evaluation +IDC navigation =idc123.com.

OK. Installation complete.

Open the Vtonf Control Panel http://yourhostip:8001/

Enter the username and password you set during installation

Login Name:admin

Password:

Your own VPS has been present in front of you, and later on vtonf use of the method to get out.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.