From owner-freebsd-questions@FreeBSD.ORG Sat Feb 4 16:21:37 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6231C16A543 for ; Sat, 4 Feb 2006 16:21:30 +0000 (GMT) (envelope-from vaaf@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30A16444C0 for ; Sat, 4 Feb 2006 15:56:47 +0000 (GMT) (envelope-from vaaf@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IU600B0377WFB80@osl1smout1.broadpark.no> for questions@freebsd.org; Sat, 04 Feb 2006 17:02:20 +0100 (CET) Received: from urban.broadpark.no ([213.187.181.70]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IU600NWK72P29E0@osl1sminn1.broadpark.no> for questions@freebsd.org; Sat, 04 Feb 2006 16:59:14 +0100 (CET) Date: Sat, 04 Feb 2006 16:56:54 +0100 From: Kristian Vaaf In-reply-to: <006401c62999$f57db830$36741d46@sdouvilnonq1> To: Steve Douville , questions@freebsd.org Message-id: <7.0.1.0.2.20060204164543.02002ba8@broadpark.no> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <006401c62999$f57db830$36741d46@sdouvilnonq1> Cc: Subject: Re: Building Identical Configurations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2006 16:21:37 -0000 Hello Steve! I wanted the exact same thing back in the days. Tried looking at CVS and some other shit, but nobody out there seems to think like we do. So I ended up with the simplest way of doing it which I'll never regret. Simply mirror your configuration files into your home directory, e.g. ~/etc/hostname/ Here's a fancy tree of my mirror. /home/vaaf/etc +-----awad | +-----boot | | +-----loader.conf | +-----etc | | +-----aliases | | +-----cvsupfile | | +-----group | | +-----hosts | | +-----inetd.conf | | +-----master.passwd | | +-----motd | | +-----periodic.conf | | +-----pf.conf | | +-----rc.conf | | +-----resolv.conf | | +-----zlogout | | +-----zshrc | +-----root | | +-----list.txt | | +-----make_ports.sh | | +-----make_world.sh | +-----sys | | +-----i386 | | | +-----conf | | | | +-----AWAD | +-----usr | | +-----home | | | +-----johann | | | | +-----dot.gnupg | | | | | +-----options | | | | | +-----pubring.gpg | | | | | +-----random_seed | | | | | +-----secring.gpg | | | | | +-----trustdb.gpg | | | | +-----dot.gpgrc | | | | +-----dot.irssi | | | | | +-----blow.ini | | | | | +-----config | | | | | +-----look.theme | | | | | +-----modules | | | | | | +-----libfish.so | | | | | +-----scripts | | | | | | +-----autorun.tgz | | | | | | +-----dns.pl | | | | | | +-----url_log.pl | | | | +-----dot.mailcap | | | | +-----dot.muttrc | | | | +-----dot.signature | | +-----local | | | +-----etc | | | | +-----amavisd.conf | | | | +-----apache2 | | | | | +-----httpd.conf | | | | | +-----virtual.conf | | | | +-----bitlbee | | | | | +-----bitlbee.conf | | | | | +-----vaaf.accounts | | | | | +-----vaaf.nicks | | | | +-----clamd.conf | | | | +-----courier-imap | | | | | +-----authdaemonrc | | | | | +-----authmysqlrc | | | | | +-----imapd | | | | | +-----imapd-ssl | | | | | +-----imapd.cnf | | | | | +-----pop3d | | | | | +-----pop3d-ssl | | | | | +-----pop3d.cnf | | | | +-----freshclam.conf | | | | +-----mail | | | | | +-----spamassassin | | | | | | +-----init.pre | | | | | | +-----local.cf | | | | +-----nessus | | | | | +-----nessusd.conf | | | | +-----php.ini | | | | +-----postfix | | | | | +-----main.cf | | | | | +-----v_alias.cf | | | | | +-----v_domain.cf | | | | | +-----v_mailbox.cf | | | | +-----procmailrc | | | | +-----screenrc | | | | +-----snort.conf | | | +-----lib | | | | +-----sasl2 | | | | | +-----smtpd.conf | | | +-----share | | | | +-----vim | | | | | +-----vimrc | +-----var | | +-----named | | | +-----etc | | | | +-----namedb | | | | | +-----db.mydomain.com | | | | | +-----named.conf +-----amra | +-----etc | | +-----cvsupfile | | +-----group | | +-----master.passwd | | +-----motd | | +-----periodic.conf | | +-----rc.conf | | +-----zlogout | | +-----zshrc | +-----usr | | +-----home | | | +-----mujahid | | | | +-----ice | | | | | +-----ezstream.xml | | | | | +-----m3u.sh | | | | | +-----shuffle.py | | +-----local | | | +-----etc | | | | +-----apache2 | | | | | +-----httpd.conf | | | | | +-----virtual.conf | | | | +-----auth | | | | | +-----collabo.auth | | | | | +-----uklart.auth | | | | +-----collabo.auth | | | | +-----icecast.xml | | | | +-----php.ini | | | | +-----pure-ftpd.conf | | | | +-----pure-ftpd.passwd | | | | +-----sc_serv.conf | | | | +-----screenrc | | | +-----share | | | | +-----vim | | | | | +-----vimrc +-----wata | +-----boot | | +-----grub | | | +-----menu.lst | | +-----loader.conf | +-----etc | | +-----X11 | | | +-----xorg.conf | | +-----cvsupfile | | +-----hosts | | +-----login.conf | | +-----master.passwd | | +-----rc.conf | | +-----resolv.conf | | +-----sudoers | | +-----usbd.conf | | +-----zlogout | | +-----zshrc | +-----mnt | | +-----bcm5751.zip | +-----sys | | +-----i386 | | | +-----conf | | | | +-----WATA | +-----usr | | +-----local | | | +-----share | | | | +-----vim | | | | | +-----vimrc I have yet to make a script to automatically mirror files that I edit, I don't see no need to really. Manual copying works fine. I can restore my entire system setup with a simple cp command and that's it. Doesn't get more simple than this. This is also a chance for you to get your configuration files straight. Make them look nice and all that. I always use a neatly designed header like this one: ##### Company FreeBSD/i386 ##### 60.24N+5.19E host.name.com The number being the latitude and longitude of your box. I hope it works for you :) Take care! At 15:47 04.02.2006, you wrote: >I'd like to build and tune one server and then create an iso of the >configuration so that I can easily build additional machines in the >same configuration. I've tried googling but perhaps I just haven't >used the right search parameters to find the info I'm looking for. I >have figured out being able to create the iso using mkisofs and >creating a bootable disk. I'm just not sure what part of the file >system I need and then how to go about building the new machines >once I have the disk ready. > >Can anyone point me to some sites or if it's easier than that, just >give me some idea? > >Thanks! >Steve > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"