跳转到帖子
在APP中访问

A better way to browse. Learn more.

乾坤堂社区

主屏幕上的APP,包含推送通知、徽章等。

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • 网站管理

1.更换国内源

apt install apt-transport-https ca-certificates 
vim /etc/apt/sources.list 或者 nano  /etc/apt/sources.list
源 1:中科大的
deb https://mirrors.ustc.edu.cn/debian bookworm main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian bookworm-updates main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian bookworm-backports main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/proxmox/debian/pve bookworm pve-no-subscription
源 2:清华大学的(未测试)
deb https://mirrors.tuna.tsinghua.edu.cn/debian bookworm main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/debian bookworm-updates main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/debian bookworm-backports main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian/pve bookworm pve-no-subscription
源 3:官方源
deb http://deb.debian.org/debian bookworm main contrib non-free
deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free
deb http://deb.debian.org/debian bookworm-updates main contrib non-free
deb http://deb.debian.org/debian bookworm-backports main contrib non-free
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

新增一个ceph的源

vim /etc/apt/sources.list.d/ceph.list

deb http://download.proxmox.com/debian/ceph-quincy bookworm main

保存并退出,输入以下命令

nano /etc/apt/sources.list.d/pve-enterprise.list

用以下内容替换原代码并保存退出

deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian bullseye pve-no-subscription

3.apt update && apt dist-upgrade -y 期间可能会有提示,按 Y 回车或者 ok 就行

2.配置显卡直通

nano /etc/default/grub

其中一行是GRUB_CMDLINE_LINUX_DEFAULT="quiet“,修改这一行为如下内容,保存并退出

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt video=efifb:off "

使用以下命令打开要修改的文件

nano /etc/modules

添加如下内容

vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

保存退出后更新服务

update-initramfs -u
update-grub

然后重启pve系统

reboot

5.创建虚拟机

自己命名虚拟机名称

选择之前上传的镜像文件

机型选择q35并开启Qemu代理

分配磁盘大小

配置CPU核心数,按照自己物理机的CPU进行分配

配置虚拟机内存,物理为32GB,这里给分配了24X1024MB的内存容量

一定要取消勾选防火墙选项

确认安装

6.添加显卡设备

在PCI设备中找到自己的GPU设备型号

然后勾选所有功能、ROM-Bar、PCI-Express复选框,点击添加

7.打开虚拟机正常换源装显卡驱动
8.重启后使用终端命令nvidia-smi测试显卡是否正常
9.添加虚拟网卡(非必要)

添加后在虚拟机的硬件中添加

成长就是不断打破并重建三观

  • 查看数 65
  • 已创建
  • 最后回复

创建帐户或登录后发表意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.