Top.Mail.Ru
? ?

Entries by tag: code

[Sysadmin 101] Keeping Config Files Synced

One of the things I go REALLY tired of when I was setting up new machines without shared home directories was copying over ALL my personalized configurations over and over and over again. So I wrote a script to copy everything over. And then I realized that, somewhere along system number 10, the configuration files I was copying were tuned differently from the earlier ones, and in order to keep my settings consistent, I needed to go back and recopy everything…

…if you’re a developer or a sysadmin, you know where this is going. I checked everything into a version control system – git in this case – and started checking out the files on the new locations, and pulling updates on the others. This makes perfect sense, and as things get updated on one box, I can just pull the changes on the others on demand.

And this REALLY works well for me.

I recently added Dropbox to the mix. Howso? I moved the “master” git repository int a Dropbox folder. So on the machines where I have Dropbox (i.e. all my home systems, my work desktop, etc) I no longer have to pull the changes – Dropbox is doing that for me. And for the systems where I can’t use Dropbox (like the VM I have at Lylix or my hosted server out at Dash Systems) I can still check in & out the files like I always did.

I realize this is probably old news to some of you (and if you have a shared drive for your home directory, you probably don’t need this at all). Be aware that file conflicts might come up if you’re not careful, but in general it’s been the perfect solution for me.

So, for those who want to know “How I do that” and have a fair grip of the Linux and/or OSX command line, here is the step-by-step  :

Read the rest of this entry »Collapse )

Originally published at sonney.com.

Latest Month

January 2012
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031    

Tags

Syndicate

RSS Atom

Comments

  • alchemist
    31 Oct 2011, 20:06

    Walter Murphy, who had a pop hit with Flight of the Bumblebee, made an album based on Phantom of the Opera. You can find his Toccata and Funk in D Minor on YouTube.
    Disco Toccata. LOL.
  • alchemist
    18 Oct 2011, 15:45
    My experience with the haggis can was that its smell reminded me of canned beef stew, which was odd as it was the lamb. There was definitely a lambish flavor to it, though the lack of chile…
  • alchemist
    10 Oct 2011, 19:27

    Not the alternative title for Journey of the Sorcerer?
    *grin*


    On one of my old mix tapes I have that flowing onto CSNY's Find the Cost of Freedom. The banjo notes blend nicely.
  • alchemist
    3 Oct 2011, 04:06
    Not sure where else to put this... well, now it occurs to me to PM or post it at Ursula's LJ, but I'm already here.

    A pig is indeed an ungulate, which basically means a creature that walks around on…
  • alchemist
    2 Oct 2011, 19:42
    Ahh, porky goodness...

    Y'might consider a bit of sage to the rub, and maybe some garlic? Just to switch it up a bit.
Powered by LiveJournal.com
Designed by Tiffany Chow
Image