If you want to change your host name, you can follow the steps below. Using hostname Using # hostname newhostname Enter At this time, our host name has changed, why is it still Modify the configuration file If you want to permanently change your hostname, you need to follow the steps below Modify the file Among them, mylinux is the host name to be set, then save and exit, restart the system and you will read the configuration file and set the host name to the new hostname. If you do not want to restart the system at this point, you can use This completes the host name setting. Hosts File Generally, you do not need to modify the hosts file to change the host name. The So if you want to change the host name, just modify the The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Implementation of Vue3 style CSS variable injection
>>: Detailed tutorial on installing MySQL offline on CentOS7
This article shares the specific code of Vue usin...
Linux uses iftop to monitor the traffic of the ne...
Overview In the previous chapter, we learned abou...
This article shares the specific code of React+ts...
Add the jvm.options file to the elasticsearch con...
Table of contents 2. Purpose 2.1 Adding propertie...
This article shares the specific code of jQuery t...
Cerebro is an evolution of the Elasticsearch Kopf...
Table of contents MySQL Truncate usage 1. Truncat...
1. Overview The information_schema database is th...
This article uses examples to illustrate the use ...
The docker create command can create a container ...
Solution to Host 'xxxx' is not allowed to...
Table of contents MutationObserver API Features I...
New Questions Come and go in a hurry. It has been...