在Enoctus Centos 6上通过dd命令安装windows
Enoctus全球绕路中,没事拿来练练手,在当前的centos 6 x64的vps上安装windows:
操作前,先获取centos中的ip配置:
root@hk:~[root@hk ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=216.xx.xx.xx
NETMASK=255.255.254.0
GATEWAY=216.xx.xx.1
记住IP、掩码和网关,安装windows后需手动设置如上的信息
1、首先登录vps的控制台,启动vnc,可以监控windows的安装过程:


登录vnc后,执行下面两条命令即可安装windows:
参考https://moeclub.org/2017/11/19/483/
yum install glibc-common
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://moeclub.org/onedrive/IMAGE/Windows/win7emb_x86.tar.gz'


vps会自动重启,进行安装:


安装过程:


这个界面停留的比较久:


大概等待20分钟左右,windows安装成功:


512M内存、12G硬盘,速度那叫一个慢:


内存还有空闲:


安装后,需做如下操作:
1、设置固定IP、网络掩码、网关,与centos中的一致


2、硬盘初始只有C盘5G,可以用磁盘管理扩展卷或新建一个卷


3、设置虚拟内存


4、修改缺省密码,缺省:
远程登陆账号为: Administrator
远程登陆密码为: Vicer
性能测试:
重启时间:20秒
重启后内存、CPU占用:


磁盘测试:


发表评论