29
submitted 1 year ago* (last edited 1 year ago) by MrOzwaldMan@lemmy.ml to c/linux@lemmy.ml

I have my father's old work PC (one of those Fujitsu Siemens models) from yesteryears. It features:

  • OS: Ubuntu 23.04
  • CPU: Intel Core i7-4770 (I forgot the clock speed in GHz).
  • RAM: 8 GB DDR3 1600MHz (Single Channel).
  • Storage: 128 GB SSD (installed in 2020) & 1 TB HDD (also installed in 2020).
  • Graphics: NVIDIA GeForce GT 620 (or was it GTX?).

I am considering using it as a file server since my laptop only has a 256 GB SSD, and I need more space to store my files on the old PC. But the question is, do I need a home server? When is a home server necessary?

Any sources or information on how to set up a file server with a PC would be greatly appreciated.

Vocabulary and Grammatical Errors were improved and fixed by ChatGPT because English is my 2nd Language

top 26 comments
sorted by: hot top controversial new old
[-] teuto@lemmy.teuto.icu 14 points 1 year ago

I'd say through throw Truenas Scale or Ubuntu server on it and try and come up for uses for it. If it doesn't seem useful after a month or 2 then shut it down nothing lost. The only real danger is that it's a gateway drug and before you know it your thinking about upgrading to a 48u rack to put your pile of networking equipment and servers and your basement sounds like a jet engine.

[-] MrOzwaldMan@lemmy.ml 2 points 1 year ago

problem is, I don't have a basement. people in the apartment around me are going to ask questions about "Why is there an airplane taking off inside your apartment.".

is 1 TB, enough for backup? I have notes, books, and university notes. The problem are the games, I guess I should just delete them

[-] teuto@lemmy.teuto.icu 7 points 1 year ago

Well don't buy old enterprise hardware then, that's the noisy stuff. 1tb isn't a lot by modern storage standards, however if you managed to fill it up with notes and books I would be impressed. Games are another matter though. You could fit thousands of emulated games from the 80s and 90s or like 7 from the last few years, it depends.

[-] sin_free_for_00_days@sopuli.xyz 8 points 1 year ago

I'd just use a low-wattage and inexpensive Raspbery Pi to set up a home network. But, if you have the spare computer and don't really stress about energy usage, go for it. It's kind of fun and not too difficult. Install linux. Install Samba. Voilà!

[-] MrOzwaldMan@lemmy.ml 5 points 1 year ago

What's Samba? Even searching the internet, the definition is confusing. Maybe, it's because I am a newbie, and I shouldn't set up a home file server.

[-] Lucky@lemmy.ml 7 points 1 year ago* (last edited 1 year ago)

Don't let lack of knowledge ever be the reason to stop trying something in homelabs! Honestly for a beginner resource ChatGPT is where I'd go for these kinds of questions. It does a great job explaining what all the terms mean and you can drill down into topics as needed such as permissions and different terminal commands you'll need

Anyways, this link has a decent description of samba:

https://ubuntu.com/tutorials/install-and-configure-samba#1-overview

A Samba file server enables file sharing across different operating systems over a network. It lets you access your desktop files from a laptop and share files with Windows and macOS users.

So as long as a computer is on the network it could access files stored on this hard drive. It is super useful as a first homelab project

[-] emr@lemmy.sdf.org 4 points 1 year ago

It's what I use for my home server and it's great. You can even use VLC to stream music and stuff via samba.

[-] toikpi@feddit.uk 5 points 1 year ago

https://en.wikipedia.org/wiki/Samba_(software) I just searched for the "samba computer" and this was the first link.

See if you can find some introductory videos that are suitable for you on YouVideo or elsewhere that are suitable for you to work out if you are ready to set up your first home server.

If you just need some storage you could just get a "cheap" USB storage spinning rust external hard drive and move the data that you don't need day to day onto the drive. At a later date you get a Raspberry Pi or second hand small PC and use the PC as a server with the same drive attached.

[-] qaatloz@feddit.nl 7 points 1 year ago* (last edited 1 year ago)

Take also power consumption in consideration. I myself have run a homeserver based on an older amd processor and recently updated to a low power device. The old server had a standby powerusage of about 60-70 watt. The new one has a standby usage closer to 2,5 - 5 watts while having a lot more performance. Depending where you are on the world and the powercosts the powersavings you have offset the costs of new hardware within 1,5-2 years if the server runs 24/7.

