LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-24-2003, 07:47 PM   #1
JustinBee
LQ Newbie
 
Registered: Apr 2003
Location: Central NY
Distribution: Redhat 8.0
Posts: 8

Rep: Reputation: 0
Computer Name


How to you change the computer name of a Redhat 8/9 computer? I installed Linux, and it did not ask for a computer name. I wanted to give it a unique name so that I could recognize it on the network.
 
Old 06-24-2003, 07:50 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
"hostname mynewcomputername"
 
Old 06-24-2003, 09:00 PM   #3
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
/etc/hostname or /etc/HOSTNAME
just put something in it
 
Old 06-25-2003, 11:18 AM   #4
JustinBee
LQ Newbie
 
Registered: Apr 2003
Location: Central NY
Distribution: Redhat 8.0
Posts: 8

Original Poster
Rep: Reputation: 0
Talking

Thanks guys. that worked.
 
Old 06-25-2003, 11:37 AM   #5
hemanth_13
LQ Newbie
 
Registered: Jun 2003
Location: Chennai
Distribution: Red Hat Linux 8.0
Posts: 12

Rep: Reputation: 0
Changing the hostname in /etc/sysconfig/network will also work
 
Old 06-25-2003, 01:57 PM   #6
Electboy
Member
 
Registered: May 2003
Location: VietNam
Distribution: RedHat 9.0
Posts: 79

Rep: Reputation: 15
u have to change both : /etc/sysconfig/network, and /etc/hostname, without one of them Linux will show error
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing linux on a computer and use hard disk on another computer danrweki Linux - Newbie 8 11-16-2005 11:11 PM
Internet is slower on my win computer than on my linux computer eXor Linux - Networking 1 12-03-2004 09:58 AM
Can't copy files from an SCO Unix System V computer to a Linux computer gnppapas Linux - General 2 11-27-2004 02:39 PM
Why would a windows computer smoke a linux computer for download speed ? lostboy Linux - General 4 10-21-2003 06:20 PM
How can i portage Linux from computer with Celeron proc to computer with Pentium 166? gdi Linux - General 4 05-31-2003 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:51 AM.

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
Open Source Consulting | Domain Registration