LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-26-2006, 02:14 AM   #1
Sailesh
LQ Newbie
 
Registered: Jul 2006
Posts: 16

Rep: Reputation: 0
Changing hostname in Linux and gcc installation


Hi,

I want to change my hostname. But it is just changing temporarily.
I am doing like this

#hostname ABCD

Is it proper? or just tell me how i can do it?

-----------------

I want to install gcc in my linux system, what is the simplest way to do it? I downloaded a rpm and it tells that it needs some dependencies. Help me in this regard also...

It is urgent as I got work to do...

Thanks
 
Old 07-26-2006, 02:19 AM   #2
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
what distro are u using? i suspect red hat types, the hostname could be set in the file /etc/sysconfig/network. vi open the file and set your hostname there for keeps.
 
  


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
hostname keeps changing zulfinho Linux - Newbie 3 01-16-2006 05:32 AM
Changing the hostname in Linux Suse 9.3 pro sfzab SUSE / openSUSE 1 12-09-2005 08:06 AM
hostname changing rusty_slacker Linux - General 2 04-15-2005 07:49 PM
Changing hostname tristan2600 Linux - Newbie 1 10-17-2003 09:18 PM
changing hostname glock19 Linux - Networking 3 02-01-2002 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:15 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