perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Doing the following commands will set LOCALE settings for your Ubuntu Server so that you will not see those message anymore.
locale-gen "en_US.UTF-8"
The command above will generate locale settings. The output should look like this:
Generating locales (this might take a while)...
en_US.UTF-8... done
Generation complete.
Next you need to pick the right LOCALE and it will reconfigure your server to use that LOCALE.
dpkg-reconfigure locales
The command above will output something like this:
Generating locales (this might take a while)...
en_US.UTF-8... done
Generation complete.
>> You may also like to set the local time zone at this time, click the list below to see how to set your local time zone:
https://ubuntu-server-how-to-tips-tricks.blogspot.com/2017/08/set-local-time-zone-for-ubuntu-debian.html