1.apt update && apt install -y curl wget sudo
1.设置hostPVE官方要求,/etc/hosts需要做如下修改:
首先设置hostname,根据实际情况自行修改,我这里设置为pve
修改/etc/hosts,添加如
hostnamectl set-hostname pve
下内容
127.0.0.1 localhost.localdomain localhost
**这里填你服务器公网IP** pve.proxmox.com pve
2.添加PVE安装源
依次执行下面的命令:
sudo echo deb [arch=amd64] https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian bullseye pve-no-subscription > /etc/apt/sources.list.d/pve-install-repo.list
2.apt update && apt install -y curl wget sudo
W: GPG error: https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DD4BA3917E23BF59E: The repository 'https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian bullseye InRelease' is not signed.N: Updating from such a repository can't be done securely, and is therefore disabled by default.N: See apt-secure(8) manpage for repository creation and user configuration details.
apt-get install gnupg2
apt-key adv –keyserver keyserver.ubuntu.com –recv-keys DD4BA3917E23BF59
aptupdate && aptinstall -y curl wget sudo
apt update && apt full-upgrade
apt install proxmox-ve postfix open-iscsi
echo "debhttps://mirrors.tuna.tsinghua.edu.cn/proxmox/debian buster pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
到此这篇关于腾讯轻量云debian10安装pve教程2022的文章就介绍到这了,更多相关debian10安装pve内容请搜索悠久资源网以前的文章或继续浏览下面的相关文章希望大家以后多多支持悠久资源网!
您可能感兴趣的文章:
- debian10 mariadb安装过程详解
- 基于Debian的linux系统软件安装命令详解 (推荐)
- 在Debian(Raspberry Pi)树莓派上安装NodeJS的教程详解
- 在Debian系的Linux中检查软件包是否被安装的方法