app教程网 综合百科 linux系统时间修改(linux系统修改时间)

linux系统时间修改(linux系统修改时间)

只有两个文件需要修改:

1. vi /etc/hosts

/etc/hosts的内容通常类似于以下内容:

127.0.0.1 localhost.localdomain localhost192.168.1.195 debian.localdomain debian

修改:localhost.localdomain=yourname保存退出。

2. vi /etc/sysconfig/network

可以直接修改配置文件/etc/sysconfig/network。

Here is a host name=your name.

直接修改就行了。

本文来自网络,不代表本站立场,转载请注明出处:https: