Fedora :: Create Own Local Yum Repositories

Dec 14, 2010

I'd like to share my notes with all on how I create local yum repositories. By local I mean that the rpm files are on a computer here at home, not somewhere out in cyberspace. I've done this since Fedora 9 with both the "Fedora" repository and the install DVD.This how to was written with Fedora 14 in mind but should work equally as well with any earlier release.Hopefully, if we did everything right, there will be no errors and you will see your new repository listed amongst the normal Fedora repositories. Your new repository is now ready for use.This completes this section on how to create a local yum repository for the installation DVD rpm files.

View 4 Replies


ADVERTISEMENT

Fedora :: How To Create A Local Repository Server

Feb 24, 2010

Well my local LUG has developed a cooperation with the university. Their major is music. So we would like to develop a local repository to help the updates to be faster. I checked the How to set up a local Yum Repository on Fedora 8. I guess it's same with 12.
My questions are:

1. How much space do we need?

2. Since we might setup repository for another distro, is it a way to be done with other distro? The above address describes only how to make it in Fedora.

3. Since we'll have it installed and will be usefull for the university, can we make it available to the rest of the world? Maybe contact someone for this.

View 4 Replies View Related

Fedora Servers :: Cannot Create Local 13 Repo: Pycurl Error 6?

Aug 16, 2010

I'm in the process of creating local repos for our company servers (CentOS 5.5) and laptops (Fedora 13). And while the CentOS part went perfect the Fedora part is causing major trouble.

But first things first, here's the setup: a central CentOS 5.5 server is running Apache2 and has a VirtualHost listening on Port 8080 for both CentOS and Fedora. The DocumentRoot for this VirtualHost is /data/repo wherein two directories, centos and fedora, reside.

This is the .repo-file for CentOS that works like a charm:

Quote:

[local]
name=CentOS-$releasever - local packages for $basearch
baseurl=url
enabled=1

After the CentOS repository was up and running I follwed the exact same steps and was expecting to find a Fedora repo up and running (I know, I know, silly me...). However, yum complains it cannot download the repomd.xml. The .repo-File is as follows:

Quote:

[local]
name=Fedora $releasever - $basearch
baseurl=http://icld:8080/fedora/$releasever/local/$basearch
enabled=1
gpgcheck=0
protect=1

Yum returns the following error message:

Error: Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again

The path is definitely correct - copying the url and pasting it into a webbrowser returns the correct repomd.xml file, so does pasting it to wget.

Any ideas? Does createrepo need any parameters in order to create a working Fedora repository?

View 3 Replies View Related

CentOS 5 Server :: Cannot Create Local Fedora 13 Repo: PYCURL ERROR 6

Aug 16, 2010

I'm in the process of creating local repos for our company servers (CentOS 5.5) and laptops (Fedora 13). And while the CentOS part went perfect the Fedora part is causing major trouble.But first things first, here's the setup: a central CentOS 5.5 server is running Apache2 and has a VirtualHost listening on Port 8080 for both CentOS and Fedora. The DocumentRoot for this VirtualHost is /data/repo wherein two directories, centos and fedora, reside.

This is the .repo-file for CentOS that works like a charm:

Quote:[local]
name=CentOS-$releasever - local packages for $basearch

[code]...

View 5 Replies View Related

CentOS 5 :: How To Create A Local Mirror

Aug 22, 2011

I am trying to create a local mirror/repository for CentOS 5.6 for updates and network installs. I have read the page here on the site about how to do it over and over again, and I still can't figure it out. I have already created the directory, but right after that, I can't go any further. I know this is much easier than I probably think it is. Would someone mind telling me, (in beginners terms) on how to do this? I just want the 'os' package and nothing else.

View 1 Replies View Related

OpenSUSE :: WARNING - Unable To Download List Of Repositories Or No Repositories Defined

Feb 9, 2011

