Which BSD for an Experienced Linux User?
Bruce C asks: "I'm a software developer with 28 years commercial experience. Although my day job is mostly on Windows software, I've been using SuSE Linux for 6 years at home. Before that I worked on HP/UX. I've no pressing plans to abandon Linux, but I am interested in experimenting with a BSD style operating system. My current motivation is largely curiosity. Of course, I might end up being converted, but that isn't my intention. I'm wondering which of the various *BSD systems would be the 'best' introduction for a person like me. The workstation I'm planning to use is a generic beige box: Celeron 1.2, 768Mb RAM, 120 Gb IDE, with about 80Gb free. It's on a LAN, behind a firewall. The live CDs for FreeBSD (Freebsie), DragnoflyBSD, and NetBSD all booted and started on it. I haven't tried an OpenBSD CDROM. Which BSD should I pick?"
Given that you know Linux, you'll find FreeBSD to be the best one to try. I would recommend the 5.x series if you're feeling ambitious, or the 4.x series if you don't want to put in too much effort. I say this because of my own past experice with Linux and BSD. Have fun.
Hands down the easiest to pick up, and arguably the most common.
/usr/ports/misc/screen
Install software from source?
cvsup -g -L2 stable-supfile
cd
make
make install
make clean
Install the binary version?
pkg_add -r screen
next?
Karma: Chameleon (mostly due to the fact that you come and go).
That is true ... though I was not as successful ... basically, I now use both NetBSD and FreeBSD; I like them both. I use FreeBSD on my laptop because it has NDIS support for my WiFi card (after 5.3), but I also like NetBSD, which is on my desktop. NetBSD seems to handle packages better than FreeBSD, as often with upgrades on the latter, I have some problems (I think that DragonFly is trying to fix that, though it is very preliminary right now). I have also used OpenBSD, primarily for the AFS support built in, but I did not like it as much as the others. I also have an UltraSparc, that, of course, is running NetBSD.
To each his own, they are all great OSes, you will find one (or more) that you like.
A quick rule of thumb is generally ...
OpenBSD for security, NetBSD for portability and FreeBSD for diffusion in the wider world (ie, comparable to Linux).
I have no need for portability, and FreeBSD didn't appeal to me, so OpenBSD it was -- five years ago. I don't think you'll go wrong with any of them, though. If I did it again to experiment I'd probably try FreeBSD out this time.
BSDs do generally have more thorough online and internal documentation than Linux for the core basics, so you won't miss with any of them.
========================================
Death will come, and will have your eyes
-- Pavese
Here are some reasons you should consider OpenBSD's strengths.
Easy Install (and perhaps one of the quickest I've ever seen)
Very Secure OS. (You mihgt just find the OS all of your future servers run)
Ports System. - Like other BSDs, the ports system is truly a marvel. Software installation could not be easier.
Good license standpoint - OpenBSD has a rather purist stance on the licenses for software they ship. It might seem extreme at first, but there is some good reasoning behind it.
Documentation - OpenBSD's offical FAQ is very helpfull and answered 99.9% of the questions I had as a beginner.
In an average living room there are 1,242 objects Vin Diesel could use to kill you, including the room itself.
I've tried them all and they're so different from each other that one won't really give you a very good idea of what the others are like.
OpenBSD is probably the easiest. Most things are in a working configuration by default, they just need to be switched on. FreeBSD has more software and better performance, but it's never been worth it for me because you have to mess around with the kernel and stuff (We're not on Linux, after all). I had to manually enable modules to get things like sound and set all sorts of environment variables to get some of the ports to work right. On OpenBSD it pretty much works the first time you boot it if it's going to work at all. The security is a bonus, but mostly I like how little work it takes to maintain.
FreeBSD is a bit more up to date, and has more powerful features (I love jails). I usually fall back on it if I need one of the features.
I don't really see much point in NetBSD, but given the number of people that use it and like it it's probably worthwhile to take a look.
DragonFly is still close enough to FreeBSD in terms of user experience that you might be able to skip it if you don't like FreeBSD.
They're all pretty easy to install. Give 'em a shot.
I rarely criticize things I don't care about.
I started on OpenBSD 2.6 and I liked it. Just text mode as a firewall. The initial install was a little bumpy but then the man pages were excellent.
I've since used FreeBSD a fair amount. I'm becoming comfortable there, but I still feel more at home with OpenBSD.
FreeBSD 5 is not the best place to start. Some important things have changed and there isn't much support for these changes on the web yet. You'll find lots of older "howto" articles that won't work as written. I managed to bootstrap my FreeBSD server using PXEboot, but I had to liberally adapt the approaches I found because of the many changes in 5.x
There's a lot of negativity floating around about FreeBSD 5.x lately. It seems they've put a lot of energy in breaking hard ground over the past two years. It remains to be seen whether lush vegetation will spout in future versions as they tune these improvements. I think in any project with sufficient ambition, there are times when things have to go sideways for a period of time.
Recall how Tiger Woods decided to tune his golf swing when he was on top of the world. I sure hope it works out better for FreeBSD.
I say without a doubt they should try FreeBSD first. It'll run almost any application they are used to either natively or through the Linux compatibility layer.
/usr/ports/net/whatever ; make all install clean ; rehash' for almost anything) and it's a really, really nice way to work.
Also, reading through the FreeBSD Handbook will answer almost any question that one could have regarding getting the system up and going.
Combine all of this with the extremely expansive collection of ported applications (it's often as easy as 'cd
If you like Linux for tons of packages, and ease of use as a desktop system, go with FreeBSD.
If you hate Linux for its complexity, bloat, unclean filesystem, and long for something cleaner, go with Open or Net, I prefer Open myself.
If you hate linux for all those things, but don't want to make any large steps, then again, FreeBSD, its the closest thing to a baby step you'll make.
All the BSD's rock, all of them are much cleaner, and more consistent than your average linux distro, which is, in my humble opinion, the best reason to move over to them.
--Nuintari
slashdot : where an opinion can be wrong.
I'd suggest *starting* with OpenBSD (or NetBSD though I've got no personal experience myself) and later trying a FreeBSD install. If you've been on Linux for 6 years and have run HP/UX I'd have to say you're qualified to run one of the less candy coated BSD's to get yourself integrated into the "whole BSD 'thang." DragonFly will be cool (someday) but I can't suggest it for someone new to BSD. Same with Darwin.
/etc/pf.conf file. (Yes. I've got a life otherwise :)
OpenBSD would be great to learn on as it will definately push you into the documentation and get you used to some of the conventions used (slices v. partitions, startup scripts, etc.). I'd suggest you use an older or spare computer if you've got extra or can pick one up cheap. You could also just set aside space on those 80 gigs you've got. READ UP ON PARTITIONING, USE OF LARGE DRIVES, ETC. BEFORE YOU START ANYTHING!
Once you get some OpenBSD under your belt, put a box in service at your network connection (right behind you cable/DSL connection?) and learn to setup pf (packet filter - built in). Experiment with AltQ and get yourself a good firewall/NAT in place (junk the Linksys). Not too much trouble and the docs at OpenBSD - pf are quite good. Here you could experiment with adding a web server or MTA (if you don't have tons of boxen to keep your "real" services in some kind of dedicated DMZ). My home OpenBSD box forwards BitTorrent, Freenet, VNC and SSH to a variety of machines in my house. I also prioitize packets in the following order: 1st to tcp_ack_out, Vonage telephone, ssh_interactive, everything else, freenet, and finally ssh_bulk. Keeps my phone line crisp and prevents freenet from destroying my ssh sessions' latency. You can do this with other products but I've had a good time (and have learned quite a bit) constructing my
Then build youself a FreeBSD box. This should be cake. 5.x should install without a problem for you and you've got access to all the ports you could ever imagine. Your experience with OpenBSD will help you understand some of the differences you'll encounter. Makes a great desktop. OpenBSD will work fine as a desktop machine but I've never done it. Same for NetBSD I suppose. Give it a whirl. I'm sure you'll learn a ton and be quite happy with whatever you decide.
Don't short yourself on learning OpenBSD. It is awesome, security aware and has some wonderful features (need encrypted swap case the feds might knock down your door at any minute? check.). It may just serve all your needs and knowing it is surely going to be useful to either yourself or others in the future. Use it for utility and the ability to sleep at night with your data behind it. (still better go with RSA keys on sshd though). Check out http://undeadly.org/
Don't short yourself either on checking out FreeBSD. I moved from Linux to "the beast" some 5 years ago and haven't looked back since. The 4.10 machine I use everyday has been up 168 days as of today. I had at shutdown the machine previous to that due to a scheduled power outage. It sits fully exposed on an unprotected IP and runs user apps, a web server and mail. Not a single problem in years. FreeBSD has certainly served me (and some clients of mine) well.
If you're a system developer or like playing with things at the driver level or experimenting with new code, new systems or want to put your toaster on the network, don't deny yourself a NetBSD 2.x install. Wonderful features at the leading edge. Very capable and I hope to get some more experience with it myself one day.
Learn OpenBSD. You won't regret it.
Uhm, no. Everything in a base install, even if not turned on, has undergone a code audit... I'm fairly certain that the OpenBSD versions of sendmail, bind, and "the webserver formerly known as Apache" have all had many security-related patches applied, not all of which were accepted back into their respective main code branches.
Anyway, for a Cluefull User I highly recommend OpenBSD - the documentation kicks ass, and the user community is great at helping those that help themselves (i.e. as long as you've done your homework, they've always been quick to help).
But since I've seen that a 3-year-old post spreading FUD over BSD was modded up from "-1 Troll" to "+1 Funny", I thought that - at the risk of burning my karma - it was right to make available to the +1 readers an even funnier collection of *facts*.
FreeBSD:
FreeBSD, Stealth-Growth Open Source Project (Jun 2004)
"FreeBSD has dramatically increased its market penetration over the last year."
Nearly 2.5 Million Active Sites running FreeBSD (Jun 2004)
"[FreeBSD] has secured a strong foothold with the hosting community and continues to grow, gaining over a million hostnames and half a million active sites since July 2003."
What's New in the FreeBSD Network Stack (Sep 2004)
"FreeBSD can now route 1Mpps on a 2.8GHz Xeon whilst Linux can't do much more than 100kpps."
NetBSD:
NetBSD sets Internet2 Land Speed World Record (May 2004)
NetBSD again sets Internet2 Land Speed World Record (30 Sep 2004)
OpenBSD:
OpenBSD Widens Its Scope (Nov 2004)
Review: OpenBSD 3.6 shows steady improvement (Nov 2004)
*BSD in general:
..and last but not least, we have the cutest mascot as well - undisputedly. ;)
Deep study: The world's safest computing environment (Nov 2004)
"The world's safest and most secure 24/7 online computing environment - operating system plus applications - is proving to be the Open Source platform of BSD (Berkeley Software Distribution) and the Mac OS X based on Darwin."
--
Being able to read *other people's* source code is a nice thing, not a 'fundamental freedom'.
>I never found adequate documentation for how to deal with it (most seemed to assume I already knew what I was doing).
I would suggest this excellent trilogy of articles about FreeBSD ports:
Ports Tricks
portupgrade
Cleaning and Customizing Your Ports
Together with the ports chapter on the FreeBSD Handbook, they should pretty much cover anything you'd need to know to work with ports - they did for me.
And btw, as another poster already pointed out, the BSD section of Onlamp is a *great* source for BSD technical info.
I've also heard great things about NetBSD's pkgsrc system - I have to try it out some day.
--
Being able to read *other people's* source code is a nice thing, not a 'fundamental freedom'.