Skip to content
June 27, 2011 / Chris Merck

pacserve

I don’t have stellar bandwidth. I also have at least two machines with Arch installed. I used to dread upgrading the second machine. Thankfully, now I have pacserve!

Just follow his instructions… (which for me boil down to:)

  1. Install pacserve via AUR.
  2. Punch holes in ze firevall:
     sudo iptables -A INPUT -p tcp --dport 15678 -j ACCEPT
    sudo iptables -A INPUT -p udp -m pkttype --pkt-type multicast --dport 15679 -j ACCEPT 
  3. Add entry to top of /etc/pacman.d/mirrorlist on each machine:
    Server = http://localhost:15678/request/$repo/$arch
  4. Start pacserve on each machine:
    pacserve --multicast
  5. Fire away with pacman:
    pacman -Syu

Enjoy 12MB/s for packages shared over the (100Mbit) LAN.

:: Retrieving packages from extra...
  ca-certificates-ja...     3.2K  617.6K/s 00:00:00 [######################] 100%
  openjdk6-6.b22_1.1...    30.0M   11.2M/s 00:00:03 [######################] 100%
  eclipse-3.7-1-i686      168.7M   11.2M/s 00:00:15 [######################] 100%

Thank you Xyne!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: