build a repository

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat build a repository
# 1  
Old 06-28-2010
build a repository

Hi,

i'll explain my problem in few words:

i have to create a repository with mrepo on a RH. I see many procedures on internet and even in linux mag, but there isn't any case where the iso and rpm deposit aren't placed on the repository but on a remote system (a NetApp filer in my case).

So i wonder if it's possible (i don't really see why it could be impossible) to place my data on a remote machine?
And if it's possible, i wonder how configure mrepo:
the line iso = RHEL$release.?-$arch.iso in the /etc/mrepo.conf.d/rhel5 should be modified to iso = file:///'path to my remote netapp directory' or not?

In fact, i have some difficulties to understand what link wiil be created by mrepo, and what directory i'll have to mount with the mount command (mount -t cifs 'remote_path_where_iso_stored' ....).

i hope i am clear enough.

Thx for your help.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. SuSE

Repository out of date.

I get this message when attempting to update OpenSUSE 42.2: Error building the cache: Warning: Repository 'Main Update Repository' appears to be outdated. Consider using a different mirror or server. Nothing to do. What's happening? (2 Replies)
Discussion started by: geos0xAA55
2 Replies

2. Windows & DOS: Issues & Discussions

(VS 2008) New build config looking files from other folder build config

Hi Team, My new build configuration always looking for the files from the build where i copied from. please help me to resolve this. I am using Visual studio 2008.It has Qt 4.8. plugins,qml,C++ development I created new debug_new build configuration with additional preprocessor from the... (1 Reply)
Discussion started by: SA_Palani
1 Replies

3. Red Hat

Repository update

i have a repository server for red hat and centos clients. the repository contain all the rpms from the original install cd. now lets say i will add for example the new BASH rpm that fixes the shellshock vaulnerbility. when the client machine will run the command: "yum update bash" did the yum... (1 Reply)
Discussion started by: guy3145
1 Replies

4. Red Hat

Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia.

Most of my commands are returning this error on RHEL 6 64 bit: Also I tried installing many sofwtares, but it fails to correctly work. For example I treid installing dos2unix: # rpm -ivh dos2unix-5.3.3-5.ram0.98.src.rpm 1:dos2unix warning: user mockbuild does not... (0 Replies)
Discussion started by: India_2014
0 Replies

5. Shell Programming and Scripting

Build.xml invocation by Build Script

Hi I have a build.xml file and I can run it on Windows via cmd. Now I want to write a script to invoke the same. Is there a way to do this? (1 Reply)
Discussion started by: ankur328
1 Replies

6. UNIX for Dummies Questions & Answers

Adding SDK Build on Kernel Source Build

Hi, So I downloaded this kernel source and was able to build it successfully. But I want to add this SDK source code inside, can anyone help me how to do this? Note that the SDK source can be built by itself. I added the SDK in the main Makefile: init-y := init/ #added SDK... (0 Replies)
Discussion started by: h0ujun
0 Replies

7. Solaris

Solaris repository

Someone know good software repositories for Solaris 10? I'm searching one with updated packages like Samba3,smbldaptools,openldap,etc Thanks (2 Replies)
Discussion started by: Linusolaradm1
2 Replies

8. UNIX for Dummies Questions & Answers

What are the BEST Repository for Unix?

Hi Gurus of UNIX, Can you tell me what are the best Repository in Unix: In Internet I found the following: sunfreeware pkg set-authority -O http://pkg.sunfreeware.com:9000 sunfreeware.com The popular sunfreeware collection in the IPS format blastwave pkg set-authority -O... (5 Replies)
Discussion started by: andresguillen
5 Replies

9. UNIX for Dummies Questions & Answers

Problem when I use Repository

Hi Gurus of Unix I use the Package Manager of OpenSolaris I set my Package Manager : "http://pkg.sunfreeware.com:9000/" But when I try to install packet appear the following Error: Please check the network connection. Is the repository accessible? Transfer from... (0 Replies)
Discussion started by: andresguillen
0 Replies
Login or Register to Ask a Question
createrepo(8)															     createrepo(8)

NAME
createrepo - Create repomd (xml-rpm-metadata) repository SYNOPSIS
createrepo [options] <directory> DESCRIPTION
createrepo is a program that creates a repomd (xml-based rpm metadata) repository from a set of rpms. OPTIONS
-u --baseurl <url> Optional base url location for all files. (not used by any clients at this time) -o --outputdir <url> Optional output directory (useful for read only media). -x --exclude <package> File globs to exclude, can be specified multiple times. -i --pkglist <filename> specify a text file which contains the complete list of files to include in the repository from the set found in the directory. File format is one package per line, no wildcards or globs. -q --quiet Run quietly. -g --groupfile <groupfile> A precreated xml filename to point to for group information. See examples section below for further explanation. -v --verbose Run verbosely. -c --cachedir <path> Specify a directory to use as a cachedir. This allows createrepo to create a cache of checksums of packages in the repository. In consecutive runs of createrepo over the same repository of files that do not have a complete change out of all packages this decreases the processing time dramatically. --update If metadata already exists in the outputdir and an rpm is unchanged (based on file size and mtime) since the metadata was generated, reuse the existing metadata rather than recalculating it. In the case of a large repository with only a few new or modified rpms this can significantly reduce I/O and processing time. -C --checkts Don't generate repo metadata, if their timestamps are newer than its rpms. This option decreases the processing time drastically again, if you happen to run it on an unmodified repo, but it is (currently) mutual exclusive with the --split option. --split Run in split media mode. Rather than pass a single directory, take a set of directories corresponding to different volumes in a media set. -p --pretty Output xml files in pretty format. -V --version Output version. -h --help Show help menu. -d --database Generate sqlite databases for use with yum. EXAMPLES
Here is an example of a repository with a groups file. Note that the groups file should be in the same directory as the rpm packages (i.e. /path/to/rpms/comps.xml). createrepo -g comps.xml /path/to/rpms FILES
repodata/filelists.xml.gz repodata/other.xml.gz repodata/primary.xml.gz repodata/repomd.xml SEE ALSO
yum (8) yum.conf (5) AUTHORS
Seth Vidal <skvidal@phy.duke.edu> BUGS
Any bugs which are found should be emailed to the mailing list: rpm-metadata@linux.duke.edu Seth Vidal 2005 Jan 2 createrepo(8)