【手动打造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

 

你可能感兴趣的:(linux系统运维,debian,pve虚拟机,手动打造pve)