Fedora :: Using 'createrepo' And Building A Local Network Mirror

Aug 3, 2009

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.

View 7 Replies


ADVERTISEMENT

Fedora :: Use Local Mirror For Yum - Set No Proxy For Local Mirror?

Jan 9, 2010

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):

[code]....

View 2 Replies View Related

Fedora Servers :: Mirror URL For Local Repository

Jan 30, 2009

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.

View 1 Replies View Related

Fedora :: Createrepo Package Depends On Unrealeased Yum?

Aug 2, 2011

Tried to run sudo yum update and got this error on two different Fedora machines

Code:
Error: Package: createrepo-0.9.9-4.fc15.noarch (updates)
Requires: yum >= 3.2.29-8

[code]....

View 11 Replies View Related

CentOS 5 :: Local OS Mirror Outdated?

Nov 6, 2009

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

and the os folder:[code].....

View 3 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

Ubuntu Servers :: How TO Upgrade Local Apt-mirror?

May 17, 2010

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.

View 2 Replies View Related

Ubuntu :: Mirror Remote Server To Local Folder?

Aug 27, 2010

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.

View 2 Replies View Related

CentOS 5 Server :: Setting Up The Local Installation Mirror?

Jan 11, 2010

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.

View 3 Replies View Related

Ubuntu Installation :: Errors Upgrading Release From Local Mirror

Apr 17, 2010

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 ?

View 1 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

General :: How Much Disk Space Needed To Setup Local Repo Mirror

Jan 30, 2010

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?

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

CentOS 5 :: Building Home NAS, Remote NAS For Local And Off-site Backups

Nov 11, 2009

I would like to replace my aging Freenas box with a CentOS based NAS. I would like it to have the following features:

- SAMBA with Web admin
- BIND with Web admin
- Nice to have would be native AFP support for my MAC

Question 1: Is SWAT still the current Web-based config tool for SAMBA or is there something newer?

Question 2: Is there a decent, reliable, web front end for BIND?

Question 3: Is there a current AFP guide for CentOS, everything I am finding via Google is years old.

I would also like to build a second server that I would host off-site to sync my data to.

- I was thinking OpenVPN for the link between the servers. The "remote" NAS will have to be the one initiating the connection.

Question 4: Is OpenVPN the way to go or is there something better? (I need bidirectional communications)

Question 5: Is rsync still the way to go for the data sync or is there something newer which would be lighter and/or faster?

Just need some "current" advice overall - I think the last SAMBA box I built was 4-5 years ago so what I learned then may not be applicable today.

View 10 Replies View Related

Debian :: Ubuntu Local Mirror Setup For FAI Server Setup?

Apr 24, 2011

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.

View 1 Replies View Related

Ubuntu Networking :: Can See All Devices On Local Network And Their Local Ip Addresses

May 16, 2010

