Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-20-2011, 06:50 AM   #1
Registered: Aug 2009
Posts: 89

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



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

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