CentOS-5.4-i386系统(Vtonf不支持x86-64的系统,安装过程会出错,在其Install中也有说明)
1、关闭SELinux
打开setup界面–firewall configureation,将SELinux置为disabled
或修改
| vi /etc/sysconfig/selinux |
为
| SELINUX=disabledSELINUXTYPE=targeted |
2、Firewall
如果不想关闭Firewall,需要打开8001端口:
| /sbin/iptables -I INPUT -p tcp –dport 8001 -j ACCEPT/etc/rc.d/init.d/iptables save/etc/init.d/iptables restart |
3、安装 OpenVZ
| cd /etc/yum.repos.dwget–importsearch ovzkernelyum -y install ovzkernelyum -y install vzctl vzquota |
| vi /etc/sysctl.conf |
修改或添加以下内容
| net.ipv4.ip_forward = 1net.ipv4.conf.default.proxy_arp = 0net.ipv4.conf.all.rp_filter = 1kernel.sysrq = 1net.ipv4.conf.default.send_redirects = 1net.ipv4.conf.all.send_redirects = 0net.ipv4.icmp_echo_ignore_broadcasts=1net.ipv4.conf.default.forwarding=1 |
使之生效:
重启系统
如果安装正常应该显示为:
| 2.6.18-164.15.1.el5.028stab068.9 |
4、安装Vtonf
| yum -y install vzpkg expect |
| wgetxvfz vtonfinstaller.1.0-beta1.tar.gzcd vtonfinstaller.1.0-beta1./install |
会问你是否开始安装程序,输入yes
Do you wish to start the installation procedure (y/n)? :Starting installationPlease wait……………….
OK.安装完成。
打开vtonf控制面板
输入安装过程中你设置的用户名和密码
Login Name : admin
属于你自己的VPS已经呈现在你的眼前,晚些时候再把vtonf的使用方法弄出来。














发表评论