LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-20-2011, 06:50 AM   #1
chuikingman
Member
 
Registered: Aug 2009
Posts: 86

Rep: Reputation: 16
change IP and hostname in red hat ES 5


how I can change IP and hostname in red hat linux es 5 command mode , not in desktop GUI???
please advice in detailed
 
Old 07-20-2011, 12:38 PM   #2
dafydd2277
Member
 
Registered: Mar 2010
Posts: 58

Rep: Reputation: 5
As root, the "hostname" command will accept the new hostname as an argument. To change the IP address, use "ifconfig" with switches for the IP address and the appropriate interface.

To make the changes permanent, you'll have to modify/verify the change in /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-<interface>.

Cheers!
 
  


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
Red Hat Linux Logical hostname drani Red Hat 3 03-03-2011 01:10 PM
how to change language in Red Hat RMLinux Debian 1 06-17-2008 03:14 AM
Change to red hat sajjadc Linux - Software 2 06-19-2005 08:27 AM
Why cant I change my resolution in Red Hat 9? neozero62 Linux - Newbie 3 10-25-2003 11:39 AM
change resolution in red hat 7? TheWoodchuck Linux - General 2 01-02-2002 01:38 PM


All times are GMT -5. The time now is 05:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration