DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd May 2009
Bruco Bruco is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Kalamazoo, MI, USA
Posts: 61
Thanked 1 Time in 1 Post
Default Doing a fresh install - what to save?

I'm retiring my old FreeBSD 6.3 box because, well, it's dying. It blew the power supply, then one of the drives failed, plus all the hardware is at least 5 years old. It is time to upgrade.

So I have my fancy new home server built with lots of RAM and terabyte drives and it's running Debian (wait! I can explain!). I wanted to learn more about Linux and I wanted to be able to run VirtualBox, which isn't ready for BSD yet (though there's progress, which is very cool).

(Let me quickly share my thoughts on Debian: I picked it because people seem to like its stability, and that's my first priority for a box that's going to run 24/7. It's good - but it's almost too easy. What I mean is, when I configured samba on my FreeBSD box I edited smb.conf by hand. In Debian I just cllick a few things; it's practically like Windows. Now, that's not necessarily bad, but I liked how FreeBSD installed, gave me a command prompt, and then demanded I learn how to install X, configure apache, etc. Yes, I realize I can do things manually in Debian as well, but the thing is, FreeBSD FORCED me to learn, to do a lot of things by hand, and doesn't that make you more knowledgeable overall? Okay, I suppose this is more of a character flaw I have than anything, but I digress...)

Anyway, Debian is okay and all, but I don't want to abandon FreeBSD, because I really have liked using it. So I'm still going to run it, just virtually. It's still going to be my squid proxy server, and my apache server.

So, what I want to know is, when doing a fresh install, what should I back up from my old server (which may only live a few days longer)? I already have my data, but what about config stuff to reference? Here's what I figured so far:

/etc
/usr/local/etc

And that's about it. I imagine I'm missing something obvious (I've really only been playing with BSD for less than two years) and I'd be very grateful if anyone else had any suggestions.
Reply With Quote
  #2   (View Single Post)  
Old 23rd May 2009
cerulean's Avatar
cerulean cerulean is offline
Port Guard
 
Join Date: May 2008
Location: Arizona
Posts: 18
Thanked 0 Times in 0 Posts
Default

/etc and /usr/local/etc are the two big configuration folders.. however, I'd pull /var as well... there are certain apps that (for whatever reason) elect to store configuration data in /var (BIND comes to mind). I'd probably also (if possible) run a pkg_info so you know what ports/packages are installed (for reference).
Reply With Quote
  #3   (View Single Post)  
Old 23rd May 2009
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 733
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by Bruco View Post
What I mean is, when I configured samba on my FreeBSD box I edited smb.conf by hand.
Samba has a web interface which is independent of OS. You could just click
your way out of Samba configuration on FreeBSD box as well if that was the goal. You would obviously trade security for convenience but that seems to be the goal. The price of auto-configuration on Debian is very HIGH besides security. You install same small peace of desktop related software just to find out that Apache and eleven other services are happily running compromising your system and eating resources. Well that kind a "user friendliness" is exact reason why proprietary systems like Windows are can of worms. If Windows had all services shut by default and required users to start up necessary services it would not be actually that bad OS at all.

Last edited by Oko; 23rd May 2009 at 05:45 PM.
Reply With Quote
  #4   (View Single Post)  
Old 24th May 2009
drhowarddrfine drhowarddrfine is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 358
Thanked 9 Times in 8 Posts
Default

Quote:
FreeBSD FORCED me to learn, to do a lot of things by hand, and doesn't that make you more knowledgeable overall?
You will probably like this article from 1998:
Quote:
For the mere act of installing the system -- stripping down the machine to its components, then rebuilding its capabilities one by one -- led me to think about what has happened to the profession of programming, and to consider how the notion of technical expertise has changed. I began to wonder about the wages, both personal and social, of spending so much time with a machine that has slowly absorbed into itself as many complications as possible, so as to present us with a façade that says everything can and should be "easy."
Don't miss Part 2.
Quote:
I once worked on a project in which a software product originally written for UNIX was being redesigned and implemented on Windows NT. Most of the programming team consisted of programmers who had great facility with Windows, Microsoft Visual C++ and the Foundation Classes. In no time at all, it seemed, they had generated many screenfuls of windows and toolbars and dialogs, all with connections to networks and data sources, thousands and thousands of lines of code. But when the inevitable difficulties of debugging came, they seemed at sea. In the face of the usual weird and unexplainable outcomes, they stood a bit agog. It was left to the UNIX-trained programmers to fix things. The UNIX team members were accustomed to having to know. Their view of programming as language-as-text gave them the patience to look slowly through the code. In the end, the overall "productivity" of the system, the fact that it came into being at all, was the handiwork not of tools that sought to make programming seem easy, but the work of engineers who had no fear of "hard."
Reply With Quote
  #5   (View Single Post)  
Old 30th May 2009
Bruco Bruco is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Kalamazoo, MI, USA
Posts: 61
Thanked 1 Time in 1 Post
Default

I appreciate all the advice and insight!

Oko, I have used SWAT before, yes. Maybe samba was a bad example. But overall FreeBSD just feels like something you build from the ground up, which means you learn how it works and what's running on your system in a way you don't when a system is more "user-friendly". A point that you make quite well.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PLEASE HELP SAVE BSD MAGAZINE Kruzer Off-Topic 14 27th August 2009 05:10 PM
how to save stackoverflow podcasts? ephemera Off-Topic 4 19th July 2009 03:32 PM
Can't Print (Fresh First Time install) BSD newb Xero FreeBSD Installation and Upgrading 4 15th February 2009 07:11 PM
back to BSD for a breath of fresh air need help with Nvidia please whispersGhost FreeBSD General 6 22nd January 2009 09:36 PM
How do I skip format on some partitions in a fresh install? Quaxo OpenBSD Installation and Upgrading 9 25th June 2008 07:57 PM


All times are GMT. The time now is 06:51 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick