This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
настройка_сети_в_linux [2023/06/07 09:01] val [Файлы конфигурации ifupdown (Debian/Ubuntu<18)] |
настройка_сети_в_linux [2023/06/07 09:02] val [Общие файлы конфигурации] |
||
---|---|---|---|
Line 90: | Line 90: | ||
<code> | <code> | ||
- | # hostnamectl set-hostname server2 | + | # hostnamectl set-hostname server.corpX.un |
+ | |||
+ | # cat /etc/hostname | ||
+ | </code><code> | ||
+ | server.corpX.un | ||
+ | </code> | ||
# cat /etc/hosts | # cat /etc/hosts |