I am running Suse 11.1 64bit, with KDE, recently I received a pop up on my screen, "something about update problems", I used Yast 2 and selected online Update and it couldn't find updates for Nvidia and froze at that point. I dis-enabled that repository and refreshed all of the remaining Repositories individually and it seemed to work. I then went to the repositories listing and selected "Add" and selected "community" repositories and received the following: WARNING Unable to download list of repositories or no repositories defined. What is my problem? How do I acquire the list of community repositories? I can live with out the Nvidia repository for now but would eventually like to get it back.

View 2 Replies View Related

OpenSUSE :: How To Create A Local Update Server

Aug 26, 2011

We have several linux hosts at our site. I would like to set one of the servers to offer a local update service rather than have each host contact the public servers for update information. This would greatly speed the updates for each host since we only have a DSL connection (about 1.2Mbps transfer rate). Is there a tutorial somewhere that describes how to set up a "shadow" update server?

View 9 Replies View Related

General :: Create A Domain Name For Local Purposes?

Aug 2, 2010

How can I create a domain name for local purposes? for example I have a local web application environment in [URL] but I would like to have it in [URL] instead. I am using Ubuntu 10.04

View 2 Replies View Related

Ubuntu Installation :: Create Local Repository For The LAN?

Jun 3, 2010

How to create a local APT repository for the intranet so that everyone in the local intranet can install directly from my local repository instead of communicating to the internet?

View 2 Replies View Related

Software :: Git - Create Patch After Local Commit

Jul 31, 2010

I must have not read through the tutorial first.. I made changes to a project managed with git. A local copy of the repository exists on my machine (as is supposed to be with git). No branch was created for my additions. I've been committing changes to my local repository and doing pulls/merges with the remote repository. I do not have permissions to push changes to the remote repository forcing me to create a patch to email to someone who does.

Code:
$ git status
# On branch devel
# Your branch is ahead of 'origin/devel' by 6 commits.
<snip>

No tracked files are now modified. I cannot figure out how to create a patch that reflects changes between the remote repository and the commits of my repository. All tutorials I've read online state that you make a patch before committing to local. Is there a way to do this with git? Or must I download a separate copy and manually perform a diff?

View 2 Replies View Related

Ubuntu Installation :: Any Repositories That Could Add From Newer Ones / Other Distro Repositories.

Jan 9, 2010

I just installed ubuntu because the newer versions were not working for me. So I installed 7.10 and there is no repositories that are still up. Is there any repositories that I could add from the newer ones or other distro repositories.

View 8 Replies View Related

Server :: Create Local Administrators For Windows PCs On Samba PDC?

Oct 18, 2010

I am using SuSE 11.2's built in Samba and LDAP server (that comes with Yast) on our network. Everything connects fine, I can access shares, I can authenticate correctly, but I just need help on how to create a local admins group so Windows users can install their own software and such.

View 14 Replies View Related

Applications :: Create Local Mirror Of Remote Server Without Altering It?

Jul 29, 2009

I'm new here and hope to profit from your immense linux knowledge and of course to share my own experience where I can.

I'm in a student organization and we use a file server that runs linux. I can log in through ssh and copy using scp using login and password (no rsa/dsa keys because most users are windows users using winSCP and they're lacking in computer knowledge so we don't require them to mess around with keys)

However, I don't have network access everywhere, so I'd like to make a copy on my laptop harddisk of some of the folders I use most frequently. Note that I don't need it to copy files from my pc back to the remote server so I don't need two-way sync. Deleting the local copy every time and downloading a new full copy is not an option as we are talking about several gigabytes and the download speed is limited. Normally I would use Unison, however, this requires unison to be installed on both pc's and I can't install any software on the file server so this is not an option.

Any ideas on how to achieve this? I'm reasonable knowledgable about linux so I don't mind tinkering with some config files and using command line applications.

View 1 Replies View Related

Red Hat :: Create Local Yum Repository...when Show Error Set Up Update Prosses?

Dec 31, 2009

how to create yum repository in rhel 5.3

View 1 Replies View Related

OpenSUSE Multimedia :: Create A Local Repo For A Vlc By Downloading All The Required Packages?

Jun 17, 2010

