Centos 5.4 + openvz + vtonf Implementation of VPs servers

Source: Internet
Author: User
Tags vps

So far, vtonf only supports RedHat, fedora, and centos (support for Debian is being planned ).

CentOS-5.4-i386 System (vtonf does not support x86-64 systems, installation may fail, as described in its install)

1. Disable SELinux

Open the setup interface-firewall configureation and set SELinux to disabled.

Or modify

VI/etc/sysconfig/SELinux

Is

SELinux = disabled
Selinuxtype = targeted

2. Firewall

If you do not want to disable firewall, 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. Install 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

Make it take effect:

Sysctl-P

Restart the system

Reboot
Uname-R

If the installation is normal, it should be shown:

2.6.18-164.15.1.el5.028stab068.9

4. Install vtonf

Yum-y install vzpkg exact CT
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 you ask if you want to start the installation?Program, Enter Yes

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

Buy a space, and the server will be connected to the host network (cnidc. com) virtual host evaluation + IDC navigation = idc123.com.

OK. The installation is complete.

Open vtonf Control Panel http: // yourhostip: 8001/

Enter the user name and password you set during installation

Login Name: Admin

Password:

Your own VPs is already present in front of you. Later, you can use vtonf.

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.