Install Proxmox VE 6.x

After installed Proxmox VE 6.x, What we gone do ?

Download Proxmox VE 6.x iSO file in mirrors.ustc.edu.cn

Download iso images from here:

http://mirrors.ustc.edu.cn/proxmox/iso/

Fixe Perl error waring

export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
#locale-gen en_US.UTF-8
cat >> /etc/environment <<EOF
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
EOF

Disable subscription Warning

  • Disable subscription warning via script
sed -i.bak "s/data.status !== 'Active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
  • Manually disable subscription warning
cd /usr/share/javascript/proxmox-widget-toolkit
cp proxmoxlib.js proxmoxlib.js.bak
nano proxmoxlib.js

# change the value as show below
if (data.status !== 'Active') {
#to
if (false) {

#restart pveproxy.service
systemctl restart pveproxy.service

Chang apt sourcelist to mirrors.ustc.edu.cn

#Backup sources.list
mv /etc/apt/sources.list /etc/apt/sources.list.backup


# Change debian 10 sourcelist to mirrors.ustc.edu.cn
# https://mirrors.ustc.edu.cn/repogen/

cat << EOF > /etc/apt/sources.list
deb https://mirrors.ustc.edu.cn/debian/ buster main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ buster main contrib non-free

deb https://mirrors.ustc.edu.cn/debian/ buster-updates main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ buster-updates main contrib non-free

deb https://mirrors.ustc.edu.cn/debian-security/ buster/updates main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian-security/ buster/updates main contrib non-free
EOF

# Add pve-no-subscription with mirrors.ustc.edu.cn
#change pve 5.x update source list
cat << EOF >> /etc/apt/sources.list
deb https://mirrors.ustc.edu.cn/proxmox/debian/pve/ buster pve-no-subscription
EOF

##change ceph source list to utsc mirrors
cat << EOF >>  /etc/apt/sources.list
deb https://mirrors.ustc.edu.cn/proxmox/debian/ceph-nautilus/ buster main
EOF

# Add Key
wget https://mirrors.ustc.edu.cn/proxmox/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg


# Delete `pve-enterprise.list`
rm -rf /etc/apt/sources.list.d/pve-enterprise.list

# Upgrade pve
apt update && apt -y dist-upgrade
pveupdate && pveupgrade -y


# update grub settings
update-grub


Install openvswitch

apt install -y openvswitch-switch