Last update at :2024-04-26,Edit by888u
The Linux host name needs to be changed when installing virtual machines such as KVM. The following is to modify the default host name.
1. Modify the /etc/sysconfig/network configuration file.
vi /etc/sysconfig/networkChange localhost.localdomain to your domain name, such as us.com
2. Modify /etc/hosts
vi /etc/hostsChange the localhost in the yellow part to your host name, like ours
3. Restart
rebootRecommended site searches: icp registration query system, domain name registration query, Hong Kong server purchase Ministry of Industry and Information Technology website registration system, legendary server rental, website registration and cancellation, domain name space registration, cm domain name, registration-free cdn, asp host space,
发表评论