I'd like a way to see all of the devices on my local network and what their local IP address is. I recall that I used wireshark to troubleshoot a similar problem a while back, but it doesn't seem to have a way to see all of the devices- only the traffic. (I'd like to do this without having to physically interface with my router if possible, and I am in an encrypted network if that matters)

View 6 Replies View Related

Ubuntu Networking :: Unable To See Local Web Sites From Local Network

Jun 28, 2011

I have installed a web server on my local network. Everything is well configured and web pages are shown correctly from Internet (outside the local network) using the domain or the public IP.The issue is if I try to see that web pages (using the domain or the public IP) from inside the local network. In that case the router config page (192.168.1.1) is shown instead of the web pages.From inside the local network I'm only able to see the web pages using the internal IP address (192.168.1.XX).

View 2 Replies View Related

General :: What Is The Function Of Createrepo - Command While Installing Yum

Jan 16, 2011

I m using Redhat linux 5.1, I want to know what is the function of 'createrepo .' command while installing yum.

View 1 Replies View Related

Fedora :: Can't Mount Host On Local Network Via Nsf?

Sep 21, 2009

I have two machines on my local netowrk, one running Fedora 9 and the other Fedora 11,(64 bit version).I made one, machine A, into an NSF server and arranged to export a directory to the other machine B.I made sure the firewalls were allowing nsf traffic, and I restarted all the relevant daemons.But the mounting still doesn't work.I looked at the setup on my Linksys router, but I don't see anything obvious there that might be getting in the way.ping and ssh recognize my names for the two machines and work properly, bu t I've also tried using the numeric local ip addresses.I tried with the program showmount on B to see if there was any connectivity and I getB% showmount -e Aand I get the responseclint_create:RPC: Port mapper failure - RPC: unable to receive.I used to manage a departmental network and set up nfs mounts all the time, but things were simpler then. I am at a lost what to look at next

View 14 Replies View Related

Fedora Installation :: How To Get On Local ATT U-verse Network

Oct 3, 2009

I'm a new Fedora 11 user and have an ATT U-verse setup. Where can I find help on how to get the box on my wireless network?

View 5 Replies View Related

Fedora :: Network Mount Using Local Space?

Oct 12, 2010

I am mounting a Window's network shared folder every time Fedora boots. It is mounted into the /mnt directory. Recently I noticed I am almost out of disk space, and I found out that my mount folder is what is eating all the space. I was under the assumption that the mounted folder wasn't on my Fedora machine at all, and resided on the Windows machine. Apparently my assumption was incorrect, or possibly I mounted something in an unusual way.

View 2 Replies View Related

Fedora Installation :: Over Pxe With A Local Network Source ?

Nov 23, 2010

I've been always used to install fedora on my server this way : i put the fedora boot images on a pxe server, i copy the fedora install dvd to a ftp server, then i set the path of the dvd copy in the netinstall process.

But since a couple of release it doesn't work anymore, it keeps asking me for files in /repodata which doesn't exist on the dvd.

Is there any simple way to do this ? I tried cobbler using the dvd source, it create the repo fine with the proper files but it's too complicated, i just want the damn files.

View 4 Replies View Related

Fedora :: DNS Server Configuration For Local Network?

Apr 28, 2011

I want configuration a DNS server for my area! What DNS server software is better than other software?

View 4 Replies View Related

Slackware :: Can't Make Local Mirror Of Slackware

Sep 10, 2010

I have done several attempts to build a local mirror of Salckware 13.0. There are two problems: I have to wait very long for a connection, they appear error during a connection which broke it so I have to restart. Is there any other way to build mirror? I am using Alien Bob scripts. Never before happened something like that. The connections with common web pages (google, etc) work well. Maybe I should look for some other mirror than those listed in mirror-slackware-current.sh.

[code]....

View 8 Replies View Related

Ubuntu Networking :: Use Local IP Only On Local Network?

May 25, 2010

I've got an Ubuntu server hosting our websites and other various things here in our own home. We recently switched to a router that doesn't support loopback (abomination), so I've set up hosts files on our computers so we can access our own sites when on our home LAN.

However, we often take our laptops as we travel about, and I'm guessing due to the hosts files when we try to access our sites, it'll look on whatever local network we're connected to for our server, which won't work, obviously.

Is there a way to set up something like a hosts file that'll only try to look up the local IP of the server when we're on a specific network (our home one), or have one that tries to look for the local IP first, then proceeds to try and resolve the domain name and use the external IP if the local IP doesn't work?

View 6 Replies View Related

Fedora Servers :: Apache Will Not Serve Beyond Local Network

Jan 6, 2009

I've tried, but now I give up. I'm trying to run Apache on FC9. Nothing fancy, no extras, just the default installed apache. [correction, I have coldfusion installed, however the service is not running] I've set the Listen variable to every combination I could think of, with no success. I can set it whatever I like (such as my local IP) on any port other than port 80. If I try to set it to 192.168.x.x:80, it gives me the error message:
Starting httpd: (98)Address already in use: make_sock: could not bind to address 192.168.x.x:80

I've run netstat commands to try and find applications listening on port 80 and found nothing. Whenever I chose a port other than 80 to get the service to start successfully, I am able to serve pages locally. But even with my ports forwarded correctly, no one outside the local network can see it. I've checked with nmap that my machine is opening the ports and even cheated, disabling the firewall during testing to ensure it was not part of the problem.

I noticed while locally nmaping my server that whenever I set Listen 192.168.x.x:8081, 8081 is opened, as well as normal port 80. When I stop the httpd service, both those ports are simultaneously closed. Why is httpd opening port 80? I'm assuming this is related to why I cannot assign Listen to port 80. If I run remote scans from sites like www.nmap-online.com and www.canyouseeme.org, nmap-online will report filtered on ports 80 and 8081 if my httpd is running, and if httpd stopped, 80 is closed, filtered 8081.

Can you seem reports success on ports 80 and 8081 if httpd is running, fail if httpd is stopped. I'm sure thats all a lot of information cluttered in to all that. To summarize, I cannot start my httpd server on port 80, and I cannot ever see my webpages beyond my local network. Am I missing something extremely is simple and I'm just over looking it?

View 5 Replies View Related

Fedora Networking :: Get Firewall To Allow All Connections To Local Network?

Aug 8, 2009

I want to write a custom rule to allow all connections to the ip addresses on my local network (192.168.2.2 through ...99) but I don't know how. I know adding a custom rule asks me to read a file and put it in "iptables" format, but I don't know how...

View 5 Replies View Related

Fedora Servers :: Apache On Local Network Does Not Work

May 23, 2010

The situation is this, I have one of those router cable/wifi. So I have the main pc plugged to the router, the router give local ip for all my network (the others computers connects via wi-fi). Main pc starts up apache under Fedora 12, http://localhost.. works, http://127.0.0.1.. works, http://192.168.0.13 (my local ip) works. But when I try to connect to http://192.168.0.13 from another pc of my local network, it doesn't work. The others pcs are running windows vista.

I go another computers ping 192.168.0.13, responds!
From the main computer ping 192.168.0.14, responds!
So, there is communication between the machines, but I cant get to work under apache. I tried opening port 80 with iptables, i tried changing apache's port to another.

View 10 Replies View Related

Installation :: Install Fedora 15 From A Local Iso File With Network?

May 24, 2011

Today I download a fedora beta iso file, then I try to install it following the steps I installed fedora 14. However, the install guide ask me to connect to network, if not , I had to exit installation. I just want to install fedora 15 from my local iso file. What's wrong?

View 3 Replies View Related

Software :: Mirror X Desktop On A Network Machine?

Jan 5, 2010

How can i connect to X server and mirror any part of the desktop on another machine's screen?

View 3 Replies View Related







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