Keyword search: 

Linux hostname settings

5/3/2017 12:43 PM
You can subscribe to this wiki article using an RSS feed reader.

FRP will not configure itis enviroment correctly at startup unless the following hostname requiremnets are met.   Failure to meet this requirement will result in a non working installation and errors in the logs related to the "Configuration Factory"

 
1. For Red Hat or Centos  you ust set the hostname in TWO locations,

  1. Modify the file /etc/sysconfig/network  with your hostname IE:  "dataserver"

  2. A matching entry must be entered in /etc/hosts    IE:  "dataserver"

Here is how file /etc/sysconfig/network looks on a typical Red Hat 5.6 box:
 
cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=splab14

 
2. In SLES

Set the hostname in the file /etc/HOSTNAME     IE:  "dataserver"

As well as file /etc/hosts   These entries must match in both files    IE:  "dataserver"
 
3. In other distributions the setting of the hostname done during the installation of the Operating System is sufficent.
 

Tags:
Home: WIKI - Knowledge Base Index What's new: Recently changed articles