我使用的是 Ubuntu 10.04 LTS,当我输入命令时hostname --fqdn
,我收到消息:hostname: Name or service not known
。
因此,我无法global
成功安装,并在尝试时出现以下错误:
Setting up global (5.7.1-1) ...
hostname: Name or service not known
dpkg: error processing global (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
global
E: Sub-process /usr/bin/dpkg returned an error code (1)
Run Code Online (Sandbox Code Playgroud)
我的/etc/nsswitch.conf
是下面。
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages …
Run Code Online (Sandbox Code Playgroud) 我的服务器出现了一些安全问题,因为一些 SSH 用户造成了问题。
所以我想:
目前的统计数据证实:
在 312Mb 中使用了 100Mb 的 RAM,也使用了 31Mb 的虚拟内存。
无论如何,我可以阻止操作系统使用虚拟内存而不是 RAM 吗?我知道当 RAM 饱和时会发生这种情况,并且操作系统除了硬盘之外没有其他地方可以存储数据。但是虚拟内存似乎并没有下降,相反,它看起来更喜欢呆在那里。
我不确定这是否是一个问题,因为也许这并不一定意味着在 ram 上使用了虚拟内存。
帮助将不胜感激!谢谢!:)
我偶尔会在 linux 中使用screen。
我的连接时不时会出现并且我无法访问 ssh shell,当我尝试将自己重新连接到屏幕实例时,这就是我得到的:
There is a screen on:
2690.pts-0.localhost (09/03/10 12:56:08) (Attached)
There is no screen to be resumed.
Run Code Online (Sandbox Code Playgroud)
知道在这种情况下我能做什么吗?我猜屏幕相信我仍然依恋,而我不是。
:)
ubuntu ×4
linux ×3
ssh ×2
command-line ×1
gnu-screen ×1
hostname ×1
logging ×1
memory ×1
networking ×1
security ×1
ubuntu-9.10 ×1