How to setup a Linux File Server


Recommended Posts

  Fredde87 said:
what kind of fileserver? Like samba (for windows)? Just setup a distro with networking support and install (if not included) samba....

584830264[/snapback]

As simple as that ?

Do I have to turn off the GUI by editing the configuration text file to boot up in runlevel 3 ???

I havent decided on the distro yet.

I want it to be as efficient as possible so turning off the GUI will help preserve the resources right ? Also Windows v Linux File Server benches or speed comparisions would be handy if somebody know of something on those lines.

edit: Something like this ...

0_4537_2196106_00.gif

If its more recent like Red Hat 9.0 v Windows Server 2003

You will find conflicting results in testing. For example:

http://www.mindcraft.com/whitepapers/first-nts4rhlinux.html favors Windows

and

http://www.kegel.com/nt-linux-benchmarks.html favors Linux/Samba

Most of the "Windows is better" results are off Microsoft-commisioned tests, where MS specs out how the machines are set up (often using known configs that are unfavorable on Linux). The independant ones generally use standard/typical configs for eash OS and test off of that.

As for a GUI, no you don't need to install any X Window system on your box. No Window Managers, either (obviously, if you don't have X capability). Reducing the number of installed packages will make your Linux box more secure (less items to be vunerable to exploit) and run faster (less items! :p ). You can manage the server remotely via command-line (via ssh), or by GUI (via webmin and using a web browser on your remote PC).

It would be interesting to grab an old PC ('386 or '486 if you have one) and set up a file server on both with current OS releases from a Linux distro and off of current Windows release and do your own comparison. :yes: Post your results here, if you can. (Y)

EDIT: Quote from a recent news article (dated yesterday!) on the Samba comparisons:

  Quote
Novell's Hogan says that Microsoft has often specified the exact system configuration in benchmark tests. For example, in two Veritest studies which compare Windows 2003 Server with Linux, Hogan asserts that Veritest fine-tuned the Windows set-up but did not do the same for Linux.

"The test used Windows protocols only, while Linux had to emulate the Windows protocols using Samba," says Hogan. "As far as we can see, the testers did not even make the smallest optimisation for this Linux/Samba setting, while Microsoft helped Veritest fine tune on Windows."

  jerry said:
I havent decided on the distro yet.

I want it to be as efficient as possible so turning off the GUI will help preserve the resources right ? Also Windows v Linux File Server benches or speed comparisions would be handy if somebody know of something on those lines.

584830320[/snapback]

I'd use Gentoo if I were you. I setup a secure ftp server for my web server class in only 3 steps.

1. Installed Gentoo.

2. Created the user accounts.

3. Put sshd on the run level.

thats all I had to do.

Now users can ssh to my box( using putty ) if they need to change password and stuff. And they can use any ftp client that can support file transfer over SFTP.

WinSCP is pretty nice .. I think FileZilla supports SFTP also (so does DreamWeaver's buitin FTP feature )

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I had to turn it off a long time ago on my work machine because virtual desktops were brutal when switching. Big thread about it on Microsoft forums. With animations off it's instant. Sucks as I had to uninstall Deskscapes as it requires animations but on my work machine productivity takes precedence.
    • Even though this tweak is basically just a placebo, I still find myself using it fairly often. There are better options out there, but the CrapFixer app https://github.com/builtbybel/CrapFixer is useful for testing and restoring the original state if needed
    • That’s such a heartwarming story — it really shows the strong sense of community Waffle House is known for. If anyone’s curious about what they offer or planning a visit, you can see full menu with updated prices and calories for 2025.
    • I'm not sure I would really call that a hidden setting, and it's been around since Windows XP.
    • Main server is my old gaming PC from years ago.  It was an older AMD Phenom based desktop until last year when I "upgraded" it.  It hosts Nextcloud, Minecraft, Jellyfin and my personal website, and serves as a general purpose backup NAS.  It is apparent in this picture though it needs a good dusting. Operating System: Debian GNU/Linux (stable, but with backports kernel) CPU: AMD FX 8370 GPU: AMD Radeon RX 480 8GB (Used for hardware transcoding in Jellyfin) Memory: 16GB Corsair Vengeance DDR3 @ 1,866 MT/s Boot Drive: Western Digital Blue 500GB SATA SSD Mass Storage: 4 12TB Western Digital Gold HDDs.  Am using mdadm software RAID 5, with an encrypted LUKS/ext4 filesystem on the array.  My "off site backup" is 3 external drives in an encrypted software RAID 0 that I keep stored outside the house and bring in once a month to sync with the internal drives. Storage drive layout: mdadm -> LUKS -> ext4 Secondary server is a Raspberry Pi 4B that hosts PiHole and Wireguard via PiVPN.  I largely use the PiHole not just for ad blocking, but for parental controls on the kids.  I'm actually thinking of upgrading this to an x86 mini PC so I can get secure boot, SMART monitoring of the boot drive, etc. Router is a GL-iNet Flint 2, incoming internet connection is 1Gbps up, 1Gbps down, no data caps.  Fiber to my service pole then ethernet from there into the house. UPS is an APC Back-UPS XS 1500G.  I've had it for ages and had to replace the battery a few times.  The main server monitors it since our power is pretty unreliable (see screenshot) here in eastern Kentucky.  On the occasion the batteries run down the main server will automatically log into the Pi and do a graceful shutdown on it as part of its power down procedure.
  • Recent Achievements

    • First Post
      Johnny Mrkvička earned a badge
      First Post
    • Week One Done
      viraltui earned a badge
      Week One Done
    • One Month Later
      serfegyed earned a badge
      One Month Later
    • Dedicated
      firey earned a badge
      Dedicated
    • Dedicated
      fettermanj earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      656
    2. 2
      ATLien_0
      224
    3. 3
      Michael Scrip
      224
    4. 4
      Xenon
      146
    5. 5
      +FloatingFatMan
      143
  • Tell a friend

    Love Neowin? Tell a friend!