Red_Hat
RH302 · Question #19
Set the Hostname station?.example.com where ? is your Host IP Address.
1. Set the hostname for the current session: hostname station?.example.com To set the hostname permanently: 2. Edit /etc/sysconfig/network: `` HOSTNAME=station?.example.com ` 3. Restart the network service: service network restart`
System configuration
Question
Set the Hostname station?.example.com where ? is your Host IP Address.
Explanation
- Set the hostname for the current session:
hostname station?.example.com
To set the hostname permanently:
2. Edit /etc/sysconfig/network:
HOSTNAME=station?.example.com
- Restart the network service:
service network restart
Topics
#hostname#system identity#/etc/sysconfig/network
Community Discussion
No community discussion yet for this question.