本来是不想折腾这个的,但之前买了个绿云greencloudvps九周年的大盘鸡,配置和硬盘都不错,不拿来做WIN服务器真的有点浪费了。

看了很多帖子都说绿云发现用户DD WIN是会删账号封机器的...那么就很尴尬鱼和熊掌的问题就来了。在LOC里无意看帖子的时候看到有人说到那么不直接DD WIN先装个PVE,再装WIN不就可以了。emm...是的,这个是一个比较不错的解决方案啊。

首先相信绿云是无法知道用户主机到底是装的什么系统(指DD WIN),目测一般只能是通过VNC等连接查看,LINUX的话是传统LINUX的登录界面,而WIN的话就很明显了,估计也是排查用户是否DD WIN的一个重要排除方法吧。但如果是通过PVE的话,VNC连接也是LINUX的登录界面,另外PVE也是基于DEBIAN这个和TOS等也是吻合的。

说了这么多,反正就是不通过DD WIN,而是在Debian11安装PVE,再通过PVE安装WIN,对于性能直接DD的话性能肯定要比PVE的好,但也没办法了,为了安全和稳定嘛。

废话不多说。

关于Debian11安装PVE其实官方已经有安装说明了。

https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_11_Bullseye

不过还是记录一下自己的安装过程,方便其他人使用。

1、处理主机名,一般安装完系统就可以,不需要动

hostname --ip-address

192.168.15.77 # should return your IP address here
运行hostname –ip-address后出现IP地址即可,最好是本机地址,如有问题,可以检查 /etc/hosts 及 /etc/hostname 文件中的配置

2、更新系统

apt update -y && apt upgrade -y

3、添加 Proxmox VE 的软件源

echo "deb [arch=amd64] http://download.proxmox.com/debian/pve bullseye pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list

wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg

4、更新存储库和系统

apt update && apt full-upgrade

5、开始安装PVE

apt install proxmox-ve postfix open-iscsi

安装过程中会提示选择邮件接收,这里选择本地(local only)就可以。

Configure packages which require user input on installation according to your needs.If you have a mail server in your network, you should configure postfix as a satellite system. Your existing mail server will then be the relay host which will route the emails sent by Proxmox VE to their final recipient. If you don't know what to enter here, choose local only and leave the system name as is.

6、重启服务器

systemctl reboot

7、完成
到此,PVE完成安装,通过IP:8006就可以访问你的PVE管理界面,这里千万记住,要加https,要加https,要加https,重要的事情说三遍。

8、删除os prober软件包

apt remove os-prober
The package scans all the partitions of your host to create dual-bootGRUB entries. But the scanned partitions can also include those assigned to virtual machines, which one doesn't want to add as boot entry. os-prober
If you didn't install Proxmox VE as dual boot beside another OS, you can safely remove the package: os-prober

最后提示一下,KVM的WIN机器PVE貌似需要安装一个驱动,不然WIN里面的网卡识别不到。

https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/
最后修改:2022 年 10 月 17 日
如果觉得我的文章对你有用,请随意赞赏