Overclock.net › Forums › Specialty Builds › Servers › Linux, BSD, or Hurd for a file server?
New Posts  All Forums:Forum Nav:

Linux, BSD, or Hurd for a file server? - Page 2

post #11 of 24
Quote:
Originally Posted by Plan9 View Post

Lastly, have you considered an NAS-orientated distribution of Linux or FreeBSD? There's a few, most of which I've forgotten the names of. These will have web-based GUIs for you to manage your server with and are just generally easier to set up than a bare bones Linux / BSD install.

FreeNAS is probably one of the better ones for BSD.
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
post #12 of 24
Quote:
Originally Posted by boyk0 View Post

not necessarily.
you can run apache in chroot. there are other types of isolation as well.

what do you plan to share your files through? NFS, SAMBA?

chroot isn't fool proof.

The only time I'd advocate running a web server and file server on the same box is via OS level containers or virtual machines; both of which can still be escaped but if you have an attacker that skilled who's targeting you, then you might as well just give him your front door keys because you're screwed either ways.

re OP: I answered your question in the duplicate thread before noticing this one was active. So I've flags the threads and asked if a mod could merge them to save people wasting their time duplicating comments that have been made already.
post #13 of 24
Merged. Only one thread per issue please...
post #14 of 24
Thread Starter 
Quote:
Originally Posted by boyk0 View Post

not necessarily.
you can run apache in chroot. there are other types of isolation as well.

what do you plan to share your files through? NFS, SAMBA?
Samba.

Quote:
Originally Posted by Plan9 View Post

Firstly, ignore Hurd. It's an experimental kernel and definitely not ready for production use - not even on the desktop let alone on servers.

As for which is better out of Linux of BSD; it's like asking which sports car is the best. However I would suggest that, since this is for a server, you only run the Linux kernel on Debian and OpenBSD or FreeBSD for BSD.

Personally, I run FreeBSD on my file server because of ZFS. In my opinion it's not only the best file server file system; but the best file system ever written. ZFS has saved me from data loss more times than I perhaps deserve. However I'm somewhat of a fanboy, so I'll leave you to decide if you want to follow my advice on that or not.

Next, a few recommendations of stuff to avoid. Don't run Btrfs; it's experimental and just generally crap. Avoid it like the plague. Also be weary of ZFS on Linux - it will run but unless you're confident with Linux, you may run into difficulties. If you do decide to run ZFS; do so on FreeBSD.

Lastly, have you considered an NAS-orientated distribution of Linux or FreeBSD? There's a few, most of which I've forgotten the names of. These will have web-based GUIs for you to manage your server with and are just generally easier to set up than a bare bones Linux / BSD install.

edit: also, FYI, you can edit titles. smile.gif

Well I wanted to go for debian BSD so I can learn how to use BSD, which will definitely help me in the future. Also having the install base of Debian would great, as I only really want the BSD kernel.

I don't really care about ease of setup, I'm just worried about stability, ruggedness, and speed(Willing to give up speed for outstanding stability).

Quote:
Originally Posted by Plan9 View Post

chroot isn't fool proof.

The only time I'd advocate running a web server and file server on the same box is via OS level containers or virtual machines; both of which can still be escaped but if you have an attacker that skilled who's targeting you, then you might as well just give him your front door keys because you're screwed either ways.

re OP: I answered your question in the duplicate thread before noticing this one was active. So I've flags the threads and asked if a mod could merge them to save people wasting their time duplicating comments that have been made already.

Yeah sorry about the dupe threads, I moment I pressed submit I realized that you guys don't like duplicate threads >.<, and I don't post here much, so I wasn't familiar with the forum stuff.

I was just giving ideas of which I was going to do, I'll probably use Ol' Reliable Server edition for webhosting, then the laptop for NAS and other local server stuff.
Ol' Reliable
(16 items)
 
   
CPUMotherboardGraphicsRAM
Core 2 duo e6600 Asus p5n8 None 2gb corsair 
Hard DriveOptical DriveOSCase
1999 called, they want their 60gb back. none Arch Linux Free willy 
CPUMotherboardGraphicsRAM
Phenom II X2 N620 2.8ghz Socketed HP SGS1 HD 4250 4 gb DDR3 1333 
Hard DriveOptical DriveCoolingOS
500gb 5400 RPM DVD writer with LIGHTSCRIBE :D! Laptop cooling ftl Debian Lenny 
MonitorKeyboardPowerCase
15in 1378x768 Rubber dome chiclet keys Red ceramic brick HP 15inch 
  hide details  