When and if you need a homeserver realy depends on your specific needs. For me: I do not want to use cloud services as primary storage for my personal and family photos. I want to run homeautomation based on homeassistant and a password manager on my own server.
For you it might be different. Consider that network storage from a fileserver has typically a lower performance so using it for games and gamefiles might not work.

Also the type of fileserver to deploy (windows shares/samba vs nfs) depends on what os you run on your laptop. Typically i would assume you use windows and would a linux server running samba be most logical choice. Or a more preconfigured os like openmediavault which helps a lot with a more intuitive gui.

However if file sharing is the only usecase maybe a nas like a synology, qnap or asustor might be a easier system to setup. This also tackles the powerconsumption issue.

[-] MrOzwaldMan@lemmy.ml 1 points 1 year ago

I am running Ubuntu 23.04 (and up in the future), and where I live, there is no electricity bills, so we gucci on that. The only reason I need a file server is because of video games, and I can't remove the bottom cover of my laptop (Lenovo IdeaPad 3 14ALC6) to add storage space as it would void the warranty. Lastly, are file servers wireless, wired or both?

[-] cerement@slrpnk.net 6 points 1 year ago
[-] PipedLinkBot@feddit.rocks 2 points 1 year ago

Here is an alternative Piped link(s): https://piped.video/watch?v=zPmqbtKwtgw

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

[-] cerement@slrpnk.net 1 points 1 year ago

already in comment

[-] MrOzwaldMan@lemmy.ml 1 points 1 year ago

thanks, watching it rn.

Add some memory and hard drives and slap TrueNas or Unraid on it.

[-] MrOzwaldMan@lemmy.ml 1 points 1 year ago

8 gigs is not enough? I'll try, may you provide some links on TrueNas and Unraid?

[-] BeigeAgenda@lemmy.ca 3 points 1 year ago* (last edited 1 year ago)

A home server is great, my rig is built with focus on power consumption, and it still uses 50-100w depending on how many cooling fans is on.

Edit: I can add that the CPU board is coming to 10 years, so you can easily go lower than that.

[-] MrOzwaldMan@lemmy.ml 1 points 1 year ago

Sounds awesome, can you reply with your rig, I want it as a future reference.

[-] BeigeAgenda@lemmy.ca 2 points 1 year ago* (last edited 1 year ago)

I checked it's from 2013

  • Celeron G465 chosen because it's TDP is 35w
  • ASRock H77 Pro4/MVP chosen because it has 8 SATA connectors
  • 4gb RAM
  • 530w Thermaltake PSU
  • 8 x 12cm fans connected to a USB relay for cooling

And then some big disks in pairs using btrfs

[-] gabriele97@lemmy.g97.top 3 points 1 year ago* (last edited 1 year ago)
[-] BCsven@lemmy.ca 2 points 1 year ago

I have a pi with drive attached, it is low watt consumption. But its fun to set up a server on a machine like you have. If you aren't comfortable setting something up from scratch then something like OoenMediaVault is great. It also comes with docker and portainer so you can easily add docker containers for other uses. i.e. I have OMV for the samba shares, with daap addin for music, and in the dockers it runs kanboard, homeassistant, trillium notes, airprint cups server and syncthing. syncrhing is a great way to sync pc files to other PCs or to a phone folder, so you never have to worry about manually copying files.

[-] MrOzwaldMan@lemmy.ml 1 points 1 year ago

I have OMV for the samba shares, with daap addin for music, and in the dockers it runs kanboard, homeassistant, trillium notes, airprint cups server and syncthing. syncrhing is a great way to sync pc files to other PCs or to a phone folder, so you never have to worry about manually copying files. I only need for backup, but phone syncing sounds useful, does that come with OMV or something I have to setup myself

[-] BCsven@lemmy.ca 2 points 1 year ago

Syncthing is available to download to any pc, phone or via docker container.. It doesn't come witj OMV but you can add it via docker command line or Portainer GUI. you assign which folder you want sync'd , it gives it a unique hash ID, on other devices you enter the ID, or search for synthing host. It then connects and will prompt on host to allow/ disaaloe sync to certain devices. Any new files on either end are replicated. You can see rules on if one is read only, and what you want to do with version changes. i.e. on my PI it acts a master (which is not the correct term) and if changes via other devices populating to the PI then it folderizes old versions of files so that a mistake change that was saved on my phone and replicated to the PI doesn't remove the original totally. (Good backups periodically could also solve this)

load more comments
view more: next ›
this post was submitted on 05 Aug 2023
29 points (93.9% liked)

Linux

48334 readers
628 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS