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.