上一篇 下一篇 分享链接 返回 返回顶部

Centos7.6如何用hostnamectl命令设置主机名

发布人:管理员 发布时间:2025-03-02 11:17 阅读量:135

Centos7.6如何用hostnamectl命令设置主机名

Centos7.6如何用hostnamectl命令设置主机名呢?本文给出周密说明。

1.显示当前主机设置,hostnamectl status

2.设置主机名,hostnamectl set-hostname 主机名

3.再次查看主机设置,hostnamectl status

目录结构
全文