I dont have a internet connection and I want to install VLC. I want to create a local repo for a vlc by downloading all the required packages. I tried to do by downloading all the packages from from VLC repo and create a local repo but failed. Its say this dependency failed and that dependency failed. i tried to manually install each and every dependency but still the problem exists.

View 2 Replies View Related

General :: Create A *one* Line Command That, Using Tar, Will Collect The Full /usr/local Directory?

Oct 6, 2010

I am currently interning at a place and my job is to essentially learn UNIX. My supervisor gives me problems here and there to help guide me with my learning but for the most part I'm doing this all by self-teaching myself. Needless to say I have run into a few obstacles...for instance-Create a *one* line command that, using tar, will collect the full /usr/local directory (you need to run this as root again) and copy the whole /usr/local structure under /optFor example /usr/local/bin/hello will become /opt/local/bin/hello, etc. I want this as follows:1. /usr/local is collected by tar, but the output of this tar command is its stdout.. what you get from the previous stdout, you compress with gzip and send it to stdout again 3. get this output and decompress with gzip.. get this output and pipe to tar in a way that will extract the tree under /opt.If anyone knows how I could go about doing this, please let me know, or at the very least point me in the right direction. What I've got so far (which could be completely wrong) is:tar cvf - usr/local/ | gzip -c - | gunzip -c - | tar xvf -in theory I feel like this should work (except for extracting the tree under /opt...i'm kinda stuck there)

View 3 Replies View Related

Slackware :: Command To Create Local Mirror Of Alien Bob's Kde4.4.0 Packages?

Feb 10, 2010

I know there has to be an easier way to do this than to download each file individually. On an ftp site I would just use
PHP Code...

But with those files being on an HTTP server and wget not supporting HTTP file globbing I'm at a loss.

What is a one step method to recursively download all files in a directory on an HTTP server?

View 5 Replies View Related

General :: Using Lynx To Create Html Page With The File Structure Of A Local Directory

Oct 10, 2010

I'm working with a dual-boot laptop running Ubuntu 10.0/Windows 7 and a Debian 5 VPS while the OS's shouldn't have much impact on my question.

What I would like to do is create a html page that I can upload to my VPS which lists all of the files/folders on my local 2TB hard drive (Specifically media such as Movies, Music, TV Shows...). The media obviously will not reside on the server, but I would like to at least have a list which will allow me to select, for instance, a bands artist so that it redirects me to the albums in the directory below.

Ultimately, I'm looking for Open Directory Browsing without actually having the media on my server. I have been attempting to create something to this effect using lynx, however, I'm not sure if it can be done with this command or if it's even possible for that matter.

View 1 Replies View Related

OpenSUSE :: Error - "Unable To Download List Of Repositories Or No Repositories Defined"

Jan 30, 2011

I am running Suse 11.1.I do the following:

Click on Software Repositories
Click Add
Click Community Repositories
Click Next.

I receive an error, "Unable to download list of Repositories or no repositories defined."

in the /etc/YaST2/control.xml the external repository is:download.opensuse.org/YaST/Repos/openSUSE_111_Servers.xml

View 9 Replies View Related

Fedora :: Are The 8 Repositories Still Available

Jun 16, 2011

I have an acer aspire one laptop that runs linpus lite, which is based on fedora 8. I have noticed that my update software no longer works and was wondering if the problem was that the repo had gone.

View 3 Replies View Related

Fedora :: Why Sun Java Is Not Available In The Repositories

Mar 28, 2010

When I tried to install OpenOffice I noticed that there are no packages with Java from Sun in standard repositories for Fedora 12.Could someone explain why the Sun Java is not available in the repositories and how to install it?

View 1 Replies View Related

Fedora :: How To Get The Current Repositories

Jun 6, 2010

Repository configuration for Fedora 13, and a few earlier releases. I don't see these repositories mentioned together on one page or web site, so I thought I'd throw this together.

[URL]

You'll need the RPMFusion repos, so hit the link and follow the instructions there.

[URL]

If you want to be able to play DVD video you'll need a file called libdvdcss so you'll need the Livna repository. To set up the Livna repository, open a terminal and type

Code:

su -c 'rpm -ivh http://rpm.livna.org/livna-release.rpm'
su -c 'rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna'
Then install libdvdcss with the command

Code:

su -c 'yum install libdvdcss'
Adobe

The Adobe repositories provide the Adobe Reader and the flash plugin. To install this repository issue the following commands:

Code:

su -c 'rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm'
su -c 'rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux'

To install Adobe Reader issue the following command:

Code:

su -c 'yum install AdobeReader_enu'

This reader is available in several languages. The one above is the English version. To list all available issue the following command:

Code:

yum list AdobeReader*

You'll see several listed. To get more information on a particular package use something like:

Code:

yum info AdobeReader.chs
Available Packages
Name : AdobeReader_chs
Arch : i486

[code]....

I prefer to leave these additional repositories disabled (with the exception of RPMFusion of course) after I've gotten what I need from them. At that point they don't need to be enabled, but there's no harm done if they are. To disable any of the repositories you've installed open the corresponding file with a text editor. Using Livna as an example:

Code:

su -c 'nano /etc/yum.repos.d/livna.repo'

Find the first instance of the line that reads enabled=1 and change it to read enabled=0. Save and exit the editor. The Livna repository is now disabled.

View 13 Replies View Related

Fedora :: Firefox 3.6 Isn't In The 12 Repositories

Sep 20, 2010

I am curious as to why Firefox 3.6 isn't in the Fedora 12 repositories. I've read the existing threads on this issue, but these threads were started in January/February of this year. It's been what, 8 or 9 months since those threads were created? I installed Fedora 13 at home over the weekend and realized that it uses Firefox 3.6.

I'm not trying beat a dead horse. I understand that people have priorities.

View 3 Replies View Related

Fedora :: How To Update Repositories

Jan 10, 2011

I did an upgrade from Fedora 12 to Fedora 14 using a DVD.My repositories all still point to Fedora 12 programs. What do I have to do to make them access Fedora 14 programs ?

View 8 Replies View Related

Fedora :: All Repositories Required For 13?

Jun 18, 2010

I'm having a hard time locating the one's I need.

View 1 Replies View Related

Fedora :: Which Repositories To Setup From Within 13

Sep 10, 2010

What repositories did you set up from within Fedora 13.

View 2 Replies View Related

Ubuntu :: OpenMotif : Create Network Location Link As Local Filesystem Location?

Apr 26, 2011

I'm working with a program that uses Open Motif to create all of the widgets, including the Open File dialog box (obviously). However, Open Motif being kinda old-timey, 80's vintage, and for the most part now an abandoned project, it is quite clunky. So, actually what I need to do is to open some files located on my work server. I have already successfully connected to the relevant server directories with Samba, and with programs built with GTK+ (such as GIMP) I can open files across the network because I have created a bookmark in Nautilus, and those bookmarks appear in the Open File dialog box created by GTK+. Now, Open Motif is different: it doesn't see network locations, orNautilus shortcuts. When I type "smb://serveripyadayada" in the search folder, it really doesn't like it and complains. So, what do I do? Can I get somehow Open Motif to open a network location? Or can I do a run-around and place a shortcut in the file system that points to the network location?

View 2 Replies View Related

General :: Use Mkdir Command To Create 'local' Directory In /usr - There Are Error - Cannot Make Directory

Jun 16, 2010

I am a student studying computer science course.

Well, I am facing problem when doing lab questions.

I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).

I am required to use the /usr/local directory.

In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".

Look at my screenshot at [url].

View 9 Replies View Related

Fedora :: FifeFox Update From Repositories?

Jan 13, 2010

I am new in Linux world. This is my question: how i can update Fiferfox browser from Fedora repositories?

View 3 Replies View Related

Fedora :: 12 - Unable To Access Repositories ?

Feb 12, 2010

I just did a clean install of Fedora 12 on a system running Fedora 11.

I'm behind a proxy, and I followed the steps outlined at [url] to fix the initial repository error.

This is what I get now:

Code:

My /etc/hosts.conf looks like this

Code:

Also,

Code:

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved