Results 1 to 3 of 3
  1. #1
    Elite Member noy.juan's Avatar
    Join Date
    Mar 2010
    Gender
    Male
    Posts
    1,521
    Blog Entries
    1

    Default Mirroring Linux Repo - How to do it?


    I have tried doing this on OSX before set on our xserver, but i havent tried any RHEL/Debian version....

    most of them suggested to use rsync... but i cant mirror all the packages... just the essentials or an option to toggle update on the repo... and it should be automated... any suggestions? is it possible to set rsync to watch a specific package and download once update is detected?

    Btw, heres the spec of the planned repo server....

    Mac Mini
    OSX 10.4
    aRsync
    Apache 2 (via macports)

    note: that i also included RHEL based distro since this will be similar to any linux distro... Ubuntu is based in unstable debian...

  2. #2
    Butangi lang boss og --exlude sa folder Pareha ani

    #!/bin/bash
    if [ -f /var/lock/subsys/rsync_updates ]; then
    echo "Updates via rsync already running."
    exit 0
    fi
    if [ -d /repo/html/centos/ ] ; then
    touch /var/lock/subsys/rsync_updates
    rsync -auv --exclude "isos" rsync://ftp.muug.mb.ca/pub/centos/5.5/ --exclude=debug/ /repo/html/centos/5/
    /bin/rm -f /var/lock/subsys/rsync_updates
    else
    echo "Target directory /var/www/html/centos/ not present."
    fi

  3. #3
    ive running on local before specially when i want to upgrade to sid.... i use rsync installed on mac osx 10.4 mac mini.... running on lighttpd.... nag assemble jud ko ug specific repository server from used computer sa amoa for this sole purpose para magamit nako sa ako bayanihan linux project...

  4.    Advertisement

Similar Threads

 
  1. HOW to do IT ??? HELP PLEASE !!!
    By mrinnocent in forum Music & Radio
    Replies: 1
    Last Post: 02-03-2011, 12:54 PM
  2. Easiest Job in the Net. Computer dummy knows how to do it.
    By fejacovik in forum Business, Finance & Economics Discussions
    Replies: 1
    Last Post: 09-04-2010, 07:18 PM
  3. CD burning. Need instructions on how to do it
    By hobie in forum Software & Games (Old)
    Replies: 38
    Last Post: 03-22-2009, 08:34 PM
  4. CD burning. Need instructions on how to do it
    By hobie in forum Computer Hardware
    Replies: 19
    Last Post: 03-10-2009, 12:53 PM
  5. Cebu Teaches The Other Philippine Cities How To Do It
    By Wind Shear in forum Politics & Current Events
    Replies: 1
    Last Post: 04-15-2006, 12:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top