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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-18-2003, 03:14 PM
|
#1
|
Member
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian
Posts: 284
Rep:
|
changing Localhost.localdomain
Hello,
I am running Rehat 7.3 with a KDE desktop. I need to know how to change the Localhost.localdomain to what I want it to say.
Thanks
Mike
|
|
|
08-18-2003, 03:18 PM
|
#2
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
Edit the /etc/sysconfig/network file.
Add your new hostname on the HOSTNAME line.
You will have to restart the Network service and fully logout in order for the changes to take effect.
|
|
|
08-18-2003, 03:21 PM
|
#3
|
Member
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163
Rep:
|
Or just type this in the command line :
Code:
hostname new_hostname
|
|
|
08-18-2003, 03:22 PM
|
#4
|
Member
Registered: Jul 2003
Location: Boston, MA, USA
Distribution: RedHat, SuSE, Gentoo, Slackware, Mandrake ...
Posts: 111
Rep:
|
You can also do this using KDE's desktop tools. Select System Settings->Network from the system menu at the left of the tool panel, and select the DNS tab in there. You can enter your host name and domain name there, along with the DNS server IP addresses.
|
|
|
08-18-2003, 03:26 PM
|
#5
|
Member
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian
Posts: 284
Original Poster
Rep:
|
thank you,
MactheHack, I saw that same thing in someone else's thread and tried looking, I cant find it anywhere
Mike
|
|
|
08-18-2003, 04:41 PM
|
#6
|
Member
Registered: Jul 2003
Location: Slovenia
Distribution: Slackware & FreeBSD
Posts: 209
Rep:
|
Brother Michael,
try using search option, becouse this question has been asked and answered many times.
Oh, and besides /etc/sysconfig/network (which is RH specific) you will have to add a line in your /etc/hosts
Enjoy
|
|
|
08-18-2003, 09:01 PM
|
#7
|
Member
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian
Posts: 284
Original Poster
Rep:
|
yea I'm sorry, I figured it had been. I didn't mean to beat a dead horse here. I will do that in the future.
Thank you.
|
|
|
All times are GMT -5. The time now is 12:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|