首页服务器Web服务器 CentOS 5.4+OpenVZ+Vtonf实现VPS服务器的方法

CentOS 5.4+OpenVZ+Vtonf实现VPS服务器的方法

到目前为止,Vtonf仅仅支持RedHat, Fedora, 和 CentOS(支持Debian正在计划中)。CentOS-5.4-i386系统(Vtonf不支持x86-64的系统,安装过程会出错,在其INSTALL中也有说明)1、关闭SELinu…

到目前为止,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=disabled
SELINUXTYPE=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.d
wget
rpm –import
yum search ovzkernel   
yum -y install ovzkernel 
yum -y install vzctl vzquota

vi /etc/sysctl.conf

修改或添加以下内容

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

使之生效:

sysctl -p

重启系统

reboot

uname -r

如果安装正常应该显示为:

2.6.18-164.15.1.el5.028stab068.9

4、安装Vtonf

yum -y install vzpkg expect

wget
tar xvfz vtonfinstaller.1.0-beta1.tar.gz
cd vtonfinstaller.1.0-beta1
./install

会问你是否开始安装程序,输入yes

Do you wish to start the installation procedure (y/n)? : y
Starting installation
Please wait……………….

CentOS 5.4+OpenVZ+Vtonf实现VPS服务器的方法

买空间、服务器就上主机网(CNIDC.COM) 虚拟主机评测+IDC导航=IDC123.COM。

CentOS 5.4+OpenVZ+Vtonf实现VPS服务器的方法

CentOS 5.4+OpenVZ+Vtonf实现VPS服务器的方法

CentOS 5.4+OpenVZ+Vtonf实现VPS服务器的方法

CentOS 5.4+OpenVZ+Vtonf实现VPS服务器的方法

OK.安装完成。

打开vtonf控制面板:8001/

输入安装过程中你设置的用户名和密码

Login Name : admin

Password :

属于你自己的VPS已经呈现在你的眼前,晚些时候再把vtonf的使用方法弄出来。

本文来自网络,不代表1号站长-站长学院|资讯交流平台立场。转载请注明出处: https://www.1cn.cc/fwq/web/8024.html
上一篇apche 多端口配置及网站指向非apche默认的网站文件夹设置方法
下一篇 sqlserver 普通用户运行错误解决方法补充
admin

作者: admin

这里可以再内容模板定义一些文字和说明,也可以调用对应作者的简介!或者做一些网站的描述之类的文字或者HTML!

为您推荐

评论列表()

    联系我们

    联系我们

    0898-88888888

    在线咨询: QQ交谈

    邮箱: email@wangzhan.com

    工作时间:周一至周五,9:00-17:30,节假日休息

    关注微信
    微信扫一扫关注我们

    微信扫一扫关注我们

    关注微博
    返回顶部