介绍

新安装Debian 9 安装Proxmox 5.

安装

首先。创建存储库与Proxmox相关的包:

  1. echo deb http://download.proxmox.com/debian/pve stretch pve-no-subscription > /etc/apt/sources.list.d/pveinstallrepo.list
  2. wget http://download.proxmox.com/debian/proxmox-ve-release-5.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg

更新:

  1. apt update y
  2. apt distupgrade y

安装Proxmox 5的必要软件包 兵删除一些过时的包:

  1. apt install proxmoxve postfix openiscsi y
  2. apt remove osprober y

更新Debian内核和grub,以便正确重启操作系统:

  1. apt remove linuximageamd64 linuximage4.9.03amd64 y
  2. updategrub

删除并禁用常用漏洞的rcpbind服务:

  1. aptget remove rpcbind
  2. iptables A INPUT p udp s 192.168.0.0/24 dport 111 j ACCEPT
  3. iptables A INPUT p udp s 127.0.0.1 dport 111 j ACCEPT
  4. iptables A INPUT p udp dport 111 j DROP
  5. echo e rpcbind: ALL >> /etc/hosts.deny
  6. systemctl disable rpcbind.service
  7. service rpcbind stop

重新启动服务器:

  1. reboot

之后,您可以将.iso文件下载到 /var/lib/vz/template/iso 文件夹

來源:https://affloc.com/396.html

advertising
Newage簡易教程Debian 9 安装Proxmox 5,Proxmox 5,安装Proxmox 5
  介绍 新安装Debian 9 安装Proxmox 5. 安装 首先。创建存储库与Proxmox相关的包: echo 'deb http://download.proxmox.com/debian/pve stretch pve-no-subscription' > /etc/apt/sources.list.d/pve-install-repo.list wget http://download.proxmox.com/debian/proxmox-ve-release-5.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg 更新: apt update -y apt dist-upgrade -y 安装Proxmox 5的必要软件包 兵删除一些过时的包: apt install proxmox-ve postfix open-iscsi -y apt remove os-prober -y 更新Debian内核和grub,以便正确重启操作系统: apt remove linux-image-amd64 linux-image-4.9.0-3-amd64 -y update-grub 删除并禁用常用漏洞的rcpbind服务: apt-get remove rpcbind iptables -A INPUT -p udp -s 192.168.0.0/24...