I have been looking into setting up a local repository for updates etc as we have an increasing number of fedora clients/servers. Searching the web I found multiple how-to's on how to accomplish this little project. One thing that bothers me is that each how-to seems to refer to a "static URL" mirror for rsync to get the rpms.
I'm using f12. My university has recently become a mirror for fedora packages. But i'm facing a trivial problem. I have set proxy for yum so that the packages that are not available on local mirror can be downloaded from other mirrors. But then i don't know how to set no proxy for my local server. Consequently it is not using my local mirror at all. Tell me how to set no proxy for the local mirror. I want my local mirror because it's damn fast. My proxy settings are like this (they go in /etc/yum.conf):
After digging around trying to figure out how to upgrade my local apt-mirror to 10.04, I figured I would share it here so anyone else who does this, can do it with ease. It requires a few steps, and editing a couple files, but the process is relatively painless.This assumes you have an apt-mirror already running on your server. Also it assumes you're using /var/www/ubuntu as your root where all your packages are stored.
The first step is to visit http://changelogs.ubuntu.com and download the meta-release packages. Create a new directory, /var/www/ubuntu/upgrade, and drop the files there.On the client's end, a single file needs to be edited, /etc/update-manager/meta-release. Change the URI's in that file to the URI of your apt-mirror and run your update manager. Your upgrade will start, only asking if you want to change your paths in your sources.list. Agree to it, and the packages will download and configure.
[root@localhost srvmdk]# yum install git Loaded plugins: axelget, fastestmirror, langpacks, presto, refresh-packagekit Adding en_US to language list Loading mirror speeds from cached hostfile
[code]....
whenever I try to install something via yum, it automatically downloads stuff from mirror.cse.iitk.ac.in as shown above. However, i thinks there's some problem in that mirror because installation freezes after sometime and I have to start again. How do I change my mirror to another one, possibly nearest and fastest to me other than that?
I would like to set up a local repository, that serves my LAN, and store it packages I found on the web (using pkgs.org for example) , can you please link me a guide regarding this ?
As the title says I'm trying to build myself a local RPM mirror. I have multiple laptops and a desktop that use Fedora 11. So I used 'rsync' to setup and sync my directories. I next went on to create my repo with the 'createrepo' function. I run my server backend as FreeBSD so I moved my data over there and setup my 'lighttpd' service.
Everything went fine until I used 'rsync' and synced up my data. Am I supposed to run 'createrepo' after each sync? If so, does anyone else use the same kinda setup, even if not FreeBSD, but a different os other than linux for their server that they run this from? I've been dealing with this for 2 weeks now and finally gave up researching and testing and thought. Not something I'm good at doing. Check my register date and my first post date.
Edit: FreeBSD doesn't have a port or unofficial port for this. I noticed it seems to be written as a python script so thought I could somehow get it to run on FreeBSD with linux emulation.
I have Fedora 13 in a VPS. I cannot work with yum. I got this error: [Errno 256] No more mirrors to try # yum list Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. verify its path and try again.
I am organizing for the 14th march a Linux installation fest, and I would like to have a local server with all packets that I will need to complete the installation.BUT I would like to have these packets in a way that is usuable by yum, so like having a local repository server.You will agree with me that I cannot mirror the entire repository server (for disk space) but some packets yes, but I don't know how.
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.
I am looking for a thorough document that explains:
1) Creating a local repo
2) Using kickstart to access that repo
3) Performing a network install using kickstart
Some background: I have several racks of servers that I need to install Fedora on. These servers CANNOT be placed on the internet; hence the need for the creation of a local repo on some other machine (which will be connected to the servers via a local network). I am not sure how to create a local repo, so that one of my questions.
I'd also like to automate as much of the install as possible and kickstart is the only thing I know of for that. I am no guru with kickstart, but I have used it before to successfully install Fedora Core 6 -- I am hoping there are no great changes with the current releases of Fedora (12-14)?
A local repo of Fedora Core 6 was created by someone (some time ago) on a workstation (running FC6). This is what I've used in the past to install FC6 on previous servers (via a kickstart CD). However, I dont have the documentation on how the repo was created or how the kickstart CD was created I've gleaned some ideas ok kickstart from the pieces I've read on web, but none of it has been specific to the latest releases of Fedora.
It is not difficult to set up a regular local repository (rpms) and manage a fedora system with it using yum. I wonder if the process is same for deltaRPMS. Has anyone successfully set up a local deltaRPM repo or is this something reserved for online repos? How does one achieve this?
I created a local mirror with a DVD Image, is there a way to get this mirror to 5.4 now?I already updated the updates/extras repo, but now my main-repo is outdated and my updates go wrong.my directorystructure looks like this:
/server/rpmrepo/centos/5] # ls centosplus extras os updates
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.
I have a remote drive mounted on my system(ubuntu 10.04 x64), and i have the contents of that drive backed up to dropbox. the problem is, if i unmount the drive, the files disappear from dropbox. is there a way to mirror the contents of the network drive to a localfolder(preferably in such a way that all changes and file deletions are changed on the local folder instantly, but unmounting doesn't delete it all)? It looks like rsync would work, but im not sure how to make it work.
I've just set up the local mirror for my 96 CentOS 5 workstations. The mirroring script is taken from public-mirror howto and looks like this:
#!/bin/sh rsync="/usr/bin/rsync -avHzL --delete --delay-updates" # replaced -q with -v for debuging purposes, removed --bwlimit, added -L to follow symlinks mirror=centos.politechnika.lublin.pl::CentOS # tried several different same result
[Code]....
I tested mirror consistency by putting the mirror addres I'm syncing with, directly into repo file. Than yumex works fine. I tried several different mirrors with the same result.
Release upgrade ends up with error: "Error during update. A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry. The server may be overloaded. Restoring original system state". When doing do-release-upgrade -d to upgrade from karmik to lucid. I using local mirror ftp://ubuntu.snacho.ru (also have http that works but not browseable). When I change lines in /etc/apt/sources.list from local mirror to official [URL] all works fine. I don't want to download 1Gb from internet (because of traffic cost). What is wrong with local mirror ? I can communicate with its owner, but what he needs to change on the mirror ?
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.
I am thinking about setting up a local Debian Repository mirror. I want it to mirror just the Debian Repo at [URL].. Anyone have any idea how much disk space I might need to do it?
I am preparing an installation for a network with small subnetworks across the country.As such, I am setting up a central repository, but would like the installation of some machines to turn themselves into mirrors at installation time (at least for their own rpms) to save bandwidth for the rest of the machines in their own sub network.Is it somehow possible to set up a local mirror at installation time?I was watching how anaconda is installing from a repository and saw that it erases each downloaded rpm as soon as it is installed, but thought maybe someone here would have an idea.
I downloaded the first CD Image as instructed at [url] and installed it on my laptop. I would like to install the "Synaptic Package Manager" and a mirror repository so that my system can update.
I have apparently installed " apt-cdrom add" and then typed "apt-get update" and I tried to install the mirror when the system was installed but as the wireless was not connected it apparently did not add the correct details.
I have a postfix mail server on ubuntu 10.04 lts behind a router. so all local users are fetching/sending mails through ms outlook using local IP. Sometimes when internet goes down and any mail send then it bounced back immediately saying domain not found. Can u please tell me how i configure to hold all mails in postfix server rather than bounce when internet fails and will pass through when restored the internet around 15-30 minutes?
I have setup a deb mirror that is syncing the Ubuntu repositories to my local server. I am maintaining various versions of Ubuntu, from Hardy through to Lucid. I am trying to get a copy of just "Karmic" repo's to my local HDD. The problem is all the packages are under one folder /pool:
main multiverse restricted universe How would I sync all the packages for just Karmic and not the other distro's to my local HDD.
I am running Ubuntu 10.10 as my OS. I also have an .iso file of OpenSuse. It has a lot of packages on it. Can I add it as local repository so that instead of downloading the files from net, if they are available on DVD then I can use them.
I freshly installed debian lenny using the 5 DVD set that I downloaded from debian.org. I want to create a local repository for all packages that are available in DVD so that I do not insert the disc everytime I install a new software. I have searched various forums but not able to figure the right way to do it.
I want to setup a FAI server for which I was looking for the best method of mirroring the Debian Lenny. I want to setup a local mirror with the best method available for mirroring. If it is ftpsync, please provide me some best ways of doing it. I tried ftpsync mirroring but that was not getting properly working due to insufficient I want this mirror to be accessible in my FAI setup so that I can start the installation on multiple machines and start the updates and package installation to be done from the same local mirror.
I use a local repository for ubuntu and when i use update manager it always shows gpg warning and shows that the information is out of date. Is there any way to suppress this warning. ( In Ubuntu 9.10 ) , so that update manager never compain about the local repository.