Create local yum repository for different version

General support questions
Post Reply
goandy84
Posts: 4
Joined: 2014/10/13 08:20:18

Create local yum repository for different version

Post by goandy84 » 2014/10/14 18:44:01

hello,
I'm andrea and recently I looked into the world of centos.
my question to some may seem a stupid question.
Is possible to create a local yum repository for different systems and different versions Ex (v6-7 redhat, Fedora v 20-19)hat v6-7, Fedora v 20-19) ?

User avatar
TrevorH
Forum Moderator
Posts: 26572
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Create local yum repository for different version

Post by TrevorH » 2014/10/14 20:00:17

Yes. It may require different options for each version - so on el6 I build a repo for el5 clients but have to pass -s sha to createrepo to get the right checksums in the repodata.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - General Support”