rashost的windows VPS重裝系統的方法
2024-09-10 00:01:51
供稿:網友
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使用手冊 http://rashost.com/blog/ras-shell-manual