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 SQL Injectio...
This article mainly introduces the example of imp...
The BGCOLOR attribute can be used to set the back...
This is my first blog post. Due to time constrain...
Table of contents 1. Overview 2. Attributes 1. Ma...
1. List The list ul container is loaded with a fo...
Zabbix 2019/10/12 Chenxin refer to https://www.za...
In SQL, GROUP BY is used to group data in the res...
Table of contents Overview 1. Develop the require...
I recently wrote a script for uploading multiple ...
Today, I logged into the server and prepared to m...
Specify in CSS style file #class td /*Set the tab...
1. Clarify the design direction <br />First,...
Table of contents 1 What is function currying? 2 ...
After being tortured by the front-end cross-domai...