Re: Linux or BSD alternative to Windows Home Server
- From: Douglas Mayne <doug@xxxxxxxxxxxxx>
- Date: Sun, 02 Sep 2007 17:55:56 -0600
On Sun, 02 Sep 2007 22:27:48 +0000, dh003i wrote:
<snip>
Caveat: I'll answer your specific questions in more detail below. Keep in
My questions were about Gentoo vs. Linux for a sever, and the relative
merits of each. Maybe I should re-state them more clearly:
mind that I am not using Gentoo, or any of the BSDs. I use Slackware
Linux (most recently, Slackware version 12.)
Sorry, I can't advise you because I don't use any of the BSDs. The BSD
1. How does fBSD stack up in security vs. oBSD for my purposes? (and
also vs. Gentoo?) I will probably eventually have a dedicated firewall
box (replacing the wireless router) between the cable modem and the
server, like this
firewall code is well regarded, but there are only so many hours in the
day. I came to GNU/Linux from Windows, and its firewall features
(especially IPTables) have been sufficient for my needs. BTW, I learned
almost nothing when using Windows. I only realized there was more to learn
upon switching to GNU/Linux. The guides and howtos at the Linux
Documentation Project is how I got started.
It depends on your design requirements. Multple firewalls are most often
[Cable modem] <=> [Wireless Router] or [dedicated firewall] <=> [Home
Server] <=> [Wireless Router] <=> [Laptops]
2. Are there any benefits to having multiple firewalls in place in
serial...e.g., right now, I have 2 wireless routers in serial; if I
get a dedicated firewall box, I would have 1 dedicated firewall and 2
router firewalls in serial (possibly). Or is this just useless?
deployed to isolate more trusted resources from less trusted resources.
For example, if you were to have a file server which is accessible
to users on the internet, then it is probably wise to isolate that server
from the local network. A primary firewall could be used to regulate
overall incoming traffic to a group of servers. Simple servers can
regulate their own traffic. In your case, some entries in your block
diagram might be combined.
I don't know the specifics of your setup, but I think this is an alternate
topology to consider:
+- GNU/Linux Server (Built in firewall)
|
[Cable modem] -+- [Wired/Wireless Router ] <=> Laptops, Workstations, etc.
This assumes that your cable modem is using NAT to hide a local network
on its LAN side (say, 192.168.0.0/24). You should be able to access and
administer your GNU/Linux server through the common connection (network)
provided by the cable modem. In this case, setup the cable modem to do
port forwarding for the specific service ports. From there, the GNU/Linux
server will deal with the specific requests it receives, and can
begin handling them using an IPTable ruleset. An example of a
useful IPTable rule is to setup rate limiting on ssh, which discourages a
lot of casual attacks.
My systems don't have enough memory to worry about whether they are 32 or
4. I've since learned that FreeBSD and Gentoo support 64-bit processors
fine. However, what about the server applications? (This is again
something I learned nothing about, as I am still using just 32- bit
processors; I figure my server will be 64-bit).
64-bit. Some major distributions have versions which have been
precompiled for 64-bit. There is starting to be more interest in 64-bit,
but RAM is a limiting factor for a lot of systems. 32-bit systems have
quite a bit of life remaining, IMO.
It would be nice. However, almost every new generation of motherboards
5. One of my foreward-looking concerns is scalability & ability to
upgrade: possibility to upgrade to numerous HD, multiple CPUs, multiple
GPUs, RAM, etc. Thus, my concerns here are the limits in Linux and BSD
on hard-drive space recognizeable, and RAM recognizable.
requires wholesale replacement of the CPU, memory, motherboard, and
possibly the case and power supply also. If cost is no object, then the
sky is the limit. Personally, cost is an object for me. I try to keep cost
in check. For example, I have just started upgrading the P-III
architecture boards which I have used up until now. The Intel Core 2
architecture offers a 10x to 100x performance boost. I think I have
probably saved a lot of money waiting for a compelling upgrade. I forsee
that the new Core 2 boards that I am rolling out will have a long life,
too.
Making backups is a big topic in itself. It can be easy, or it can be
6. I'm aware that I could probably create scripts to regularly backup
certain files, and use BASH shell commands to specify a schedule for
such; but I was wondering if there were utilities for this. And also,
streaming of photos or video or music to the TV or stereo system? Is
that possible?
relatively complex. People tend to roll out solutions which "fit" their
needs. One solution that I often recommend is to take a snapshot using an
external disk, either to the storage on another network computer, or
directly to an external disk (USB 2.0). I see that a lot of people on
these groups recommend Amanda, and similar programs. The goal of these
programs is to provide a self-booting backup set.
I have no experience with streaming. I know that any two computers are
free to communicate over the network. The network apps you want probably
exist. I administer, send/receive files, run applications, etc. all using
ssh.
Incremental backups can be easy or hard, too. In the simplest case, you
7. Finally, the nicest backup features of WHS that I saw were
incremental backups, and efficient single copy backup. If a file's
already backed up, it only backs up changes; likewise, storing only 1
copy of the same file as a backup, if there are multiple copies of that
file in the home network. Are there utilities in BSD or Linux to do
this?
only need to compare two file listings and look for differences. Changed
files are selected for backup. Use the backup tool of your choice- I often
use tar.
For more complex cases, where files may be open which are being backed
up, then more advanced tools are probably required. Newer Windows versions
have the ability to create automatic snapshots in the background, and
somehow track versions for you. The facility most similar to this in
GNU/Linux, AFAIK is the Linux kernel's device mapper facility.
More infor about Device Mapper...
I did some experiments recently with device mapper snapshots. This
article is a good starting point:
http://linuxgazette.net/114/kapil.html
BTW, a lot of the facilities provided by LVM v2 are really a higher level
interface to device mapper. Using LVM v2 is probably more appropriate
than using device mapper directly. LVM handles the details of setting
up device-mapper's targets. The snapshot-origin target allows a file
to be backed up in a prior fixed state, while it is allowied to be
changing at the same time in another view. However, I noticed significant
performance degradation in my simple tests when using the snapshot-origin
target. A quick google shows that the kernel developers are aware of this
problem and are working on changes to the kernel IO design which will
address the problem and simplify the IO architecture to avoid corner
cases. I think that I noticed the speed problem because I have become
accustomed to speedy file transfers, even when using journalling file
systems, such as XFS, and other device mapper targets, such as dm-crypt.)
Also, device mapper's snapshot does not suffer the same performance
degradation as snapshot-origin.
In short, I am impressed with the work which has been done building the
framework on the Linux kernel. Windows may offer similar features, but as
I said earlier, I choose both free (price) and freedom (free to utilize
as I see fit).
--
Douglas Mayne
.
- Follow-Ups:
- Re: Linux or BSD alternative to Windows Home Server
- From: The Natural Philosopher
- Re: Linux or BSD alternative to Windows Home Server
- References:
- Linux or BSD alternative to Windows Home Server
- From: dh003i
- Re: Linux or BSD alternative to Windows Home Server
- From: Douglas Mayne
- Re: Linux or BSD alternative to Windows Home Server
- From: dh003i
- Re: Linux or BSD alternative to Windows Home Server
- From: Douglas Mayne
- Re: Linux or BSD alternative to Windows Home Server
- From: dh003i
- Re: Linux or BSD alternative to Windows Home Server
- From: Douglas Mayne
- Re: Linux or BSD alternative to Windows Home Server
- From: dh003i
- Linux or BSD alternative to Windows Home Server
- Prev by Date: Re: Linux or BSD alternative to Windows Home Server
- Next by Date: Re: Can I do this with Linux?
- Previous by thread: Re: Linux or BSD alternative to Windows Home Server
- Next by thread: Re: Linux or BSD alternative to Windows Home Server
- Index(es):
Relevant Pages
|
Loading