2022最新腾讯轻量云?debian?10?安装pve教程详解(腾讯云的轻量级服务器怎么进入数据库)干货满满

随心笔谈3年前发布 admin
186 0 0

文章摘要

这篇文章介绍了在腾讯轻量云Debian 10操作系统上安装PVE(企业虚拟化引擎)的完整步骤。主要内容包括: 1. **修改配置**:通过修改`hostnamectl`命令,将主机名设置为`pve`,并添加了以下内容: ``` hostnamectl set-hostname pve 127.0.0.1 localhost.localdomain localhost localhost.pve.proxmox.com pve ``` 2. **添加PVE安装源**:创建了一个自定义的Debian源,并将其添加到`/etc/apt/sources.list.d/pve-install-repo.list`文件中,源地址为`https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian`,包含PVE相关软件。 3. **解决GPG问题**:由于新源未提供签名信息,导致GPG报错,因此文章提示用户: - 安装`gnupg2` - 获取相关密钥并添加到系统中 - 更新和安装系统软件包 4. **安装系统**:通过执行以下命令完成PVE环境的安装: ``` apt update & apt install -y curl wget sudo apt update & apt full-upgrade apt install proxmox-ve postfix open-iscsi ``` 文章还提供了一些后续操作建议,如运行测试命令以验证PVE配置是否正确。



1.apt update && apt install -y curl wget sudo

1.设置

PVE官方要求,需要做如下修改:

首先设置,根据实际情况自行修改,我这里设置为

修改,添加如

hostnamectl set-hostname pve

下内容

127.0.0.1 localhost.localdomain localhost
**这里填你服务器公网IP** pve.proxmox.com pve

2.添加安装源

依次执行下面的命令:

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 DD4BA3917E23BF59

E: 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

到此这篇关于腾讯轻量云 debian 10 安装pve教程 2022的文章就介绍到这了,更多相关debian 10 安装pve内容请搜索脚本之家以前的文章或继续浏览下面的相关文章希望大家以后多多支持脚本之家!

您可能感兴趣的文章:debian10 mariadb安装过程详解基于Debian的linux系统软件安装命令详解 (推荐)在Debian(Raspberry Pi)树莓派上安装NodeJS的教程详解在Debian系的Linux中检查软件包是否被安装的方法

© 版权声明

相关文章