Change the hostname to server_3
1. Use the command to modify
hostnamectl set-hostname server_3
2. Modify the configuration file /etc/hostname
vi /etc/hostname
server_3
~
~
~
~
~
~
~
Restart to take effect