SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2014-12-15 19:44:50

OrganizedFellow
#! Member
Registered: 2014-09-02
Posts: 59

TO THOSE USERS WITH #! ON MORE THAN ONE PC: Are they set up identical?

I recently had to reinstall #! on my desktop. In the process I chose to do a fresh install on my laptop as well. During the OS install, I opted to have /home on their own partitions.

I like the idea of making them BOTH identical to one another.

I was thinking of just documenting everything I do to my laptop on a shared GoogleDoc. I like that it is editable in realtime on both machines. Then duplicate my steps on the desktop.

So far I've gone through the initial setup on both.

How would YOU do this to make it easier?

They both have LAMP set up, so later I'll be copying over the 'etc/hosts' file, as well as the 'vhosts.conf'. I'll have to figure out a reliable way to sync the databases of my projects. Right now I use adminer and dump/import.

Offline

Help fund CrunchBang, donate to the project!

#2 2014-12-16 11:21:06

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: TO THOSE USERS WITH #! ON MORE THAN ONE PC: Are they set up identical?

Easiest method? Set it all up how you like on one machine, make an iso with Remastersys, install the identical setup on another machine.


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#3 2014-12-16 13:19:19

OrganizedFellow
#! Member
Registered: 2014-09-02
Posts: 59

Re: TO THOSE USERS WITH #! ON MORE THAN ONE PC: Are they set up identical?

damo wrote:

Easiest method? Set it all up how you like on one machine, make an iso with Remastersys, install the identical setup on another machine.

Thanks. Never heard of Remastersys.

How would you do this it were an ongoing thing? Future tweaks, edits, changes?!

Offline

#4 2014-12-16 13:37:33

#!_828
#! Tinfoil Hat
From: Ohio, U. S. of A.
Registered: 2013-09-19
Posts: 1,244

Re: TO THOSE USERS WITH #! ON MORE THAN ONE PC: Are they set up identical?

Just wondering: would remastersys also be good for creating a backup disk?


Those who would trade essential liberty for temporary security deserve neither
Member of the (Un)Official #! Emergency Tinfoil Hat Distribution Center
Emergency Tinfoil Hat Conky Alert System development team

Offline

#5 2014-12-16 15:09:30

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: TO THOSE USERS WITH #! ON MORE THAN ONE PC: Are they set up identical?

OrganizedFellow wrote:
damo wrote:

Easiest method? Set it all up how you like on one machine, make an iso with Remastersys, install the identical setup on another machine.

Thanks. Never heard of Remastersys.

How would you do this it were an ongoing thing? Future tweaks, edits, changes?!

You mean you haven't seen my epic guide? HowTo: Make your own iso, with Remastersys wink

If you are just using it as a personal backup/setup utility, then don't worry about the complicated-looking options and menus. Go with the defaults and do

sudo remastersys dist

A bootable iso is made, which you can dd to a usb stick. This runs as the usual live session on the other machine, and you can install with

remsu remastersys-installer-noswap gui
#or with swap
remsu remastersys-installer gui

For regular synchronisation you would have to keep a track of your changes and copy them across.


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#6 2014-12-16 15:12:02

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: TO THOSE USERS WITH #! ON MORE THAN ONE PC: Are they set up identical?

#!_828 wrote:

Just wondering: would remastersys also be good for creating a backup disk?

It has the option to do a system backup, but I haven't explored it myself. Personally I use fsarchiver to backup a partition


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#7 2014-12-16 15:44:35

uname
#! Junkie
Registered: 2013-03-15
Posts: 484

Re: TO THOSE USERS WITH #! ON MORE THAN ONE PC: Are they set up identical?

I use a text file with additional installed packages and i use a "shadow"-directory-tree with configurations (e.g. /backup/etc/iceweasel/pref/iceweasel.js, /backup/home/user/.config/openbox/menu.xml, ...).

I install minimal (you can install #!) and then i install the additional packages

apt-get install $(cat /backup/packages.txt | xargs)

After that i copy only needed configurations. If i change configurations i change my shadow-directory-tree. I only need to backup data and not to backup configurations. User oder client individual files (e.g. ssh-keys) are treated like normal data. If i reinstall i do not restore dot-files and dot-directorys. If i really need them (e.g. tmux/screen) i put them to my shadow-directory (etc or home).

Last edited by uname (2014-12-16 15:47:57)

Offline

#8 2014-12-16 16:30:34

Alad
Software Satan
Registered: 2014-02-20
Posts: 1,512

Re: TO THOSE USERS WITH #! ON MORE THAN ONE PC: Are they set up identical?

Install #! on an amazon cloud server and SSH to it  O:)

[/troll - though plausible!]

Last edited by Alad (2014-12-16 16:31:22)

Offline

#9 2014-12-16 16:44:52

OrganizedFellow
#! Member
Registered: 2014-09-02
Posts: 59

Re: TO THOSE USERS WITH #! ON MORE THAN ONE PC: Are they set up identical?

This is pretty close to what I'm wanting to do: http://dotfiles.github.io/

Why would I want my dotfiles on GitHub?

    Backup, restore, and sync the prefs and settings for your toolbox. Your dotfiles might be the most important files on your machine.

Offline

#10 2014-12-16 16:46:37

Kuno
#! Die Hard
From: Osnabrück - DE
Registered: 2009-01-09
Posts: 674

Re: TO THOSE USERS WITH #! ON MORE THAN ONE PC: Are they set up identical?

I usually make an image on my installation, using partimage running from a live-usb (PartedMagic here), which i then restore to the second pc (again from PartedMagic live-usb). Only thing to do then is eventually editing fstab/hostname and grub-configuration. Which can be done from PartedMagic. In case the cloned install won't boot:  PartedMagic has an Extras-Menu which launches grub2-rescue-disk. This finds and boots all bootable systems on your harddisk. Having booted the clone, its easy to reinstall grub from the running system. PartedMagic meanwhile is "donation-ware", though the last costfree version (pmagic_2013_08_01.iso) should still be available somewhere on the net.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo