Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-30-2012, 07:06 PM
|
#1
|
LQ Newbie
Registered: Jun 2012
Posts: 1
Rep:
|
I need to change hostname in RedHat 5.6 - Help needed
I need to change the hostname of a server with RHEL 5.6.
Can someone provide a reliable and supported procedure to do that?
Thank you.
|
|
|
06-30-2012, 08:56 PM
|
#2
|
LQ Guru
Registered: Oct 2004
Distribution: Arch
Posts: 5,324
|
|
|
|
07-01-2012, 04:20 AM
|
#3
|
Member
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855
Rep:
|
Forgive me if this seems rude but have you looked into the manpages of 'hostname'. Yes, there are some people here who have all the answers you need but the point of linux is to look things up for yourself and unless you are willing to do that there would always be this peculair gap in your knowledege that would make you impossible to understand even the bare bsics.
|
|
|
07-01-2012, 01:08 PM
|
#5
|
Member
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855
Rep:
|
@jefro - yes sir I understand that hostname will _not_ change the name permanently. But the reading of the man pages will give the OP a lot of information as to how things work It was supposed to be the starting point for the OP - atleast that was what my intention was.
I apologise if there was any miscommunication.
|
|
|
07-01-2012, 04:21 PM
|
#6
|
Moderator
Registered: Mar 2008
Posts: 22,177
|
honeybadger,
I wasn't picking on you. Just wanted to say that the command hostname is sort of what the OP asked but not really what one would use in real life. It could be a new person just asking a homework question. Dunno.
You may not have known that teckk posted a link to hostname.
I did have to look up the range of a honey badger and also the urban dictionary meaning. Odd that a fierce animal is also a term for one that doesn't care.
|
|
|
07-01-2012, 09:01 PM
|
#7
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,647
|
also this is red hat
so the VERY first stop the OP should make with a question on how to do something should be the knowledge base
https://access.redhat.com/knowledge/search
|
|
|
All times are GMT -5. The time now is 01:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|