Setting up an Arch mirror

Am i a bit confused? I can't find any documentation related to how to setting up a mirror for Arch.
Can someone explain these steps or has a documentation for that? Would be nice.
Thanks.

Well. Thanks Chris. But that isn't in any documentation, or?

Similar Messages

  • Setting up new Arch repo with old package backup?

    I love Arch and want to give something back. I can't program and don't have any luck finding questions on the forum that I know how to answer So I thought maybe I could set up an Arch repo. I looked around for a HOWTO on doing this but couldn't find anything. How do all the repo's get their packages from the main Arch repo?
    As of late I have been working with dav7 to set up an old package repo. More like a place to download old packages at http://schlunix.org/arch-linux/i686/ he supplied all the packages. There are a lot of them there but obviously it is only as complete as the packages he uses.
    So... 1, how would I got about setting up a repo? And 2, is there any kind of nifty script I could use to instead of deleting obsolete packages, just move them to an "old" folder so people could search it if they needed an old package?
    Thanks!
    Last edited by DeltaXFX (2008-06-26 22:45:36)

    Thats what I'm trying to do, make and keep a real backup mirror for the benefit of all Archers. My hosting account has 550GB space (grows 2GB/week) and 6TB monthly bandwidth (grows 40GB per week). I don't know if that will be enough... but I would imagine that would hold quite a few packages.
    I was checking out rsync, and when I do "rsync archlinux.org::" it does say that only authorized mirrors are allowed to access it. So right now I'm looking for another mirror that will let me use rsync. But in the meantime who would I talk to to find out if it would be possible/helpful to the community/worthwhile to become an official mirror vs just syncing off a mirror that syncs off of archlinux.org?
    Also, assuming I get this all working, how do I update the packages.txt file? Would I just use the one that I would get by rsync'ing off of whatever server I end up using? Trying to figure out what the easiest way to keep all the old packages would be. If I do what iphitus suggested and just not delete the old packages but leave them in the same directories as the current packages will that cause any problems (as far as people being able to do a "pacman -Syu" to my server)?

  • Questions on running an Arch Mirror

    Questions on running an Arch Mirror
    Does anyone here run a public arch mirror that can give me any idea of bandwith they use ?
    Is there any issues with running the Current and Extra mirrors in the US ?
    Is there any issues with running the Community mirror in the US ?
    Mostly I would like to know what bandwidth consumption on a public mirror is for the mirrors that are normally used.  Any help with this would be greatly appreciated. 

    I don't think he would mind this info being posted... i emailed him asking for the bandwidth info for the server for a one month period.... an average.......
    - we dont have
    a record of actual data transferred, just the amount requested (which
    stands at 5440.17 GB).
    My server only allows approx 2500 GB transfer per month... so, until i can find a way to upgrade that, I won't make it a public server.... if i did, i'd owe WAY too much money at the end of every month

  • Arch Mirrors Down?

    I've been trying to upgrade my system using pacman but the main arch mirror was not responding. I went through other mirrors listed in /etc/pacman.d/current but none of them seem to be responding either, though my network connection is working fine otherwise.
    What the hell is going on?

    Same problem here, no idea what's going on.
    This is UK, 23:23 GMT if it's any help. What a pain in the ass.
    T

  • Setting up RAID-1 mirror as aliased boot device on V240

    Hi Guys,
    I've successfully mirrored 4 slices from the original disk
    to the second one in our v240, the raid as such works,
    and is consistent. I then did the following:
    <div class="pre"><pre>installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c1t1d0s0init 0devalias disk_mirror /pci@1c,600000/scsi@2/sd@1,0:aboot disk_mirror</pre></div>
    But on reboot the machine complained that it couldn't
    find the kernel ...
    What did I do wrong?
    Cheers,
    Andrej

    <table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>m-lennon wrote on Fri, 02 December 2005 07:45</b></td></tr><tr><td class="quote">
    Very amusing comment Michael!
    </td></tr></table>
    Actually I think he just didn't believe me when I said
    that I have SUCCESSFULLY mirrored 4 slices (/, /var swap
    and /adv). Yes, I did use metastat to check on the
    process, and yes, after a couple of hours even the
    largest slice (/adv) was successfully mirrored.
    <table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>m-lennon wrote on Fri, 02 December 2005 07:45</b></td></tr><tr><td class="quote">
    One of the things that can be confusing when moving from Linux on PC to Solaris on SPARC systems is the obp, far more robust than BIOS! I have found that this puts Linux administrators off using SPARC systems, but these systems aren't that complicated if you understand how to use them ( entry level systems at least ). A good place to start is http://docs.sun.com/ and BigAdmin. As Michael suggested the man pages are an excellent source for quick information. Any time I work on a Linux system I use the man pages all the time because the GNU commands can be different. In fact during exams like the RHCE you are allowed to use the man pages to help you answer the problems/questions. Can you tell us if you have followed a procedure or guide when you set up your root mirror?
    </td></tr></table>
    I followed the general outline as it was given to me
    in the course SA-299 ...
    <table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>m-lennon wrote on Fri, 02 December 2005 07:45</b></td></tr><tr><td class="quote">
    Have you searched the forum for any references, I have posted to a thread outlining the steps to take to configure a root mirror some time ago:
    http://supportforum.sun.com/hardware/index.php?t=msg&got o=17942&rid=3131&SQ=c7d34a55da48e884a4ea26ddaf162731
    I think it is difficult to try and provide this information through the forum, as you can see in this thread it was far from straight forward! If you want to outline more about your current configuration, I can try to give you some pointers.
    </td></tr></table>
    The mirroring wasn't the problem. I suppose I didn't quite
    understand Michaels question; I assumed that he wants me
    to check if the files are present on the mirror, which is what
    I have no clue how to do; as in looking at it as if it were a
    stand-alone HDD.
    However: The mirroring wasn't the problem, the attempt to
    boot (to verify that I'll have a working system if disk 1 dies)
    of the secondary side of the mirror was ...
    Cheers,
    Andrej

  • Arch Mirrors Layout

    Hi:
    I'm trying to set up a mirror of your server in order to provide arch pakages to my community and I have a question.
    Since I saw this mail list message I thought there's no reason for having a folder named 'any' under every repo folder.
    Is there any hidden reason for this or it is just cause not every package has migrated to the new layout yet ?
    Thxs.

    erick.red wrote:I want to know something.
    When package a-25.pkg.tar.gz is in testing is uploaded to pool/packages right ?
    in pool/packages are uploaded packages from core/extra/testing/gnome-unstable/kde-unstable/staging and in pool/community the rest.
    Now when the same version of the package is moved to core, the package is not re-uploaded, just the link moved eh ?
    Am I right ?
    you are correct. that was the whole point of implementing a pool directory. mirrors sync the actually package once and on move, they sync only the symlinks

  • How to set up and auto-mirror a networked drive?

    So here's the situation.  I currently have a MBP Retina 15 (max spec'd), and there are some design processes that still run a little slow for my liking.  Given that I spend about half my working life at a desk plugged into a monitor anyway, I figured I'd get a Mac Pro to use when I'm in the office.
    What I need help with is how to:
    -Set up an external networked drive so that I can open and save all my projects to the same place regardless of which machine I'm working on.  I spend 90% of my laptop working time at home on the same network.
    -Have the networked drive auto-back up to another external storage device so that in case of HD failure.  Basically I want to save a file, and have it expeditiously (ideally instantly, but the sooner the better) back up to the secondary HD. 
    Somebody at the Apple Store suggested using a USB HD plugged into Airport Extreme, and that would work, I suppose, but
    1) I'd really prefer something plugged in to the Mac Pro to speed up the data transfer at least one one machine.
    2) There's only 1 USB port on the Airport Extreme.  So if we were to go this way, the back up mechanism would need to be built in to the drive -- some sort of double external HD that auto-mirrors.
    Any suggestions?

    Could you use textarea?
    sym.$('inputfiled').html('<textarea cols="20" rows="3"></textarea>);
    actually the form I used in the file is:
    inputMessage = $('<textarea />').attr({'type':'textarea','rows':'10', 'cols': '25','value':'', 'id':'message'});

  • Is there anyone interesting in setting up an Arch Rollback Machine?

    Hello Archers,
    We developed the new Arch Rollback Machine (aka. A.R.M) and running the current A.R.M service api.
    Several days earlier we have a disk failed, replacing the disk and rebuilding RAID brings ~2 days downtime. We are sorry for any inconvenience that happened thus, we are looking for anyone who interesting in setting up an A.R.M api service.
    Our A.R.M architecture is consisted with 4 parts: `repo-arm-server` provides package searching api backend, `archrepo2` manages package file and database, rsync script based on cronjob syncs packages with upstream daily, and NGINX used as reverse proxy for better speed and security.
    Source code and configurations can be found here -> https://github.com/archlinuxcn/repo-arm-server
    Server requirements:
    * An average CPU performance, we allocated 2 cores of a dual Xeon L5520 @ 2.26Ghz and load average 0.9.
    * 1GB RAM, larger is better.
    * At least 300G HDD space to hold packages for about 1 year, larger is better.
    * 100Mbps shared Internet connection could definitely handle it, currently we use ~100GB bw per month.
    * It's running a not-too-old Linux :-)
    You could use your own domain as alternative URL or provide us with IP address to do load-balancing and GeoDNS if requested.
    Detailed setup guide is here -> https://github.com/archlinuxcn/repo-arm … .M-Service
    We appreciate any help here, and if you need we can help you to deploy.

    Thank you for your replies.  I am setting up one machine perfectly, so that I can use that machine to image the other 29 machines. My issue is that in setting up the one perfect machine I need to create 6 different User Accounts on the machine. Four of the User Accounts are perfectly identical except for the name of the User Account. It takes a lot of time to set up the Dock and all the user preferences of each of these User Accounts. I am looking for a way to duplicate the User Accounts so that I can same some time.  I want to create one user account, set it up with all the details and then duplicate it three more times.

  • Arch mirror to new drive [solved]

    Hi guys, a newbie question here.
    I wish move my current arch installation to a brand new drive using Clonezilla but the operation wasn't 100% successful. The mirroring operation from the old drive to the new one didn't give me any problems but I cannot boot into the new system. Grub lets me choose operating system (Arch or centos) but shortly after it gets stuck, throwing errors like: "failed to parse block device name for /dev/sda1".
    I've tried editing my menu.lst by mounting the partition via Arch live-cd (but I don't really see why I have to change anything at all). The menu.lst file looks exactly the same as my old/current Arch's ditto. I also tried changing the UUID in root=/dev/uuid etc into root=/dev/sda1 but no joy. A desperate and probably long shot solution (at least in my mind!) was to generate a new mkinitcpio but that failed too saying it cannot find /boot/grub/kernel26 etc.
    Did I miss something?
    The reason for me wanting to move my Arch installation is that my Seagate is way too loud. The new drive is from Samsung. Same size. Supposedly quieter.
    Any ideas?
    Edit: the mkinitcpio is untouched, it's supposed to find all pata, scsi, sata etc.
    Thanks in advance.
    Last edited by new2arch (2009-04-20 17:33:57)

    dobedo wrote:Something helpfull in this thread?  http://bbs.archlinux.org/viewtopic.php?id=64027
    Thanks for the tip. Will give it a try when I get back home today.
    Possibly the mkinitcpio command didn't work as it should since I couldn't chroot into the new drive's partition for some reason (following the Arch Wiki, how to chroot). But I have to give it another shot checking out Blazercist's how-to.
    "Anyhow this is basically what needs to be done to correct the problem.
    1. Boot ArchLive
    2. mkdir /media/disk
    3. mount /dev/sdxX /media/disk
    4. chroot /media/disk
    5. mkinitcpio -k 2.6.28-ARCH -g /boot/kernel26.img
    6. nano /boot/grub/menu.lst
    7. Replace any references to UUID with /dev/sdxX (where xX represents your drive and partition) instead, save and exit nano.
    8. reboot
    Make sure and pay attention to the output of the mkinitcpio command in my step 5. If there are any errors relating to one or more of the hooks you'll need to edit /etc/mkinitcpio.conf and remove the hook it complains about !!IF POSSIBLE!!.  I for example had some problem with the autodetect hook which caused my regular kernel to fail to create an image.
    If mkinicpio doesn't complain and tells you it SUCCEEDED generating the images then you should be good to go."
    Last edited by new2arch (2009-04-20 11:12:05)

  • What's the best Arch mirror for India ?

    I have tried the Israeli mirror, a few european mirrors and even the US based mirrors, but none of them give me good download speeds.
    Can some users in India tell me which might be a good mirror to use. I used to get amazing speeds from a few US mirrors when I was in the US. I am trying to set this up for my parents here in India so that they can have good speeds.

    Ok I tried the rankmirrors and also replaced the mirrorlist with the new one that was generated. But it still does not help. I tried updating the system today and it had to download about 111 MB worth of data and its been 3 hours now and it still hasnt finished. I am not sure if its a problem at the mirrors or my machine.
    Locally the applications start up pretty quickly so my machine is not lagging in that regards.
    What could be the issue?

  • Setting time between Arch+Windows 7

    I have Windows 7 x64 and Arch x64 both off /dev/sda, I just finished a dual boot install this week and both working fine, but I can't get the time to be smooth on both. I followed this: https://wiki.archlinux.org/index.php/Time
    I have UTC in Arch (/etc/adjtime) and in Windows I added that registry entry from the Arch Wiki, however now the time in Windows is showing as 3 hours behind. I change it manually and of course it reverts shortly back to 3 hours behind. Wondering if anyone else has run into this, appreciate any help!

    WonderWoofy wrote:
    If you use the registry entry exemplified in the wiki to set Windows to UTC/GMT, you also have to disable the windows time service.  This can be done from "services" or by simply going to whatever gui time setting thing windows has and disable auto update (or whatever they call it).  Otherwise, it will tell Windows you are in UTC, but the updater will continue to update in localtime. At least this was my experience.  So it was therefore easier to simply let Arch or any other non-windows (therefore UTC) system to keep the time.
    The reason it suggests using your Linux install to handle time is because of daylight savings time.  There is the reversal of an hour in the fall and very time sensitive programs might not react very predictably when time goes backwards.  Though if your area does not have DST, this does not apply to you.
    I always ran into the situation for that every additional operating system installed on the machinery, that was one more time that the clock would adjust for DST.  I now solve that problem by just having Arch installed.  If there are other *NIXs on the same machine they usually respect UTC.

  • Swedish Arch Mirror [split]

    thanks,
    yeah, we should have swedish mirror also,
    i wonder if it's possible to get arch on sunet?
    edit: here: ftp://ftp.sunet.se/pub/Linux/distributions

    ok ,i got an answer,
    translated from swedish :
    As for now we are very restrictive with adding new distros to the server but we are putting Archlinux on the request list.
    greets
    [email protected]
    doesn't look so good to me,

  • Setting up an Arch Linux server

    I apologize if this is in the wrong topic. Anyways I am vary new to arch linux and linux in general, and I need to set up a server to host a website. It will be fairly small with low traffic.
    I followed the guide on the wiki to install and configure LAMP, but after that I have no idea what to do. I was looking for someone to at least point me in the right direction.
    I should also note the website I want to host is already created.
    Last edited by zanandan (2013-07-17 15:51:07)

    Woah woah, I'm sure lighttpd is a fine piece of software, but it sounds like zanandan already has his server completely setup.
    zanandan wrote:How do I set it up to be a normal www. webpage?
    What URL did you purchase or sign up to use? If you don't have one, you will need to get one from a domain name registrar.
    You then tell the registrar to point your new "zanandan.com" website to point to the IP address that is given to your router from your Internet service provider (see http://www.whatismyip.com/). You then configure your router to send all HTTP traffic (port 80) directly to the IP address for your server (it probably looks like 192.168.###.###). You now have a website accessible from anywhere.
    Be warned, though: Many Internet service providers send a new random IP address to your router every few days, so I have a service ("ddclient") that automatically updates my URL with my new IP address every so often.
    I use http://dyn.com/dns/ for my free domain name.

  • Set OS to always mirror displays

    I often have to do presentations where the projector is not powerful and it's incredibly difficult to see the cursor on some setups.  Thus it's easier to look at my laptop, rather than the projected image, ie I need things mirrored. 
    On my previous mac, it seemed to remember my previous settings and always mirrored displays.  On Mountain Lion, it does not mirror by default and it's then very difficult to operate the machine because the resolution (on the projected image) isn't high enough.
    Wondering if there's some thing I can hack, or a maybe an obvious setting I'm missing, so it can default to 'mirror displays'?

    Thanks for the reply Cattus Thraex.  I don't think you fully understand my particular issue:
    1) hook up mac to a new, inferior digital projector
    2) mac defaults to 'non mirrored', my laptop only shows what amounts to a blank screen, while the actual desktop is being projected
    3) but the projector is not good enough to do fine detail; even getting it to 'mirror', so that I can "drive" the presentation through my laptop is difficult.
    Previously, this is what happened (before I had mountain lion)
    1) hook up mac to a new inferior digital projector
    2) it seems to remember my preferance, everything is mirrored
    3) I start working
    It's like mountain lion tries to outthink itself when interfacing with a new device, saying "i'm going to default to what I think is best, not what I remember from your last device".
    Not sure if that explains it.  The easiest summary is: I want the OS to always default to 'mirror displays' when detecting new displays.
    Thanks for your help

  • Is this person trying to attack Arch mirrors or just very confused?

    2009/01/03 23:11:12 [9566] rsync on archlinux/(unstable|community|etc)/ from UNKNOWN (203.86.[...])
    This client's been sending list-your-files requests on /archlinux/*/ every couple of minutes for 12 hours, causing a bit of server load. Anyone else seeing this?

    I don't mirror arch files.... but can't you block the ip address?

Maybe you are looking for