Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Naming A Linux Box, Instalation didn't give option to name
0233453569
post May 15 2003, 11:37 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 15-May 03
Member No.: 840



I just installed Red Hat Linux 7.0 and had to use text mode to install. No option was given to name the machine. Is there some file perhaps in /etc that I could just edit, or would I need to recompile, etc.? localhost just isn't doing it for me.
Go to the top of the page
 
+Quote Post
Corey
post May 15 2003, 03:13 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



It's been a while, but, try the "hostname" program or edit /etc/hostname . You may need to edit your /etc/hosts file as well.


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
Hemant
post May 15 2003, 07:07 PM
Post #3


RMS is my Hero
******

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29



well
1.enter command hostname
#hostname <hostname_u_want>
2.edit /etc/hosts file
and make a entry like this
127.0.0.1 <hostname_u_want> localhost
and don't delete the existing entry
3.edit file /etc/sysconfig/network
and change the hostname there
4.if have apache running the edit the file /etc/httpd/conf/httpd.conf
and uncomment the line related to the server name and put ur preferred name there


--------------------
Hemant Kumar
user posted image
hemant@linuxhelp.net
Go to the top of the page
 
+Quote Post
Corey
post May 16 2003, 08:38 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



gethemant: Thanks, whenever i answer questions in this forum, i'm usually at work on a windows 2000 computer, so almost every question I answer is from memory. But it's great to have a bit of backup smile.gif


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th December 2017 - 12:53 PM