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.
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?
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
Last week I successfully configured a local repository for CentOS. I did it because I'm teaching a course with this distro. I am also teaching another course with opensuse, sadly, I could not configure a local repository for opensuse. I thought this would be easier. Local internet connection is very slow, so I need to configure the local repository. I have searched for information on the novell site and find nothing.
Recently i was able to setup a server which can work as a local yum repocitory in my envornment.However when i tried to update the packages in my repocitory using rsync from mirrors.kernel.org its giving a timeout error. The error i am getting is "rsync error: error in socket IO (code 10) at clientserver.c(107) [receiver=2.6.8]" I am having repocitory for centos 4.4 and 5.2(both 32 and 64 bit versions)
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 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.
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.
1.how to create repository of Server directory which contains rpm files
now i will tell how to create repo and problem is in it
at first i had created one directory in filesystem /data
#mkdir /data now i mounted the ftp server to /mnt #mount 192.168.1.254:/var/ftp/pub/ /mnt and copied directory of Server #cp -r /mnt/Server /data # createrepo -v /root/Server # vim /etc/yum.repos.d/rhel-debuginfo.repo
[Code]....
2.how to install total packages by using repository through yum command what are the steps to update and remove the packages
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 have been working with Red Hat Linux 5.2 and now I am supposed to use fedora 13. I am not able to create repository in fedora for installing softwares. Can anyone please suggest me how to create yum repository in fedora 13?
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?
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.
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'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.
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:
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 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 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.
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 ?
I have a Fedora 12 and OpenSuse DVD with me. It consists of lots of packages and hence to install these packages I don't have to download them. What I want to do is copy the package folder on my local machine and then add them as repository in Synaptic Packet Manager.
I've copied a number of deb files from my ubuntu Natty dvd to /home/bob/Natty-DVD/pool. And I ran: sudo dpkg-scanpackages . /dev/null | gzip -c9 > Packages.gz Which created the nesc. Packages.gz file. Then I edited my /etc/apt/sources.list and added the line: deb file:///home/bob/Natty-DVD ./ and did a sudo apt-get update But, the list of repos doesn't include my /home/bob/Natty-DVD. This is on a fresh install of natty.
The school where my wife works has a local repository, which makes upgrading really easy (considering I live in Ethiopia and bandwidth is limited...). But the problem is that I don't know how to upgrade the sources. They are all still saying Lucid instead of Natty.
how do I update my sources so that they are relevant for Natty? Is it just a matter of changing "lucid" to "natty"? Or something more complicated?
I am setting up a local YUM repository in which I will have one computer accessing the RHN network and the clients will pull the updates from that server.
I have seven linux computers that I need to have access this repo server via apache.
I called Red Hat support and this what they told me to do....
On the YUM Repo Server - > go to /etc/httpd/conf > copy original to something else (you name, just save the original) >edit the httpd.conf file > add in ServerAdmin root@10.24.79.195
[Code].....
how to configure apache -- when I was on the phone with Red Hat we went so fast that I couldn't write down everything.
Edit: The url works if I leave out "repomd.xml" at the end; and the repomd.xml is exactly in that folder? i have downloaded the file but don't know how to use it.