Reply
Ol' Reliable
(16 items)
 
   
CPUMotherboardGraphicsRAM
Core 2 duo e6600 Asus p5n8 None 2gb corsair 
Hard DriveOptical DriveOSCase
1999 called, they want their 60gb back. none Arch Linux Free willy 
CPUMotherboardGraphicsRAM
Phenom II X2 N620 2.8ghz Socketed HP SGS1 HD 4250 4 gb DDR3 1333 
Hard DriveOptical DriveCoolingOS
500gb 5400 RPM DVD writer with LIGHTSCRIBE :D! Laptop cooling ftl Debian Lenny 
MonitorKeyboardPowerCase
15in 1378x768 Rubber dome chiclet keys Red ceramic brick HP 15inch 
  hide details  
Reply
post #15 of 24
Quote:
Originally Posted by Dantron View Post

Samba.
Well I wanted to go for debian BSD so I can learn how to use BSD, which will definitely help me in the future. Also having the install base of Debian would great, as I only really want the BSD kernel.

I don't really care about ease of setup, I'm just worried about stability, ruggedness, and speed(Willing to give up speed for outstanding stability).
Yeah sorry about the dupe threads, I moment I pressed submit I realized that you guys don't like duplicate threads >.<, and I don't post here much, so I wasn't familiar with the forum stuff.

I was just giving ideas of which I was going to do, I'll probably use Ol' Reliable Server edition for webhosting, then the laptop for NAS and other local server stuff.

you can always run proxmox off of a USB drive in the laptop and have a container/vm for the Storage and Web servers.

https://www.proxmox.com/

in regards to linux vs bsd -
it has been said multiple times - either pure linux (debian, ubuntu, centos, etc) or bsd (openbsd, freebsd). don't go mixing those.
what is the expected volume that you are so concerned with stability/performance?
post #16 of 24
Quote:
Originally Posted by Dantron View Post

Well I wanted to go for debian BSD so I can learn how to use BSD, which will definitely help me in the future. Also having the install base of Debian would great, as I only really want the BSD kernel.
But you're not learning BSD by installing Debian/kFreeBSD, you're still just using Debian as the kernel will be working transparently in the background. If you want to learn BSD then install vanilla FreeBSD.
Quote:
Originally Posted by Dantron View Post

I don't really care about ease of setup, I'm just worried about stability, ruggedness, and speed(Willing to give up speed for outstanding stability).
Then my recommendation is FreeBSD with ZFS. It also happens to be what my file server has been running for the last 6 years.
Quote:
Originally Posted by Dantron View Post

I was just giving ideas of which I was going to do, I'll probably use Ol' Reliable Server edition for webhosting, then the laptop for NAS and other local server stuff.
You can always run OS containers - which are like virtual machines but running natively on the host OS in a chroot'ed-like environment. Basically you have the security of virtual machines but without the overhead.

