PVE Wiki: Package Repositories
DEB_VER="$(awk -F= '/^VERSION_CODENAME=/{print $2}' /etc/os-release)" echo "deb http://download.proxmox.com/debian/pve ${DEB_VER} pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
mv /etc/apt/sources.list.d/pve-enterprise.list{,.disabled}
sed -i.bak 's/NotFound/Active/g' /usr/share/perl5/PVE/API2/Subscription.pm systemctl restart pveproxy.service
Tested with pve-manager/6.1-3/37248ce6 (running kernel: 5.3.10-1-pve)
Replace <proxmoxip> by the ip address of your proxmox server.
iptables -t nat -I PREROUTING --src 0/0 --dst "<proxmoxip>" -p tcp --dport 80 -j REDIRECT --to-ports 8006 iptables -t nat -I PREROUTING --src 0/0 --dst "<proxmoxip>" -p tcp --dport 443 -j REDIRECT --to-ports 8006
If you execute some commands on the shell like apt, you can encounter an error message like this:
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_ADDRESS = "de_CH.UTF-8", LC_NAME = "de_CH.UTF-8", LC_MONETARY = "de_CH.UTF-8", LC_PAPER = "de_CH.UTF-8", LC_IDENTIFICATION = "de_CH.UTF-8", LC_TELEPHONE = "de_CH.UTF-8", LC_MEASUREMENT = "de_CH.UTF-8", LC_TIME = "de_CH.UTF-8", LC_NUMERIC = "de_CH.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). locale: Cannot set LC_ALL to default locale: No such file or directory dpkg-query: package 'locale' is not installed and no information is available Use dpkg --info (= dpkg-deb --info) to examine archive files.
This happens because the locale de_CH.UTF-8 is defined, but the required files weren't generated. To resolve this issue, reconfigure your locales.
dpkg-reconfigure locales
Search for de_CH.UTF-8 or whatever locale you are using. Hit Space to get an * in the box. Press the OK button. Confirm en_US.UTF-8 as your default locale. Both locale files will be generated.