How to use one-click script to install windows from centos7 on dedipath’s dedicated server
声明:(Alert)
我只是测试了功能和流程,验证可用,至于系统有没有问题,请自行辨别。
使用方法:
我使用的https://www.cxthhhhh.com/network-reinstall-system-modify的脚本。
首先,装个centos7系统。
然后使用命令行
wget --no-check-certificate -qO ~/Network-Reinstall-System-Modify.sh 'https://www.cxthhhhh.com/CXT-Library/Network-Reinstall-System-Modify/Network-Reinstall-System-Modify.sh' && chmod a+x ~/Network-Reinstall-System-Modify.sh && bash ~/Network-Reinstall-System-Modify.sh -UI_Options
然后选择操作系统,输入编号回车即可。
等待20-60分钟左右差不多了。通常20分钟
我用的E3-1240v2 16G 240G SSD.
目前发现了什么情况:
1.装完默认是连不上网的,也用不了远程桌面,得通过no VNC或者KVM console配置下IP,或者你可以用dedipath控制面板的重装系统的按钮,随便选个系统重装,然后机器会自动重启,完事就能连上了,然后你可以添加IP,但是添加完了你还得用no VNC或者KVM console 配置下网关。参考IP添加教程:《windows服务器1C站群IP绑定教程》
2.你能远程,但是连上以后得配dns,不然无法访问网站。可以是8.8.8.8 和114.114.114.114,我成功了。
3.dedipath控制面板的重装系统好像不好用了,我重装centos7没反应了,重装centos8也没反应,但是能解决默认连不上网的问题。
4.实际测试,这个脚本的Windows安装完以后,系统盘是25G分区,其他的你得挂载下。
5.自定义镜像要用DD使用的镜像。
I just test the functions, and make sure can finish the installation. And I advise you use your own os image.
How to use it:
I used https://www.cxthhhhh.com/network-reinstall-system-modify
First, install a Centos7
Then, use the scirpt
wget --no-check-certificate -qO ~/Network-Reinstall-System-Modify.sh 'https://www.cxthhhhh.com/CXT-Library/Network-Reinstall-System-Modify/Network-Reinstall-System-Modify.sh' && chmod a+x ~/Network-Reinstall-System-Modify.sh && bash ~/Network-Reinstall-System-Modify.sh -UI_Options
Choose the os and enter.
Then wait about 20-60 minutes.(usually 20 minutes)
I used E3-1240v2 16G 240G SSD.
What I found?
1.After the installation, it can’t use RDP and the network doesn’t work, you should use no VNC or KVM console to config the ip, or you can use the reinstall os button indedipath control panel, you can choose any os and then reinstall, actually it will not reinstall and just reboot the server, then the server work well, then you can bind the ips, please pay attention that you also need to use no VNC or KVM console to set the gateway. you can see 《windows服务器1C站群IP绑定教程》
2.You can use RDP to connect it, but you need to config the dns then, or you can’t visit the website. Such as you can use 8.8.8.8 or 114.114.114.114
3.It seemed will effect the reinstall function of dedipath control panel, I want to reinstall centos7, but it not work, reinstall centos8 also doen’t work, but can solve IP connect issue..
4.According to my test, after install, the system partition will be 25G, you should mount rest manually
5.Custom ISO should be the type which used to be DD way.