lunedì 10 marzo 2014

Cenots set Fully Qualified Domain Name Glasshfish problem

How to configure fqdn on centos for your linux box on private lan
Remeber that domain must be always full qualified,  domain + extension  (local + .com)

Example data:
Server Name ----------------------------------- gffp01t
Static ip -----------------------------------------
Local domain (for your lan example) ------ 

1 Edit Hosts File
$ sudo vim /etc/hosts localhost localhost.localdomain localhost4 localhost4.localdomain4 gffp01t gffp01t
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 
::1 gffp01t

2 Edit network $ sudo vim  /etc/sysconfig/network

Reboot system  

4 Verify
$ hostname
$ hostname -f

Nessun commento:

Posta un commento