rashost的windows VPS重裝系統(tǒng)的方法
2024-09-10 00:05:08
供稿:網(wǎng)友
web擴(kuò)展中,不允許asp的話,顯示404;允許asp的話,顯示無法顯示該頁面,且在IIS日志里沒有記錄!其它如果IUSR和IWAM等的密碼不一致的話,會(huì)提示401。同事整了近1天無法解決,我也解決不了。最后,無奈,備份了數(shù)據(jù)后,決定重裝系統(tǒng)。
看rashost官方,rebuid系統(tǒng)有l(wèi)inux的說明,居然沒windows的說明,只好試試了。
首先進(jìn)入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,確認(rèn)安裝,原數(shù)據(jù)就都沒了。
經(jīng)過一些*號(hào)的提示后,就顯示安裝成功了!
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.
可能是沒啟動(dòng)
ras-shell(winvps.com) > start
Using config file "/home/xen/winvps.com/winvps.com.cfg".
Started domain winvps.com (id=759)
啟動(dòng)后
ras-shell(winvps.com) > list
Name ID Mem VCPUs State Time(s)
winvps.com 759 256 1 ------ 4.8
再過會(huì)兒,應(yīng)該就正常了
ras-shell(winvps.com) > list
Name ID Mem VCPUs State Time(s)
winvps.com 759 256 1 -b---- 8.3
但還是連不上。
只好用VNC進(jìn)入試試,下載了rashost上推薦的TightVNC Viewer,連上。以為沒開啟遠(yuǎn)程桌面,實(shí)際上已開啟。研究了一段時(shí)間后,發(fā)現(xiàn)IP不對(duì),于是按安裝成功后給出的信息,設(shè)定了VPS的IP、網(wǎng)關(guān)和DNS。
終端就可以連了:)
就是只有一個(gè)C盤,之前買的時(shí)候有C/D盤的,可能是以前人留下的吧。測(cè)試了一下asp是否能用,簡(jiǎn)單的在web擴(kuò)展中啟用了asp,測(cè)試成功!
附:
ras-shell使用手冊(cè) http://rashost.com/blog/ras-shell-manual