PVE安装手记

首先安装PVE虚拟机

  • 首先去官网下载PVE镜像 地址
  • 用Rufus以DD模式写入U盘
  • 插入需要安装PVE的主机,需要插入USB2.0接口

更改软件系统更新源

  • 更改系统更新源
  • 我这里离上交大近,更新源速度很快,SO选择上交大源
nano /etc/apt/sources.list

deb https://mirrors.sjtug.sjtu.edu.cn/debian stretch main non-free contrib
deb-src https://mirrors.sjtug.sjtu.edu.cn/debian stretch main non-free contrib
deb http://mirrors.aliyun.com/debian-security stretch/updates main
deb-src http://mirrors.aliyun.com/debian-security stretch/updates main
deb https://mirrors.sjtug.sjtu.edu.cn/debian stretch-updates main non-free contrib
deb-src https://mirrors.sjtug.sjtu.edu.cn/debian stretch-updates main non-free contrib
deb https://mirrors.sjtug.sjtu.edu.cn/debian stretch-backports main non-free contrib
deb-src https://mirrors.sjtug.sjtu.edu.cn/debian stretch-backports main non-free contrib
  • PVE更新源设置
  • 暂时仅找到了清华大学有同步PVE源,选择清华源
nano /etc/apt/sources.list.d/pve-install-repo.list

#deb http://download.proxmox.wiki/debian/pve stretch pve-no-subscription
deb https://mirrors.ustc.edu.cn/proxmox/debian/pve buster pve-no-subscription
  • 然后升级PVE系统
apt updat && apt dis-ugprade

TIPS

OMV共享NFS实习PVE存储空间扩充问题

  • PVE无法挂在OMV共享文件夹,遇见权限问题-----已解决

OMV共享文件夹权限问题,共享文件设置默认设置,NFS共享文件设置需要更改,其他默认,特权读写,扩展设置需要增加no_root_squash字段。如下图所示

image-20200620115620226

暂时仅做到这里,后续慢慢添加

OMV安装手记

  • 首先还是需要到官网下载最新的OMV系统
  • 和PVE一样需要更改国内源,这里我就引用 别人的文章
  • 下面记录我现在用的更新源文件,具体教程就不写了
/etc/apt/sources.list

# deb cdrom:[Debian GNU/Linux 10 _Buster_ - Official Snapshot amd64 LIVE/INSTALL Binary 20200325-17:27$
#deb cdrom:[Debian GNU/Linux 10 _Buster_ - Official Snapshot amd64 LIVE/INSTALL Binary 20200325-17:27]$
deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main
deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
# buster-updates, previously known as 'volatile'
deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
  • 其他专属更新源在下面
  • 以下在/etc/apt/sources.list.d文件内
omvextras.list

#deb https://packages.openmediavault.org/public usul main
deb https://mirrors.bfsu.edu.cn/OpenMediaVault/public/ usul main
deb https://mirrors.bfsu.edu.cn/OpenMediaVault/public/ usul-proposed main
deb https://mirrors.bfsu.edu.cn/OpenMediaVault/public/ usul partner
omvextras.list

deb https://dl.bintray.com/openmediavault-plugin-developers/usul buster main
deb [arch=amd64] https://download.docker.com/linux/debian buster stable
deb http://linux.teamviewer.com/deb stable main

#deb https://mirrors.bfsu.edu.cn/OpenMediaVault/openmediavault-plugin-developers/usul buster main
#deb [arch=amd64] https://download.docker.com/linux/debian buster stable
#deb http://linux.teamviewer.com/deb stable main
#deb https://mirrors.bfsu.edu.cn/OpenMediaVault/openmediavault-plugin-developers/usul-testing buster main
#deb https://mirrors.bfsu.edu.cn/OpenMediaVault/openmediavault-plugin-developers/usul-extras buster main
openmediavault-kernel-backports.list

#deb https://deb.debian.org/debian buster-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
最后修改:2020 年 06 月 20 日 11 : 58 AM
有了你的打赏,我也是自由更新。