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
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 |
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:
Restart the system
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.