You are not logged in.

#1 2009-06-12 03:48:10

jason_f
Member
Registered: 2006-08-18
Posts: 78

Tips for managing multiple computers

I have 3 boxes running arch...For the most part I keep the same software installed on all of them. I often see new packages on the AUR and want to install them on all my machines.

Problem being, 1, if all 3 boxes are on, rare, I have to install the package 3 times at best through ssh.
and at worst, I dont have the other 2 machines on.

So what does everyone use for syncing up or installing packages across machines? Thought about writing some scripts to do this if all the computers were up, but not sure how to approach the 'install on next boot' part of things, and dont want to reinvent the wheel.

hopefully this has already been solved and i just dont know about the solution yet =]

Offline

#2 2009-06-12 05:22:18

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: Tips for managing multiple computers

Personally, anything from the AUR that I want on multiple conputers (I have 7ish Arch computers), I build on one computer, then upload it to a repo that I have, then the rest of the computers will install the new package from the repo next time I -Syu on them.

Offline

#3 2009-06-12 09:44:43

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Tips for managing multiple computers

My solution isn't the most elegant, but it works for me. I keep my pacman cache on a partition of an external hard drive. I added it to the fstab in each of my computer using the UUID, so before I update, I plug it in and "mount /var/cache/pacman" and it mounts the proper partition.

This all started when I bought my first EeePC, which has a tiny SSD that isn't really capable of holding a pacman cache. I mounted the cache on the external when I first installed it, later on, I needed to update one of my other systems, I realized I had 500mb or so of packages I needed already downloaded on the external. The idea just stuck, whenever I update any of my computers, I just reach for the drive. I started keeping my AUR packages on there too recently, which started because the Firefox betas were taking forever to compile.

Last edited by elliott (2009-06-12 09:47:27)

Offline

#4 2009-06-12 14:59:26

glad
Member
From: Norway
Registered: 2005-11-01
Posts: 103
Website

Re: Tips for managing multiple computers

What about using Rsync? So that every time you change something on one of the computers, the change will be uploaded to all the other machine. I'm not sure on how to sep up something like that, but I'm looking into it cause I want it for myself too.

Offline

#5 2009-06-12 17:42:28

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: Tips for managing multiple computers

share /var/cache/pacman as a nfs share

Offline

Board footer

Powered by FluxBB