Setting up local YUM Repositories for both 32 bit and 64 bit on RHEL 5.x

HI Experts,
I would like to set up local YUM repository for RHEL 5.3. I need to set up local repositories for 32bit and 64bit on one YUM local repo server.
I know how to set up a yum repo for one architecture. But no clue about both 32/64 on same server.

Please help me.
netlynkerAsked:
Who is Participating?
 
farzanjCommented:
Make a separate repo file for each custom repository

vi /etc/yum.repos.d/name.repo

And insert the following text in it.

[My ISO Repository]
baseurl=file:///mnt/path/to/dir/
enabled=1
0
 
farzanjCommented:
First you need to find out the directory locations of the local repos -- repomd.xml files.

Once you locate the path of those files, you can create a file to point to those.

So then you need to create/modify file in /etc/yum.repos.d folder.



0
 
netlynkerAuthor Commented:
Will it work with 'grouplist" command?

Regards,
0
 
farzanjCommented:
Yes, of course.  All the yum commands.  In particular, the groups are provided by the repomd.xml file in the baseurl path.  That md provides it the group and package information it would use for all groupadd, grouplist, ... kind of commands
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.