My file server is running FreeBSD 9.2 (I haven't gotten around to upgrading to 10 yet - possibly will do this weekend) with 6 "Jails" - which are what FreeBSD calls it's OS containers. It's not the easiest of set up if you're an absolute beginner, but equally it's not that difficult either and will give you solid and secure platform.
post #17 of 24
Thread Starter 
Sounds great to me, thanks man.

Now one question still stands, is FreeBSD fairly lightweight? Because this laptop is a little old, and honestly, a little underpowered...
Ol' Reliable
(16 items)
 
   
CPUMotherboardGraphicsRAM
Core 2 duo e6600 Asus p5n8 None 2gb corsair 
Hard DriveOptical DriveOSCase
1999 called, they want their 60gb back. none Arch Linux Free willy 
CPUMotherboardGraphicsRAM
Phenom II X2 N620 2.8ghz Socketed HP SGS1 HD 4250 4 gb DDR3 1333 
Hard DriveOptical DriveCoolingOS
500gb 5400 RPM DVD writer with LIGHTSCRIBE :D! Laptop cooling ftl Debian Lenny 
MonitorKeyboardPowerCase
15in 1378x768 Rubber dome chiclet keys Red ceramic brick HP 15inch 
  hide details  
Reply
Ol' Reliable
(16 items)
 
   
CPUMotherboardGraphicsRAM
Core 2 duo e6600 Asus p5n8 None 2gb corsair 
Hard DriveOptical DriveOSCase
1999 called, they want their 60gb back. none Arch Linux Free willy 
CPUMotherboardGraphicsRAM
Phenom II X2 N620 2.8ghz Socketed HP SGS1 HD 4250 4 gb DDR3 1333 
Hard DriveOptical DriveCoolingOS
500gb 5400 RPM DVD writer with LIGHTSCRIBE :D! Laptop cooling ftl Debian Lenny 
MonitorKeyboardPowerCase
15in 1378x768 Rubber dome chiclet keys Red ceramic brick HP 15inch 
  hide details  
Reply
post #18 of 24
Quote:
Originally Posted by Dantron View Post

Sounds great to me, thanks man.

Now one question still stands, is FreeBSD fairly lightweight? Because this laptop is a little old, and honestly, a little underpowered...

FreeBSD is roughly equivalent to Linux. But ZFS is definitely not lightweight (minimum specs I'd recommend would be 64bit dual core CPU, 4GB RAM).

If that's a bit much, then just install Debian GNU/Linux. FreeBSD is a great OS but it's biggest selling point on a file server is ZFS.
post #19 of 24
Thread Starter 
Quote:
Originally Posted by Plan9 View Post

FreeBSD is roughly equivalent to Linux. But ZFS is definitely not lightweight (minimum specs I'd recommend would be 64bit dual core CPU, 4GB RAM).

If that's a bit much, then just install Debian GNU/Linux. FreeBSD is a great OS but it's biggest selling point on a file server is ZFS.

That's my laptop's specs. Phenom II n620 @ 2.8ghz, 64bit. 4gbs of DDR3, I believe I can upgrade it to 8gbs.
Ol' Reliable
(16 items)
 
   
CPUMotherboardGraphicsRAM
Core 2 duo e6600 Asus p5n8 None 2gb corsair 
Hard DriveOptical DriveOSCase
1999 called, they want their 60gb back. none Arch Linux Free willy 
CPUMotherboardGraphicsRAM
Phenom II X2 N620 2.8ghz Socketed HP SGS1 HD 4250 4 gb DDR3 1333 
Hard DriveOptical DriveCoolingOS
500gb 5400 RPM DVD writer with LIGHTSCRIBE :D! Laptop cooling ftl Debian Lenny 
MonitorKeyboardPowerCase
15in 1378x768 Rubber dome chiclet keys Red ceramic brick HP 15inch 
  hide details  
Reply
Ol' Reliable
(16 items)
 
   
CPUMotherboardGraphicsRAM
Core 2 duo e6600 Asus p5n8 None 2gb corsair 
Hard DriveOptical DriveOSCase
1999 called, they want their 60gb back. none Arch Linux Free willy 
CPUMotherboardGraphicsRAM
Phenom II X2 N620 2.8ghz Socketed HP SGS1 HD 4250 4 gb DDR3 1333 
Hard DriveOptical DriveCoolingOS
500gb 5400 RPM DVD writer with LIGHTSCRIBE :D! Laptop cooling ftl Debian Lenny 
MonitorKeyboardPowerCase
15in 1378x768 Rubber dome chiclet keys Red ceramic brick HP 15inch 
  hide details  
Reply
post #20 of 24
Quote:
Originally Posted by Dantron View Post

That's my laptop's specs. Phenom II n620 @ 2.8ghz, 64bit. 4gbs of DDR3, I believe I can upgrade it to 8gbs.

I'm a little confused. I thought this was for a file server? Or are you using your laptop as a file server?
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Servers
Overclock.net › Forums › Specialty Builds › Servers › Linux, BSD, or Hurd for a file server?