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
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
On Wed, Jul 6, 2011 at 10:06 PM, John J. Boyer <john.boyer@abilitiessoft.com
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
On Thursday 07 Jul 2011 03:06:31 John J. Boyer wrote:
I also want to change the domain name to abilitiessoft.com
Put:
<YOUR_IP> 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
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
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