CentOS 5.4 + OpenVZ + Vtonf self-built VPS Server

Source: Internet
Author: User
Tags vps vps server

Vtonf is a free web-based control panel (compatible with GPL) that manages virtual private servers (VPS) on OpenVz ). Using her or even a few professional users can easily create and manage virtual machines on OpenVZ. 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, the installation process will be wrong, 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 ask you if you want to start installing the program, enter yes
Do you wish to start the installation procedure (y/n )? : Y
Starting installation
Please wait ................... 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, we will try to use vtonf.

 

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.