查看: 96|回覆: 0

[Debian] 腾讯轻量云 debian 10 安装pve教程 2022

[複製鏈接]

2

主題

0

回帖

0

積分

热心网友

金币
0
閲讀權限
220
精華
0
威望
0
贡献
0
在線時間
0 小時
註冊時間
2012-1-3
發表於 2022-10-9 16:07:00 | 顯示全部樓層 |閲讀模式
  1.  apt update && apt install -y curl wget sudo

    1.设置host
    PVE官方要求,/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 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

     

    apt update && apt install -y curl wget sudo

    apt update && apt full-upgrade
     

     

    apt install proxmox-ve postfix open-iscsi

     

     

    echo "deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian  buster pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list

     

     

     

     

 


来源:https://www.cnblogs.com/ecba/p/16772204.html
回覆

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即注册

本版積分規則

相关侵权、举报、投诉及建议等,请发 E-mail:qiongdian@foxmail.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部