從天而降的hostname - Linux

Table of Contents

我的/etc/hosts
內容如下:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost

是靜態的ip位置

我的/etc/sysconfig/network
內容如下:

NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=localhost.localdomain


--

All Comments