10-16-2017
Do you already have the packages for the repo somewhere? You'll need to download, or otherwise obtain them from somewhere.
Once you have the packages, you can create a repo from them (createrepo command) if the metadata was not already created. Then you need to add the repo to your system by adding it to somewhere in /etc/yum.repos.d.
What you do first depends on whether you already have the packages somewhere.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I running HPUX 11.0,
Netscape gives me an error "Unable to locate Server" when using a www.something.com address.
If I use an IP address I get past the router and onto the Internet.
My workstation can get to the Router @ 192.168.0.1 and also it's local APACHE server.
I have DHCP enabled... (8 Replies)
Discussion started by: johnalt
8 Replies
2. Solaris
i have just installed solaris 10 on a 60 gb hard drive. now im trying to install my nic driver but when i put in the floppy disk for the nic card it cant read it, so then i found that i have to mount the floppy drive and i tried putting in the mount command but i dont know where to mount it and if... (38 Replies)
Discussion started by: vutty81
38 Replies
3. Linux
I have installed fedora core 7 in my system. When I try to activate the network card it says "Could not determine IP address for eth0...failed".
Please give me suggestions? (2 Replies)
Discussion started by: mvictorvijayan
2 Replies
4. Solaris
Hi,
I am new to Solaris just migrating from Windows XP.
I want to connect to internet but I have problem with configuration.
My ISP has provided me a router.I get internet connection through DHCP.
I don't know any proxy or subnetmask or any IP address that requires during configuration of... (1 Reply)
Discussion started by: pappu2008
1 Replies
5. Solaris
Hi I installed solaris developer edition 1/08 today.I want to connect to Broadband internet through my ADSL 2+ Modem/Router with a username and password.
plz help in this case,I am new to sun solaris:confused:
the modem itself is a router it worked well on ubuntu and red hat (3 Replies)
Discussion started by: santugvd
3 Replies
6. Linux
HI,
Am using GPRS ( MOB # 3230 ) internet connection in windows
Hw to use internet r connect in linux.. ( Red Hat Linux Ver.10 )
Please help me..
Thanks in adv.. (1 Reply)
Discussion started by: bharath raja
1 Replies
7. Solaris
Dear freinds...
I downloaded solaris for x86 and was able to configure the lan correctly.. I can ping and share with other destops through lan... but still I can't connect to internet ? can you please help..
I put my default gateway which is 192.168.1.1 to /etc/defaultrouter but with no use..... (13 Replies)
Discussion started by: yahyaaa
13 Replies
8. Solaris
how to configure to connect to internet on solaris 9 ?
please help (1 Reply)
Discussion started by: sudhiroracle
1 Replies
9. Linux
Hi,
Can someone guide me regarding how to connect to internet.
what are steps?
Thanks in advance (2 Replies)
Discussion started by: naren nandale
2 Replies
10. Solaris
Hiii,
My soalris 10 OS is running on VM ware. I have internet to my windows7 OS, can someone please help me to get connected my internet connection to my Solaris OS which is running on VMware.
thanks & regards,
Bhagi. (2 Replies)
Discussion started by: bhargav90
2 Replies
LEARN ABOUT DEBIAN
createrepo
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)