Stay Hungry, Stay Foolish

pve安装

debian 8556℃ 0评论

无效订阅提示去除

进入页面显示如下弹窗内容

You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options.

去除方法:

$nano /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js

然后键盘按键 Ctrl+q 输入data.status回车,找到 if (data.status !== 'Active')改成if (false) 保存,重启网页服务:

$systemctl restart pveproxy

开启硬件直通

$nano /etc/default/grub

找到 GRUB_CMDLINE_LINUX_DEFAULT="quiet" 修改如下:

 GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on pcie_acs_override=downstream" 

amd的cpu请将intel_iommu=on 改为 amd_iommu=on
然后修改开机加载的模块:

$nano /etc/modules

添加如下内容:

vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

然后执行:

$update-initramfs -u -k all
$update-grub
喜欢 (710)
取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦


Warning: Use of undefined constant PRC - assumed 'PRC' (this will throw an Error in a future version of PHP) in C:\inetpub\wordpress\wp-content\themes\XHBlog\comments.php on line 17
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址