LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 06-02-2012, 10:25 PM   #1
Kato
LQ Newbie
 
Registered: Jun 2012
Posts: 8

Rep: Reputation: Disabled
Question How to permanently change hostname? and are there repercussions to applications?


When I first installed RHEL6 as the OS for my machine I built, I entered the hostname as 'B.A.M.'
I did not realize it at the time, but the periods cause my command terimnal line to just appear as 'Kato@B:'
I would like it to appear as 'Kato@BAM:'

I have tried to change it and thought that I did so, but every time I reboot, my command terminal line reverts back to the old 'Kato@B:'

Q. How do I permanently change my host name to 'BAM'? AND are there possible repercussions to retrieving files or using applications that I am not aware of once I do change the hostname to 'BAM'?

Still learning.
 
Old 06-02-2012, 11:01 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,340
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
This article outlines how to change the hostname on RHEL:

http://www.brandonhutchinson.com/Cha...e_on_RHEL.html

The hostname is relevant only to networking as to how other machines see the computer. It should have no effect on local applications that you use, nor on applications you retrieve from other machines.

Last edited by frankbell; 06-02-2012 at 11:02 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing hostname, dnsdomainname, and domainname permanently. xemous Linux - Networking 6 12-16-2009 02:21 PM
after hostname change, syslogd still output previous hostname to messages file tiger2000 Linux - General 3 07-22-2009 10:36 PM
how to change hostname permanently in debian etch apachenew Debian 5 08-20-2007 09:11 PM
Want to set hostname permanently on new fedora install DPenguin Linux - Newbie 2 02-04-2005 03:31 PM
Permanently change the hostname juby Linux - Software 13 05-10-2003 01:34 PM


All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration