Get the App
SLTechnology News&Howtos  ›  Servers  › 

Permanently modify the hostname

Shulou Source: shulou.com Published: 2022-06-03 09:53:47 12月06日 Update

Centos7:hostnamectl set-hostname $hostname

Centos6: vim / etc/sysconfig/network

HOSTNAME=$node3

Tags: Mainframe permanent Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Docker Apple Shulou Tech Info NVidia