Proxmox6.2简单配置
一、更换国内源:
1)删除企业源
mv /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list.bak
2)下载秘钥
wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
3) 添加社区源
echo "deb http://download.proxmox.wiki/debian/pve stretch pve-no-subscription" >/etc/apt/sources.list.d/pve-install-repo.list
4)添加阿里源
cp /etc/apt/sources.list /etc/apt/sources.list.orgin && echo "deb http://mirrors.aliyun.com/debian/ buster main non-free contrib deb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib deb http://mirrors.aliyun.com/debian-security buster/updates main deb-src http://mirrors.aliyun.com/debian-security buster/updates main deb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib deb-src http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib deb http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib deb-src http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib">/etc/apt/sources.list
二、去除订阅
cp /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.bak && vim /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
1)找到if (data.status !== ‘Active‘)
改为if (false)
2)重启网页服务systemctl restart pveproxy
三、上传的镜像文件路径
web上传大镜像经常会遇到失败,可以使用scp上传,虽然也会失败,但可以设置重试次数
/var/lib/vz/template/iso
相关推荐
菜鸟上路CCLinux 2020-11-04
xiaoemo0 2020-08-09
84931231 2020-07-30
82941732 2020-07-27
wh0 2020-07-27
taianxiaojia 2020-07-15
mattraynor 2020-06-25
82941732 2020-06-11
安得情怀似旧时 2020-06-08
libra0 2020-06-01
84931231 2020-05-06
Summer的小屋 2020-03-26
82941732 2020-03-10
82941732 2020-03-04
咏月东南 2020-02-25
zhongcanw 2020-02-22
hickwu 2020-02-21