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

 

  • 1
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值