CentOS 5.4+OpenVZ+Vtonf自建VPS服务器 |
| 发表者:分类:应用服务2011-08-30 21:22:00 阅读[3248] |
CentOS 5.4+OpenVZ+Vtonf自建VPS服务器Vtonf是一款免费的基于web界面的控制面板(符合GPL),它可以管理OpenVz上虚拟专用服务器(VPS)。使用她甚至是那些有很少专业 只是的用户也可以很简单地创建和管理OpenVZ上的虚拟机。到目前为止,Vtonf仅仅支持RedHat, Fedora, 和 CentOS(支持Debian正在计划中)。CentOS-5.4-i386系统(Vtonf不支持x86-64的系统,安装过程会出 错,在其INSTALL中也有说明)1、关闭SELinux打开setup界面–firewall configureation,将SELinux置为Disabled或修改vi /etc/sysconfig/selinux为SELINUX=disabledSELINUXTYPE=targeted2、Firewall如果不想关闭Firewall,需要打开8001端口:/sbin/iptables -I INPUT -p tcp –dport 8001 -j ACCEPT/etc/rc.d/init.d/iptables save/etc/init.d/iptables restart3、安装 OpenVZcd /etc/yum.repos.dwgethttp://download.openvz.org/openvz.reporpm –importhttp://download.openvz.org/RPM-GPG-Key-OpenVZyum search ovzkernelyum -y install ovzkernelyum -y install vzctl vzquotavi /etc/sysctl.conf修改或添加以下内容net.ipv4.ip_forward = 1net.ipv4.conf.default.proxy_arp = 0net.ipv4.conf.all.rp_filter...
最新评论