当前位置: 首页 >> Tag标签为 'OpenVZ'

OpenVZ中的VPS支持IPv6?

OpenVZ官方文档建议通过桥接方式来搞定IPv6,虽然也提供给VPS分配IPv6地址的方法,也提到需要通过修改sysctl.conf文件来处理邻居发现和路由发现等协议,但是文档并未提及如何修改sysctl.conf文件,详见:IPv6
Read the rest of this entry »

如何迁移OpenVZ中的VPS主机

OpenVZ中要迁移vps主机,只需停止vps,将vps主机文件及配置文件备份至其他主机即可。

cd /vz/private
vzctl stop 102
tar cf - 102/ | ssh -l root 10.255.7.251 "(cd /vz/private; tar xf -)"
cd /etc/vz/conf
scp 102.conf root@10.255.7.251:/etc/vz/conf/

在10.255.7.251主机执行

vzctl start 102

即可重新启动vps。

让VPS支持Tun/Tap?

要让VPS支持OpenVPN,让vps支tun/tap是第一步,如果在租用别人的vps,直接找客服要求增加tun/tap即可,要是自己搞的vps呢,那么该找谁要呢,参考OpenVZ官方文档就很容易搞定了:http://wiki.openvz.org/VPN_via_the_TUN/TAP_device
Read the rest of this entry »

OpenVZ的VPS里不支持nat表?

在vps里执行:

iptables -t nat -L

提示:

iptables v1.2.11: can’t initialize iptables table `nat’: Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Read the rest of this entry »

让CentOS6提供基于OpenVZ的虚拟化服务

刚刚写了OpenVZ常用的几个参数,该文章基于OpenWall的LiveCD安装的,所以关于如何安装OpenVZ没有介绍,并且由于内核没有编译IPv6模块,所以虚拟机不支持IPv6协议,OpenVZ官方文档是支持IPv6的,所以在CentOS6下试验安装OpenVZ。
以下为具体步骤:
Read the rest of this entry »

OpenVZ常用的几个参数

上网下载了个Openwall-owl,试试OpenVZ虚拟环境,以下安装后需要做的事情:
1、下载template,一开始不知道如何制作template,就下载现成的吧,各个版本几乎都有,下载地 址:http://download.openvz.org/template/precreated/ 下载后的template放在:/vz/template/cache/ 目录即可。
Read the rest of this entry »

如何免费搭建自己的vps服务器?

首先在服务器上安装CENTOS5.X 确保能连上网络
一.准备工作
Read the rest of this entry »