【手動でpveを作成】debian最小化システムをpve仮想化システムに構築


1.準備作業:
最小インストールDebian 9
インストールが必要なソフトウェア:ssh
IPアドレスの構成:192.168.1.10
rootリモートログインを許可するには、次の手順に従います.
vim /etc/ssh/sshd_config
PermitRootLogin yes
hostsマッピングを変更するには:
vim/etc/hosts
192.168.1.10 debian-pve
vim/etc/hostname
debian-pve
これらはすべてとても簡単で、もう述べません!
2.pveのソフトウェアソースを追加する:
vim /etc/apt/sources.list

deb http://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free

deb http://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free

deb http://mirrors.ustc.edu.cn/debian/ stretch-proposed-updates main contrib non-free

deb http://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free

deb http://mirrors.ustc.edu.cn/debian-security stretch/updates main contrib non-free

#    
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

#     
sudo apt-get update && sudo apt-get dist-upgrade -y && sudo reboot


3.pveコンポーネントをインストールする:
sudo apt install proxmox-ve postfix open-iscsi -y

sudo apt-get install  ntp ssh lvm2 postfix ksm-control-daemon vzprocps open-iscsi bootlogd -y

#       
reboot

#             :https:192.168.1.10:8006