欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  网络运营

rashost的windows VPS重装系统的方法

程序员文章站 2022-04-05 18:15:10
web扩展中,不允许asp的话,显示404;允许asp的话,显示无法显示该页面,且在iis日志里没有记录!其它如果iusr和iwam等的密码不一致的话,会提示401。同事整...
web扩展中,不允许asp的话,显示404;允许asp的话,显示无法显示该页面,且在iis日志里没有记录!其它如果iusr和iwam等的密码不一致的话,会提示401。同事整了近1天无法解决,我也解决不了。最后,无奈,备份了数据后,决定重装系统。

看rashost官方,rebuid系统有linux的说明,居然没windows的说明,只好试试了。

首先进入ras-shell;

ras-shell(winvps.com) > rebuild
you choose 32 bits.

os list:
0 : windows 2003 server chinese version
1 : windows 2003 server english version

选0

type the number of the os: 0
you choose windows 2003 server chinese version

rebuild the vps will destroy all your data. are you sure you want to destroy all the data and rebuild the vps? (true/false) :

打true,确认安装,原数据就都没了。

经过一些*号的提示后,就显示安装成功了!

the network info: {'netmask': '255.255.255.224', 'ip': '74.82.169.xxx', 'dns2': '208.67.220.220', 'dns1': '8.8.8.8', 'gateway': '74.82.169.65'}
the windows administrator password is rashost.com
the vps is not linux
please use vncviewer to connect to x100.rashost.com::端口
the vnc password is xxxxxx
for more infomation about vncviewer, see http://rashost.com/blog/vnc-windows-vps-console
using config file "/home/xen/winvps.com/winvps.com.cfg".
started domain winvps.com (id=758)

command finished.

用终端mstsc连,连不上

ras-shell(winvps.com) > list
error: domain 'winvps.com' does not exist.

可能是没启动

ras-shell(winvps.com) > start
using config file "/home/xen/winvps.com/winvps.com.cfg".
started domain winvps.com (id=759)

启动后

ras-shell(winvps.com) > list
name id mem vcpus state time(s)
winvps.com 759 256 1 ------ 4.8

再过会儿,应该就正常了

ras-shell(winvps.com) > list
name id mem vcpus state time(s)
winvps.com 759 256 1 -b---- 8.3

但还是连不上。

只好用vnc进入试试,下载了rashost上推荐的tightvnc viewer,连上。以为没开启远程桌面,实际上已开启。研究了一段时间后,发现ip不对,于是按安装成功后给出的信息,设定了vps的ip、网关和dns。

终端就可以连了:)

就是只有一个c盘,之前买的时候有c\d盘的,可能是以前人留下的吧。测试了一下asp是否能用,简单的在web扩展中启用了asp,测试成功!
附:
ras-shell使用手册