LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to configure yum (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-configure-yum-4175427700/)

it-secret 09-17-2012 03:33 PM

how to configure yum
 
hello friends

i want ask about configure yum on RHEL

what is the steps ,

i know , going to /etc/yum.repos/

but what steps inside file ?

billkamp 09-17-2012 06:48 PM

Is the directory maybe /etc/yum.repos.d? That is what it is on Fedora, and I think on RedHat as well. See
https://access.redhat.com/knowledge/...y_Options.html
In any event, the directory has a set of files that describe various repositories and their locations. My typical set is:
adobe-linux-x86_64.repo rpmfusion-free-updates-testing.repo
fedora.repo rpmfusion-nonfree-rawhide.repo
fedora-updates.repo rpmfusion-nonfree.repo
fedora-updates-testing.repo rpmfusion-nonfree-updates.repo
rpmfusion-free-rawhide.repo rpmfusion-nonfree-updates-testing.repo
rpmfusion-free.repo virtualbox.repo
rpmfusion-free-updates.repo
-------
Google any of these names to find out how to download that particular repo as a file and put it in /etc/yum.repos.d.
These download pages will tell you how to set up the GPG signatures as well as a link to the repo files.
Good Luck

John VV 09-17-2012 08:20 PM

this IS RHEL 5 or 6 ???? right
and NOT one of the FREE rebuilds ( CentOS5.8 or 6.3 & ScientificLinux 5.8 or 6.3)

if it IS the CURRENT RHEL 6.3
you mostly DO NOT manually edit repo files
unless this IS a headless server ( then you do )

and IF RHEL 5.8 or 6.3
you MUST 100% MUST buy the REQUIRED license to install software !!!!
or
install one of the FREE rebuilds
CentOS 6.3 or ScientificLinux 6.3

Quote:

i want ask about configure yum on RHEL
seeing as RHEL is mostly installed on a server with NO GUI
( as in Gnome Desktop IS NOT INSTALLED and is ONLY a text ONLY install )
start with
Code:

su -
yum repolist all
---- and this also ---
yum update

that will output a list of what " software repos" currently ARE installed and if it is on or off
and post any error you get

if you are behind a router inside a LAN and need to connect to the outside world
then you will need to add those network settings yo the yum config

PLEASE read the RHEL documentation
https://access.redhat.com/knowledge/...erprise_Linux/

and seeing as you need to have a paid for support contract ( REQUIRED ) ask red hat
you ARE paying them for support , you might as well use it
https://access.redhat.com/support/



if this is centOS6 or SL6
see the cent wiki
http://wiki.centos.org/


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