Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-26-2006, 02:14 AM   #1
LQ Newbie
Registered: Jul 2006
Posts: 16

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


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...

Old 07-26-2006, 02:19 AM   #2
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.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:15 PM.

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