<div dir="ltr">Hello,<br><br>you can do it from here.<br>go through System >> Network >> Hosts <br><br>edit host name from here.<br><br>all things you have done till now are correct.<br> <br><br>
<div class="gmail_quote">On Sat, Sep 13, 2008 at 11:36 AM, Niki Kovacs <span dir="ltr"><<a href="mailto:contact@kikinovak.net">contact@kikinovak.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I recently made a CentOS install on a machine with an unsupported network card. I had to add the driver for it later, once I finished the install. For now I have this:<br>
<br>
[kikinovak@localhost ~]$ hostname --fqdn<br>
localhost.localdomain<br>
<br>
Q: how would I change this to something like calimero.local?<br>
<br>
Here's what I *would* do, but I prefer to ask before.<br>
<br>
1) edit /etc/sysconfig/network and edit this line:<br>
<br>
HOSTNAME=calimero.local<br>
<br>
2) add a line to /etc/hosts like this:<br>
<br>
# Do not remove the following line, or various programs<br>
# that require network functionality will fail.<br>
<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> localhost.localdomain localhost<br>
<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> calimero.local calimero<br>
::1 localhost6.localdomain6 localhost6<br>
<br>
Please correct me if I'm wrong.<br>
<br>
cheers,<br><font color="#888888">
<br>
Niki Kovacs<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org" target="_blank">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards,<br>Kapil Singh Kushwah<br>Linux System/Network Administrator<br>Hotwax Media Inc.<br>Indore,(M.P) INDIA<br><br>
</div>