LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-14-2012, 04:44 PM   #1
Vinay Nagrik
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
rpm configuring /etc/hosts file


Hello Group,

I am having some problems in my /etd/hosts file, where unwanted matching appears between IP addresses and hostnames.

Could someone please tell me, which is centos rpm, which configures /etc/hosts file.

Thanks in advance

nagrik
 
Old 03-14-2012, 04:47 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
dont need to configure /etc/hosts for yum to function. you need to ensure you have the correct repos installed.

http://wiki.centos.org/AdditionalResources/Repositories

not sure if that will help, but check it out anyways.
 
Old 03-14-2012, 09:10 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,294

Rep: Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358
You need to show us your hosts file so we can help you
 
Old 03-14-2012, 11:10 PM   #4
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
How do you came to know unwanted matching appears between IP address and hostnames? What exactly you want to do?
 
  


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
How to tell what process last wrote to a file? - hosts file being updated by unk kcoriginal Linux - General 1 12-28-2008 11:53 PM
Configuring Apache and OpenWebMail for Virtual Hosts krasl Linux - Software 5 03-16-2006 08:00 AM
Aggregated RPM DB from multiple hosts scylla Linux - Enterprise 1 11-10-2004 04:38 PM
does the /etc/hosts file work same as the M$ hosts file? Lleb_KCir Linux - Software 6 04-03-2004 04:33 PM
Configuring Virtual Hosts in Apache 2 w/ Mandrake Linux 9.1. bnscomp Linux - Software 3 10-10-2003 12:20 PM


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

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