Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rubi022/9dc9339a7b8a80f80d2efad965228900 to your computer and use it in GitHub Desktop.
Save rubi022/9dc9339a7b8a80f80d2efad965228900 to your computer and use it in GitHub Desktop.
How to setup a community version of Proxmox VE 5.x-6.x
#Install Proxmox VE on Debian Stretch
#https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Stretch
# Disable Commercial Repo
sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list
apt-get update
# Add PVE Community Repo
echo "deb http://download.proxmox.com/debian/pve $(grep "VERSION=" /etc/os-release | sed -n 's/.*(\(.*\)).*/\1/p') pve-no-subscription" > /etc/apt/sources.list.d/pve-no-enterprise.list
apt-get update
# Remove nag
echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/data.status/{s/\!//;s/Active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" > /etc/apt/apt.conf.d/no-nag-script
apt --reinstall install proxmox-widget-toolkit
#network ip update and working..
#https://www.youtube.com/watch?v=CvBiUQCo718
@rubi022
Copy link
Author

rubi022 commented Feb 29, 2020

ln -s /etc/network/interfaces interfaces
ln -s /var/lib/vz/images images
ln -s /var/lib/vz/template/iso iso
cd iso
wget http://releases.ubuntu.com/18.04.4/ubuntu-18.04.4-desktop-amd64.iso

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment