Debian vs FreeBSD

Status
Not open for further replies.

Notra

Smack-Fu Master, in training
59
So I am consulting for a resource-constrained community hospital in rural Haiti and I need a *NIX server to run the Firebird database, its going to serve about 10-14 users (doctors, nurses, registration desk, pharmacy etc).

Now there is an existing Dell tower desktop PC which is a Pentium 4 2.66 GHz with 512 MB RAM and Maxtor 40GB hard disk.

I'm going to remove the existing Windows XP and replace it with either Debian Linux or FreeBSD. Which of the two is the better in terms of resource usage?
 

Dilbert

Ars Legatus Legionis
34,009
[url=http:/civis/viewtopic.php?p=27471739#p27471739:2d7uhbun said:
Notra[/url]":2d7uhbun]So I am consulting for a resource-constrained community hospital in rural Haiti and I need a *NIX server to run the Firebird database, its going to serve about 10-14 users (doctors, nurses, registration desk, pharmacy etc).

Now there is an existing Dell tower desktop PC which is a Pentium 4 2.66 GHz with 512 MB RAM and Maxtor 40GB hard disk.

I'm going to remove the existing Windows XP and replace it with either Debian Linux or FreeBSD. Which of the two is the better in terms of resource usage?
You can get an atom based microserver for next to nothing and it will run circles around that 2.66 P4. That's how obsolete that thing is. Also yeah reliability is in question.
 

Notra

Smack-Fu Master, in training
59
Thanks everyone for replying. I made a recommendation today to purchase a new blade server. I believe that we should be able to get a good one [either Dell, Lenovo or HP] for less than $2000.

During the meantime I'm going to use this PC only as a development server, and have decided to go with FreeBSD as I believe its better for resource utilization (especially memory) than Debian Linux.
 

antiwraith

Ars Tribunus Militum
2,148
Subscriptor
[url=http:/civis/viewtopic.php?p=27481025#p27481025:2lazq59j said:
Notra[/url]":2lazq59j]Thanks everyone for replying. I made a recommendation today to purchase a new blade server. I believe that we should be able to get a good one [either Dell, Lenovo or HP] for less than $2000.

During the meantime I'm going to use this PC only as a development server, and have decided to go with FreeBSD as I believe its better for resource utilization (especially memory) than Debian Linux.


I'm very :confused:

I thought this was a resource constrained hospital in a rural remote area. You have an existing chassis for the blade server? Or by blade server, do you mean something else?
 

HellDiver

Ars Legatus Legionis
11,719
Subscriptor
[url=http:/civis/viewtopic.php?p=27481025#p27481025:3dyt847c said:
Notra[/url]":3dyt847c] I believe its better for resource utilization (especially memory) than Debian Linux.

Not sure about that. I run Debian Wheezy on a BeagleBoneBlack, and it's happy to run a web server, MySQL, DNS, DHCP, etc. That's a lot less powerful than a P4 machine.
 

Notra

Smack-Fu Master, in training
59
[url=http:/civis/viewtopic.php?p=27481567#p27481567:3oyn74dd said:
antiwraith[/url]":3oyn74dd]
[url=http:/civis/viewtopic.php?p=27481025#p27481025:3oyn74dd said:
Notra[/url]":3oyn74dd]Thanks everyone for replying. I made a recommendation today to purchase a new blade server. I believe that we should be able to get a good one [either Dell, Lenovo or HP] for less than $2000.

During the meantime I'm going to use this PC only as a development server, and have decided to go with FreeBSD as I believe its better for resource utilization (especially memory) than Debian Linux.


I'm very :confused:

I thought this was a resource constrained hospital in a rural remote area. You have an existing chassis for the blade server? Or by blade server, do you mean something else?

No, we don't have a chassis. So we need to also buy a small rack for the server. And yes, it is resource constrained, in the sense that we can't have everything we need eg. PC and laptop upgrades for all the users.
 

Paladin

Ars Legatus Legionis
33,855
Subscriptor
That's not resource constrained, that's 'the real world'. :D

Your original description and then the suggestion that you use seriously antiquated and unreliable leftover hardware to host an important central database implies that you have no money to spend. When you come back with 'Ok we are looking at the server option with a budget up to $2000', suddenly everything changes. o_O :facepalm:

If you have a budget, say that first. Even if you don't want to spend a lot on this, it seems that it is possible, so sharing that info is helpful. And you probably don't need a $2000 blade if a $10 ancient Dell desktop was your previous solution in mind. There are lots of blades from a generation ago with recertified hardware on ebay or hardware resellers for a fraction of the price you are talking. You can get refurb Dell blades with great hardware for $200 or so. The chassis is under $2000 too. Get a support contract with Dell if you can/want.
 

Sunner

Ars Praefectus
4,994
Subscriptor++
[url=http:/civis/viewtopic.php?p=27494483#p27494483:a5uqx60x said:
Paladin[/url]":a5uqx60x]That's not resource constrained, that's 'the real world'. :D

Your original description and then the suggestion that you use seriously antiquated and unreliable leftover hardware to host an important central database implies that you have no money to spend. When you come back with 'Ok we are looking at the server option with a budget up to $2000', suddenly everything changes. o_O :facepalm:

If you have a budget, say that first. Even if you don't want to spend a lot on this, it seems that it is possible, so sharing that info is helpful. And you probably don't need a $2000 blade if a $10 ancient Dell desktop was your previous solution in mind. There are lots of blades from a generation ago with recertified hardware on ebay or hardware resellers for a fraction of the price you are talking. You can get refurb Dell blades with great hardware for $200 or so. The chassis is under $2000 too. Get a support contract with Dell if you can/want.

I don't see why a blade to begin with, rather than just a reasonable HP DL3xx or Dell R6/7xx, whatever's available at a good price point. And depending on the environment, a UPS would probably not be a half bad idea.
 

Notra

Smack-Fu Master, in training
59
Yes, thinking about it now, a tower model seems to be the best bet. I had a look at the racks available from the Dell website and had no idea that they were so expensive. So I'm going to ask for a tower server. I'm looking at the Dell PowerEdge T320 (currently advertised with a discount on their website).

Hopefully it will be less than $1000, in that case I will just order two - one for backup / redundancy.
 

Paladin

Ars Legatus Legionis
33,855
Subscriptor
Yeah, unless you are building a whole infrastructure with multiple servers, then a blade chassis or rack mount setup makes no sense. Even if you need 5 servers, racks don't make sense until you know you need to plan for more in the near future and you want to control the space and layout of the servers. Rack mount servers and blades are awesome, but if you just have a small office with a couple servers, a tower is just fine.

As for the original question, I would recommend CentOS or Ubuntu personally. I have found a lot more community support for those two. By that I mean that software packages I need to use often specifically support those releases with good documentation and examples. FreeBSD is basically a niche OS at this point. I loved it for years and it has some really strong points but unless you enjoy a lot of fiddling, it isn't really appropriate to use as a server for a small office. You want something that they can hire anyone to support when you are gone. Something easy to maintain from one day to the next. I would say Ubuntu LTS is the best fit for that, CentOS is a close second.
 

ImRaptor

Ars Scholae Palatinae
830
[url=http:/civis/viewtopic.php?p=27494151#p27494151:2x2a6n7u said:
Notra[/url]":2x2a6n7u]
[url=http:/civis/viewtopic.php?p=27481567#p27481567:2x2a6n7u said:
antiwraith[/url]":2x2a6n7u]
[url=http:/civis/viewtopic.php?p=27481025#p27481025:2x2a6n7u said:
Notra[/url]":2x2a6n7u]Thanks everyone for replying. I made a recommendation today to purchase a new blade server. I believe that we should be able to get a good one [either Dell, Lenovo or HP] for less than $2000.

During the meantime I'm going to use this PC only as a development server, and have decided to go with FreeBSD as I believe its better for resource utilization (especially memory) than Debian Linux.


I'm very :confused:

I thought this was a resource constrained hospital in a rural remote area. You have an existing chassis for the blade server? Or by blade server, do you mean something else?

No, we don't have a chassis. So we need to also buy a small rack for the server. And yes, it is resource constrained, in the sense that we can't have everything we need eg. PC and laptop upgrades for all the users.

Kind of sounds like you don't mean blade, but rack mount. Blade on a scale of one server would be a terrible idea.
 

HellDiver

Ars Legatus Legionis
11,719
Subscriptor
[url=http:/civis/viewtopic.php?p=27509471#p27509471:67l6021h said:
zelmak[/url]":67l6021h]Sadly, some people call a 1U server a "blade" due to its fantastical thinness.

Mostly because of the Cobalt Blade, which was sort of the first commonly accessible 1U Linux server.

It's a bit like people calling a vacuum cleaner a Hoover.
 
[url=http:/civis/viewtopic.php?p=27515537#p27515537:16l8c35k said:
HellDiver[/url]":16l8c35k]
[url=http:/civis/viewtopic.php?p=27509471#p27509471:16l8c35k said:
zelmak[/url]":16l8c35k]Sadly, some people call a 1U server a "blade" due to its fantastical thinness.

Mostly because of the Cobalt Blade, which was sort of the first commonly accessible 1U Linux server.

It's a bit like people calling a vacuum cleaner a Hoover.

True facts, that was my ex-girlfriends nickname. :eng101:

Pretty much any cheap tower server from Dell or HP will do just fine and run either OS well. I would be more concerned with support than anything.
 

Sunner

Ars Praefectus
4,994
Subscriptor++
[url=http:/civis/viewtopic.php?p=27516137#p27516137:1y5aob8x said:
Paladin[/url]":1y5aob8x]I don't think you can call a stripper you paid for a lapdance every Thursday afternoon your 'girlfriend'. ;) :D

Guh, those cobalt blades were horrible. At first glance they seemed great but they were super fragile and any kind of software problem basically took you out of business.

Ah now I remember(no, not the stripper!), Cobalt made those cube things as well, didn't they?
 

afidel

Ars Legatus Legionis
18,433
Subscriptor
[url=http:/civis/viewtopic.php?p=27517483#p27517483:1nbg03oa said:
Sunner[/url]":1nbg03oa]
[url=http:/civis/viewtopic.php?p=27516137#p27516137:1nbg03oa said:
Paladin[/url]":1nbg03oa]I don't think you can call a stripper you paid for a lapdance every Thursday afternoon your 'girlfriend'. ;) :D

Guh, those cobalt blades were horrible. At first glance they seemed great but they were super fragile and any kind of software problem basically took you out of business.

Ah now I remember(no, not the stripper!), Cobalt made those cube things as well, didn't they?
Yes, but they called it a Qube...
 

targetnovember

Ars Scholae Palatinae
1,003
[url=http:/civis/viewtopic.php?p=27497091#p27497091:3j1d70ml said:
Paladin[/url]":3j1d70ml]Yeah, unless you are building a whole infrastructure with multiple servers, then a blade chassis or rack mount setup makes no sense. Even if you need 5 servers, racks don't make sense until you know you need to plan for more in the near future and you want to control the space and layout of the servers. Rack mount servers and blades are awesome, but if you just have a small office with a couple servers, a tower is just fine.

As for the original question, I would recommend CentOS or Ubuntu personally. I have found a lot more community support for those two. By that I mean that software packages I need to use often specifically support those releases with good documentation and examples. FreeBSD is basically a niche OS at this point. I loved it for years and it has some really strong points but unless you enjoy a lot of fiddling, it isn't really appropriate to use as a server for a small office. You want something that they can hire anyone to support when you are gone. Something easy to maintain from one day to the next. I would say Ubuntu LTS is the best fit for that, CentOS is a close second.
I'm not in system administration, but I'm curious if my impression of FreeBSD recently is correct.

I use a Linux VM for development, but I needed to run a perl script on a few GB of data. Instead of mucking with my development environment with perl versions and modules, I created a FreeBSD VM because it was just going to be used for a week or two, and it had been years since I used it. I was really impressed. The new package tools are finally like apt, and they seem pretty great. The basic install was really minimal.

From a system administration pov, I can see your point in that if you want to run a complicated stack of software, like a database, web servers, and management tools connecting to LDAP or something, then that's a lot of software and libraries and services that need to work together and need to be known to work. Linux is getting that attention, so it'd be best. But if you need to just run one thing, and FreeBSD supports it, then it doesn't seem like there'd be much fiddling because it's just OS boots -> program runs. And the new packaging system seems like keeping it updated wouldn't be that bad anymore.

I know it all falls apart when you consider staff knowledge, vendor support, and other stuff I don't think about as a developer, but it really seemed like a simple install didn't give you anything that would break, nothing to fiddle with, and a system that if your requirements are simple can be kept extremely simple. It feels like mainstream Linux distributions, in order to make things easy, err on the side of giving you lots of stuff and starting lots of services by default.
 

Sunner

Ars Praefectus
4,994
Subscriptor++
[url=http:/civis/viewtopic.php?p=27518791#p27518791:3fvn16g8 said:
targetnovember[/url]":3fvn16g8]
[url=http:/civis/viewtopic.php?p=27497091#p27497091:3fvn16g8 said:
Paladin[/url]":3fvn16g8]Yeah, unless you are building a whole infrastructure with multiple servers, then a blade chassis or rack mount setup makes no sense. Even if you need 5 servers, racks don't make sense until you know you need to plan for more in the near future and you want to control the space and layout of the servers. Rack mount servers and blades are awesome, but if you just have a small office with a couple servers, a tower is just fine.

As for the original question, I would recommend CentOS or Ubuntu personally. I have found a lot more community support for those two. By that I mean that software packages I need to use often specifically support those releases with good documentation and examples. FreeBSD is basically a niche OS at this point. I loved it for years and it has some really strong points but unless you enjoy a lot of fiddling, it isn't really appropriate to use as a server for a small office. You want something that they can hire anyone to support when you are gone. Something easy to maintain from one day to the next. I would say Ubuntu LTS is the best fit for that, CentOS is a close second.
I'm not in system administration, but I'm curious if my impression of FreeBSD recently is correct.

I use a Linux VM for development, but I needed to run a perl script on a few GB of data. Instead of mucking with my development environment with perl versions and modules, I created a FreeBSD VM because it was just going to be used for a week or two, and it had been years since I used it. I was really impressed. The new package tools are finally like apt, and they seem pretty great. The basic install was really minimal.

From a system administration pov, I can see your point in that if you want to run a complicated stack of software, like a database, web servers, and management tools connecting to LDAP or something, then that's a lot of software and libraries and services that need to work together and need to be known to work. Linux is getting that attention, so it'd be best. But if you need to just run one thing, and FreeBSD supports it, then it doesn't seem like there'd be much fiddling because it's just OS boots -> program runs. And the new packaging system seems like keeping it updated wouldn't be that bad anymore.

I know it all falls apart when you consider staff knowledge, vendor support, and other stuff I don't think about as a developer, but it really seemed like a simple install didn't give you anything that would break, nothing to fiddle with, and a system that if your requirements are simple can be kept extremely simple. It feels like mainstream Linux distributions, in order to make things easy, err on the side of giving you lots of stuff and starting lots of services by default.

Pretty much. It'll do some things better than Linux, Linux will do some things better than it, but for most purposes they can both do the job well enough for you not to care. Whether it's a good or bad choice will depend on your specifics. If you're going to be running an open source stack through and through, and don't have anything really obscure planned, chances are FreeBSD will do just fine.
In the end though I'd say it's far more important that you make an informed choice and stick with it so you don't end up supporting some godawful mess of FreeBSD, Debian Linux, Redhat Linux, and HURD.
Oh and run the same thing on your dev and prod boxes, if you want to muck about trying to decide what to go for, just setup Vagrant and go nuts, then make your pick based on observations(and if needed, external advice).

That being said, personally I agree with Paladin, FreeBSD is a fine OS but Linux just has a positively fucknormous advantage in terms of google-factor(i.e how easy it is to google "make X work on Linux" and get a decent answer on the first page) and mindshare. Most everything has a Linux driver, even open source software can sometimes be wonky on non-Linux because it's assumed that something or other that's Linux-specific exists, etc etc. Though to be fair, this is mostly smaller time software, all your usual suspects like Apache/NGINX, MySQL/PostgreSQL, Python/Perl/Php/Ruby, etc etc will work fine on FreeBSD.
In the end, I'd go with CentOS unless someone gave me a good reason not to.
 

theevilsharpie

Ars Tribunus Militum
1,899
Subscriptor++
[url=http:/civis/viewtopic.php?p=27518791#p27518791:x9nd0f9u said:
targetnovember[/url]":x9nd0f9u]I'm not in system administration, but I'm curious if my impression of FreeBSD recently is correct.

I use a Linux VM for development, but I needed to run a perl script on a few GB of data. Instead of mucking with my development environment with perl versions and modules, I created a FreeBSD VM because it was just going to be used for a week or two, and it had been years since I used it. I was really impressed. The new package tools are finally like apt, and they seem pretty great. The basic install was really minimal.

From a system administration pov, I can see your point in that if you want to run a complicated stack of software, like a database, web servers, and management tools connecting to LDAP or something, then that's a lot of software and libraries and services that need to work together and need to be known to work. Linux is getting that attention, so it'd be best. But if you need to just run one thing, and FreeBSD supports it, then it doesn't seem like there'd be much fiddling because it's just OS boots -> program runs. And the new packaging system seems like keeping it updated wouldn't be that bad anymore.

I know it all falls apart when you consider staff knowledge, vendor support, and other stuff I don't think about as a developer, but it really seemed like a simple install didn't give you anything that would break, nothing to fiddle with, and a system that if your requirements are simple can be kept extremely simple. It feels like mainstream Linux distributions, in order to make things easy, err on the side of giving you lots of stuff and starting lots of services by default.

Your impression is based on the incorrect assumption that popular Linux distributions can't be installed in a lightweight fashion. All of the mainstream distributions have minimal install options that will leave you with a shell, a package manager, and little else.
 

Paladin

Ars Legatus Legionis
33,855
Subscriptor
I agree that FreeBSD is a great OS and for a single purpose server it is nice because it can do that one thing very well and is easy to maintain in a tiny environment for a developer. Once you let another person get on it, and another, and another, and everyone wants their own stuff going on, it gets a bit more hairy. Nothing bad, just the complexity tends to induce situations that would be solved or prevented with some of the more 'expected' environment provided by common linux distros.

Besides that, what happens when you develop on FreeBSD and the production servers run Centos or Ubuntu/Debian and something doesn't work right when you go live? The production server people are going to point the finger at the fact that you developed on a 'non-standard' software platform. Even though you did nothing really wrong, you will have to do a lot of work to prove it and in the end, it probably will be some subtle difference in libraries, paths, permissions or whatever.

Much easier to just keep a standardized platform for dev and prod and use something that is common and familiar to everyone involved. It limits your choice a bit but it does so for a good reason.
 
Status
Not open for further replies.