Instructions
Five part to setup
-
Edit network file
1 2 3sudo vim /etc/sysconfig/network #Edit hostname HOSTNAME={hostname} -
Edit hosts
1 2 3sudo vim /etc/hosts #################### add hostname to 127.0.0.1 and ::1 -
use hostnamectl command
1hostnamectl set-hostname hostname.domain.com -
Restart network service
1/etc/init.d/network restart
Related articles
-
Page:
-
Page:
-
Page:
-
Page: