我偶尔会遇到语言环境错误,我尝试运行 dpkg-reconfigure locales 来解决这个问题。这是输出:
:~$ sudo dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: …Run Code Online (Sandbox Code Playgroud) 原谅我的问题的幼稚,但我正在采取婴儿措施。
我已经阅读了为什么使用 SSH 密钥登录我的服务器很重要。但是,在我看来,如果您仅从一台计算机登录到服务器,这将最有用。
如果我不在我的常规计算机并且需要登录到服务器怎么办?
谢谢