每次我执行诸如启动或停止服务之类的操作时都会收到此消息。
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_MESSAGES = "en_US.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_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database …Run Code Online (Sandbox Code Playgroud) 当我使用命令重新启动我的 Apache 服务器时
sudo /etc/init.d/apache2 restart
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting apache2:
Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
Run Code Online (Sandbox Code Playgroud)
服务器是否使用 127.0.1.1 而不是 127.0.0.1?是什么导致了这个错误?
我曾经top看过目前的内存使用情况。但我想监控一段时间内的内存使用情况。比如开始监控,然后执行一些命令,最后停止监控,看看这段时间用了多少内存。
我怎样才能在 Ubuntu 服务器上做到这一点?
我想我可以每 5 秒左右启动一次 cronjob,并调用一个命令,在文本文件中记录当前内存使用情况。但是我应该使用什么命令以易于记录到文本文件的格式获取当前内存使用情况?
我从 SLES 切换到 Ubuntu,现在我想重新启动本地服务器。在 SLES 中,我使用了:
rcapache2 restart
Run Code Online (Sandbox Code Playgroud)
但这在 Ubuntu 中似乎不起作用。:(
如何重新启动我的 Apache?
我最近安装了 Ubuntu Server 版本 13.10(Saucy Salamander)。但我遇到了一些问题。
在安装结束时,它会询问您是否需要几个额外的包,例如 OpenSSH 服务器和虚拟机主机。这是我在看的:
现在,我的问题是我不记得是否选中了“虚拟机主机”复选框。如何检查我的服务器是否有相应的包?
虚拟机主机自带哪些包?
server package-management virtualization system-installation
作为 Linux/Ubuntu 新手,什么是 LVM,它有什么用途?
就 Web 服务器安装而言,它提供了什么好处?
你会推荐使用它吗?
第一次尝试运行 Ubuntu 服务器......但一切都在终端中。有没有办法切换到GUI?
我目前有这些语言环境:
locale -a
C
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZW.utf8
POSIX
Run Code Online (Sandbox Code Playgroud)
如何将ru_RU语言环境安装到我的服务器?
我想看看我的机器上打开了哪些端口,例如我的机器正在侦听哪些端口。例如,如果我安装了 Web 服务器,则使用端口 80,等等。
有没有这方面的命令?
server ×10
apache2 ×2
locale ×2
command-line ×1
gui ×1
logging ×1
lvm ×1
memory ×1
memory-usage ×1
monitoring ×1
networking ×1
partitioning ×1
services ×1