Method 1: hostnamectl modification Step 1 Check the host name hostname Step 2 Change the host name Command form hostnamectl set-hostname hostname Revise hostnamectl set-hostname Master Step 3 Check the host name again hostname No need to restart, just open a new session to change to a new hostname Method 2: By modifying the file Modify the file vi /etc/hostname add hostname Slave01 vi /etc/sysconfig/network Add the correspondence between IP and hostname 10.238.162.33 Slave01 Reboot to take effect Method 3: Temporarily modify the host name hostname Slave01 Summarize The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links You may also be interested in:
|
<<: mysql5.7.19 winx64 installation and configuration method graphic tutorial (win10)
>>: Detailed explanation and summary of the URL for database connection
Table of contents 1. Introduction to calculator f...
Table of contents Preface What are dynamic proper...
This article uses an example to illustrate the us...
cursor The set of rows returned by the select que...
Step 1: Sign a third-party trusted SSL certificat...
Table of contents Introduction The following is a...
Configure multiple servers in nginx.conf: When pr...
Table of contents Preliminary work Backend constr...
Prerequisites To run containers on Windows Server...
This post focuses on a super secret Flutter proje...
Friends who are learning HTML, CSS and JS front-e...
background: In MySQL, if there is a limited level...
Today, let’s talk about how to start four MySQL d...
Table of contents Written in front Preface What i...
Overlay network analysis Built-in cross-host netw...