User Tools

Site Tools


os:proxmox_ve:misc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
os:proxmox_ve:misc [2020-04-10 18:08] Manuel Freios:proxmox_ve:misc [2020-05-19 23:29] (current) Manuel Frei
Line 1: Line 1:
-====== Proxmox VE - Misc ======+====== Misc ======
  
 ===== Configure Community Repository ===== ===== Configure Community Repository =====
Line 32: Line 32:
 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 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
 </code> </code>
 +
 +===== perl: warning: Setting locale failed. =====
 +
 +If you execute some commands on the shell like apt, you can encounter an error message like this: 
 +<code>
 +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.
 +</code>
 +
 +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.
 +
 +<code>
 +dpkg-reconfigure locales
 +</code>
 +
 +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.
os/proxmox_ve/misc.1586534897.txt.gz · Last modified: 2020-04-10 18:08 by Manuel Frei