LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-17-2004, 10:16 AM   #1
mosh
LQ Newbie
 
Registered: Jun 2004
Posts: 10

Rep: Reputation: 0
Changing the localhost name in RH9


Hi all,

How can I change the linux machine name "localhost" to any other name by command line ?

Thanks,

Mosh.
 
Old 06-17-2004, 10:21 AM   #2
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
I think you just have to edit the /etc/hosts file

Quote:
127.0.0.1 localhost <your host name>
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing from localhost? purelithium Mandriva 3 11-08-2005 07:52 PM
Changing localhost name aje Linux - General 1 11-11-2004 10:23 PM
Changing name from localhost jbraum Mandriva 9 01-17-2004 01:04 AM
changing Localhost.localdomain Brother Michael Linux - Newbie 6 08-18-2003 09:01 PM
changing localhost endfx Linux - Software 6 05-15-2003 05:27 PM


All times are GMT -5. The time now is 05:17 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration