宇宙主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

欧基零壹微头条IP归属甄别会员请立即修改密码
12
返回列表 发新帖
楼主: sandal

请教一个独服和VPS的区别

[复制链接]
 楼主| 发表于 2010-4-27 19:15:36 | 显示全部楼层
但是我运行

cd /root
wget http://www.a2b2.com/vpscheck
chmod 700 vpscheck
./vpscheck
This is VPS Check. See if you are on a VPS
(c) A2b2.com 2005
You are on a Xen VPS


我又蒙了
发表于 2010-4-27 19:57:53 | 显示全部楼层
#!/bin/bash

echo This is VPS Check. See if you are on a VPS
echo "(c) A2b2.com 2005"

# Virtuozzo
vz=`grep ^vzfs  /proc/mounts`
if [ ! -z "$vz" ] ; then echo You are on a Virtuozzo VPS ; exit ; fi

# UML
uml=`grep UML /proc/cpuinfo`
if [ ! -z "$uml" ] ; then  echo You are on a UML VPS ; exit ; fi

# Xen
if [ -e /dev/xen ] ; then echo You are on a Xen VPS ; exit ; fi

# VMWare
vmware=`/sbin/lspci | grep -i vmware`
if [ ! -z "$vmware" ] ; then  echo You are on a VMWare VPS ; exit ; fi

echo Well doesnt look like your are on a VPS so guess you are on a dedicated server
发表于 2010-4-27 20:44:25 | 显示全部楼层
原帖由 tumour 于 2010-4-27 19:57 发表
#!/bin/bash

echo This is VPS Check. See if you are on a VPS
echo "(c) A2b2.com 2005"

# Virtuozzo
vz=`grep ^vzfs  /proc/mounts`
if [ ! -z "$vz" ] ; then echo You are on a Virtuozzo VPS ; exit ; fi

# ...

这个应该不太准确吧
发表于 2010-4-27 20:47:08 | 显示全部楼层
独服应该已经装好系统了吧。
你可以试试其提供的开VPS的命令哈。
发表于 2010-4-27 21:07:37 | 显示全部楼层
tracert看看。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|宇宙主机交流论坛

GMT+8, 2024-10-31 23:18 , Processed in 0.056281 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表