Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24th August 2007, 07:52 PM
tjjoost Offline
Registered User
 
Join Date: Jun 2007
Posts: 10
How can i create a repo

How can I create a repo in F7?
Can sombody explane step by step?
Wat are good repos en where too find?
Reply With Quote
  #2  
Old 24th August 2007, 07:55 PM
Dangermouse's Avatar
Dangermouse Offline
Administrator
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 47
Posts: 3,849
try here
http://www.freewebs.com/dnmouse/createarepo.htm
Reply With Quote
  #3  
Old 24th August 2007, 08:06 PM
tjjoost Offline
Registered User
 
Join Date: Jun 2007
Posts: 10
This is not wat i"m looking for. This only a repo to store the downloads of YUM. But anyway, thanks Dangermouse.
Reply With Quote
  #4  
Old 24th August 2007, 08:39 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Using the DVD ISO as a Source


1. Loop mount the image:

Code:
mount -t iso9660 -o loop /path/to/image.iso /path/to/mount/point
2.

Code:
gedit /etc/yum.repos.d/fedora-local.repo
[fedora-local]
name=Fedora 7 - Moonshine - i386 - Loop Mounted ISO Image
baseurl=file:///path/to/mount/point/
enabled=0
gpgcheck=1

3. The default enabled=0 makes sure to not cause issues when the image is not loop mounted. You will be able to set the repository source enabled when doing repository configuration while running yum. In this use case, it would be needed to disabled (uncheck) the network based F7 repository when using the loop mounted image as the same data is available locally.


P.S When posting please be more descriptive
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5

Last edited by leigh123linux; 24th August 2007 at 08:42 PM.
Reply With Quote
  #5  
Old 24th August 2007, 09:24 PM
bbfuller Offline
Registered User
 
Join Date: Jun 2005
Location: UK
Posts: 4,345
Hello tjjoost

If you are looking to make your own local repository of rpm's for fedora so that you can reuse them over several machines, then any directory can be so designated.

On the machine that holds the information for your new repo, download and install the program "createrepo" from the main fedora repositories and run it against your new repository. On the machines that are going to access the repository, create a new entry in /etc/yum.repos.d using one of the existing files as a basis.

Comment out the existing entries relating to a path to repositories and create a new entry that reads:

baseurl=file:///path to repository

in my case it reads:

baseurl=file:///mnt/fedora7_386_updates

If you were to mirror the updates repository you would replace the lines in your existing file with that one.

Depending on what your repository contains and where you got it from you may need to set gpgcheck to zero.

If on the other hand you are looking for pre-existing repos to install programs not in the main fedora ones then, livna, freshrpms and atrpms are three to look up and there are numerous places on the forum where you can find how to set them up if you search.

Be aware though that you should only have one of them enabled all the time as their programs are good at working with fedora, but not necessarily checked to ensure compatibility with each other.
Reply With Quote
  #6  
Old 25th August 2007, 09:17 AM
Dangermouse's Avatar
Dangermouse Offline
Administrator
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 47
Posts: 3,849
tjjoost you dont have to use it for just for updates, you can put what you like in it, like leigh said even the installation disc which you can mount or copy the rpms to your repo, its was a example the updates.
Reply With Quote
Reply

Tags
create, repo

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add the core source repo to the list of repo ? mounterriver Using Fedora 2 28th October 2006 11:52 PM
create an own yum-repo pc-pimp Using Fedora 2 4th January 2006 05:08 PM
How do I create my own repo? macgregor Using Fedora 6 10th September 2005 07:50 PM
create repo on my hard disk...how? robin108 Using Fedora 4 1st August 2005 03:41 AM


Current GMT-time: 09:27 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat