Re: [CentOS] Changing Host Name

2011-07-06 Thread Andrew Harley
On Thu, 7 Jul 2011 12:06:31 PM John J. Boyer wrote:
> Thanks to all of you who are answering my dumb questions about my new
> CentOS instgallation.
> 
> I modified /etc/hosts, as the hostname man page seemed to suggest, and
> rebooted. The hostname is still localhost. I want to change it to
> jjb-centos. I also want to change the domain name to abilitiessoft.com
> 
> Thanks,
> John

Hi John,

Hostname will need to be changed under /etc/sysconfig/network to be retained 
upon startup. The hostname command should change the hostname immediately 
iirc.

Cheers,

Andy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Changing Host Name

2011-07-06 Thread Earl Ramirez
On Wed, Jul 6, 2011 at 10:06 PM, John J. Boyer  wrote:

> Thanks to all of you who are answering my dumb questions about my new
> CentOS instgallation.
>
> I modified /etc/hosts, as the hostname man page seemed to suggest, and
> rebooted. The hostname is still localhost. I want to change it to
> jjb-centos. I also want to change the domain name to abilitiessoft.com
>
> Thanks,
> John
>
> --
> John J. Boyer; President, Chief Software Developer
> Abilitiessoft, Inc.
> http://www.abilitiessoft.com
> Madison, Wisconsin USA
> Developing software for people with disabilities
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

You can change the host name by modifying the /etc/sysconfig/network

-- 
Kind Regards
Earl Ramirez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Changing Host Name

2011-07-07 Thread Michael Gliwinski
On Thursday 07 Jul 2011 03:06:31 John J. Boyer wrote:
> I also want to change the domain name to abilitiessoft.com

Put:

  jjb-centos.abilitiessoft.com  jjb-centos

into /etc/hosts.  But that will only define the domain from the perspective of 
this host itself.  You'll also need to add this host's address to DNS for 
abilitiessoft.com


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**
The information in this email is confidential and may be legally privileged.  
It is intended solely for the addressee and access to the email by anyone else 
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or 
any action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail 
are subject to the terms and conditions expressed  in the governing client 
engagement leter or contract.
If you have received this email in error please notify 
supp...@henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, 
BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Changing Host Name

2011-07-07 Thread Harry Sukumar
Hi John,

You have to also change this file

/etc/sysconfig/network

in the HOSTNAME field change it to your desired name

Regards

Harry Sukumar


  .-.
  /v\   L   I   N   U   X
 // \\ >Phear the Penguin<
/(   )\
 ^^-^^


John J. Boyer wrote:
> Thanks to all of you who are answering my dumb questions about my new 
> CentOS instgallation. 
> 
> I modified /etc/hosts, as the hostname man page seemed to suggest, and 
> rebooted. The hostname is still localhost. I want to change it to 
> jjb-centos. I also want to change the domain name to abilitiessoft.com
> 
> Thanks,
> John
> 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Changing Host Name

2011-07-08 Thread Simon Matter
> Hi John,
>
> You have to also change this file
>
> /etc/sysconfig/network
>
> in the HOSTNAME field change it to your desired name

And if you configure interfaces using DHCP, you may also check
/etc/sysconfig/network-scripts/ifcfg-eth? for DHCP_HOSTNAME (or something
similar) and change it.

Simon

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos