最近学到点新知识,原来Linux系统的VPS也能自行安装为Windows系统,而且Linux也有桌面版,只是购买Linux VPS时候默认安装的不是桌面版,默认是给建网站人使用。需要自行安装Linux桌面环境和RDP远程桌面连接,之后跟操作Windows系统一样,3389远程连接,登录后有浏览器使用即可。
这就省了老多钱了。。 同样配置的vps, windows有版权费,windows vps超级贵,而且很多主机商没有windows vps。

Linux一键DD安装Windows系统步骤:
1,ssh连接linux,root登录
2,如果不是root登录,切换到root用户: sudo su – root或者sudo -i
3,输入一键安装Windows命令
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'http://down.80host.com/iso/dd/WinSrv2008x64-Chinese_datacenter_sp1_vl_kvm_xen.vhd.gz'
备用
wget –no-check-certificate -qO InstallNET.sh ‘https://raw.githubusercontent.com/wn789/xitong/master/InstallNET.sh’ && bash InstallNET.sh -dd ‘http://down.80host.com/iso/dd/WinSrv2008x64-Chinese_datacenter_sp1_vl_kvm_xen.vhd.gz’
后面连接是windows系统镜像,想安装什么系统自行更改连接。
安装要很久。可在VNC下观看安装过程。安装完3389连接默认登录信息:
密码信息:
账户:Administrator
密码:WinSrv2008x64-Chinese
google cloud备用方法:
https://www.nbmao.com/archives/3641
root之后输入安装命令:
#Debian/Ubuntu:
apt-get install -y xz-utils openssl gawk file
#RedHat/CentOS:
yum install -y xz openssl gawk file
#DD Windows Server 2008 R2 64位 精简版 [账户Administrator密码WinSrv2008x64-Chinese] (台湾)
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh --ip-addr 10.140.0.x --ip-mask 255.255.255.0 --ip-gate 10.140.0.1 -dd 'https://api.moeclub.org/GoogleDrive/1DTps9WwC6RZ8szflais8YazpkCVdqdI7'
# 将X.X.X.X替换为自己的网络参数.
连接上后如果遇到无法打开网页的情况,修改DNS即可
8.8.8.8
8.8.4.4
DD系统安装包: http://down.80host.com/iso/dd/