Your Old PC is Your New Server

Linus Tech Tips
13 Dec 202111:06

Summary

TLDRThe video shows how to repurpose an old Windows PC into a personal home server for cheap or free. It explains that any old computer can serve this purpose and walks through fully resetting and updating Windows 10 on an old OptiPlex. It then shows step-by-step how to install Plex Media Server to host your own cloud media and storage, and Pulseway for remote management. Additional steps like sharing network folders and adding more storage are covered. The video makes home servers accessible for intermediate users wanting more control over their data and media without learning Linux.

Takeaways

  • 😀 You can repurpose an old PC into a home server for cheap or even free
  • 🖥️ Servers are just computers optimized for different roles like reliability and redundancy
  • 💾 An old laptop, Raspberry Pi, or $30 PC can act as a basic home server
  • 👍🏻 Using an old Windows PC makes setup easy since you already know the interface
  • 🎥 Plex media server lets you host your own streaming media storage
  • ☁️ With remote access you can manage headless servers from anywhere via web browser
  • 🔐 Pulseway allows full remote access and control of your server securely
  • 📁 Simple instructions to share folders on your network for basic file serving
  • 🛠️ Upgrading to larger hard drives expands capacity and enables drive mirroring
  • 💰 Building your own home server saves money over paid cloud storage services

Q & A

  • What are some key benefits of repurposing an old PC as a home server?

    -Key benefits include hosting your own cloud storage to avoid paying for services like Google Drive, hosting your own media server instead of running USB drives through your TV, and generally having more control and customization for your home network and storage needs.

  • What are some examples of roles a home server could play?

    -Some examples include hosting files/media, running a Plex media server, hosting torrents, running network-wide ad blocking, providing network storage, acting as a backup machine, and more.

  • What hardware considerations should you make when repurposing an old PC as a server?

    -Consider the CPU, RAM, storage, and power supply. More cores and RAM help for hosting multiple services. Storage capacity and redundancy matter. The power supply needs enough wattage and connectors for any upgrades.

  • Why use Windows instead of Linux for a starter home server?

    -Windows provides an easier starting experience if you already have a Windows machine, without needing to learn Linux. It allows downloading apps with GUIs instead of command line.

  • How can you manage the server remotely without attaching peripherals?

    -Use remote management software like Pulseway to access files, settings, etc from any web browser instead of needing directly attached keyboard, mouse, and display.

  • How can you make the server's storage available on your home network?

    -Share a folder on the server over the network, allowing read/write access. Client PCs can then mount it as a network drive for access.

  • What is RAID and what type was used on the storage drives?

    -RAID allows combining multiple drives for redundancy and/or better performance. A RAID 1 mirror was used - drives are duplicated so if one fails, no data is lost.

  • What kind of old hardware did they use as the server base?

    -An OptiPlex 7010 with a Quad Core i7 CPU, 12GB of RAM, 128GB SSD boot drive, and 1TB storage drive, costing $176.

  • What upgrade did they perform to allow fitting more storage?

    -Removing unused optical DVD drive to free up space, cables, and connector for adding second 3.5" drive.

  • What remote monitoring software did they use and why?

    -Pulseway - it allows fully remote management, updating, and file access instead of needing keyboard, mouse, and display hooked up.

Outlines

00:00

😊 Reusing an old PC as a home server

The paragraph introduces the idea of repurposing an old personal computer into a home server instead of throwing it away. It talks about how you can use it to host your own cloud storage, media server, etc. without needing high-end specs. The example system used is a cheap OptiPlex with an Intel i7, SSD, and 1TB HDD.

05:02

👨‍💻 Setting up the operating system

This paragraph covers setting up the operating system on the old PC to prepare it for use as a server. It recommends resetting to factory settings, upgrading to Windows 10/11 if needed, disabling automatic updates and bloatware, and installing Plex Media Server and Pulseway for remote access.

10:03

🎉 Basic home server is ready

The paragraph states that with Plex and Pulseway set up on the reset Windows install, the basic home server is now ready. It talks about the convenience of managing it remotely via Pulseway without needing peripherals connected. It also covers sharing a network drive for access from other local devices.

Mindmap

Keywords

💡Server

A server is simply a computer that provides data or services to other computers over a network. The video explains that any computer can act as a home server, even an old one. The OptiPlex they use is set up to run media, storage, and other servers to repurpose it.

💡Network Share

A network share allows folders on one computer to be accessed by other devices on the same network. They set up a shared folder on the OptiPlex so other PCs can store files on its large hard drives.

💡RAID

RAID (Redundant Array of Independent Disks) allows multiple drives to be set up for extra storage capacity, speed, or redundancy. They set up RAID 1 mirroring on the OptiPlex so it has full 12TB of redundant storage.

💡Headless

A headless server is one that can be operated without having a monitor, keyboard, or mouse directly connected. Pulseway software allows the OptiPlex to be controlled remotely via any web browser.

💡Media Server

A media server streams videos, music, and images to devices on the network. They install Plex on the OptiPlex to have it host and deliver media files to TVs, phones, etc.

💡Remote Desktop

Remote desktop software allows you to access the GUI and control a computer over the network. Pulseway has built-in remote desktop tools to control the server from anywhere.

💡Storage Spaces

Storage Spaces is the Windows feature they use to pool the two hard drives together into one storage space for redundancy. This allows the RAID 1 mirroring setup.

💡Hyper-threading

Hyper-threading is an Intel CPU technology that allows a single core to act as two virtual cores for improved multitasking. The i7-3770 chip in the OptiPlex has 4 real cores and 4 virtual cores.

💡ECC Memory

Error correcting code (ECC) memory can detect and correct errors on the RAM chips. Servers often use ECC but the OptiPlex does not since it is not intended for heavy use cases.

💡SATA

SATA is the interface standard used for connecting storage drives. The video shows SATA ports and cables being reused to add more hard drives into the OptiPlex.

Highlights

Servers are just computers that serve a role rather than a specific hardware type

Even an old PC, laptop, or $30 Raspberry Pi can act as a home server

The quad-core i7 and SSD make this old desktop a good server candidate for $176

We can operate the server headlessly, controlling it via any web browser with Pulseway

The Windows user experience for setting up a home server isn't complete crap

Sharing files on the network is easy - just turn on network discovery and sharing

We can access Plex media, use remote desktop, update Windows remotely with Pulseway

TrueNAS Core is an easy intermediate option for more control without Windows

These IronWolf drives will pay themselves off in under a year compared to cloud storage

Freed up the DVD drive to make room for a second hard drive

Always check cables - display port issues can prevent old PCs from outputting signal

Set up RAID 1 disk mirroring for 12TB redundant NAS storage under $1000

Easy to hide this server box and use Pulseway for remote monitoring

Let us know if you want to see more DIY home server content

This is an easy way to repurpose an old Windows PC into a home server

Transcripts

play00:00

- Remember that old PC you stuffed in the closet?

play00:02

Yeah, that one.

play00:03

Today, it's been given a second chance.

play00:07

This old machine isn't worthless,

play00:13

even with it's nine year old CPU

play00:15

and complete lack of a Graphics Card.

play00:17

Why?

play00:18

I like, you know a little secret.

play00:20

Not all PCs need to be for gaming.

play00:23

Tired of paying for Google Drive,

play00:25

host your own Cloud storage.

play00:27

Hate running USB drives through your TV,

play00:30

host your own media server.

play00:31

The possibilities are endless.

play00:34

With the help of Pulseway, the sponsor of today's video,

play00:36

we're going to show you how to repurpose that old rig

play00:39

into your own personal server for cheap or even free.

play00:43

(techno music)

play00:52

The first thing to learn is that servers are just computers.

play00:55

The word describes a role not a specific type of hardware.

play00:59

Sure, the servers in big data centers

play01:01

do look different than your home PC.

play01:03

They're built for reliability

play01:04

with redundant power supplies and ECC Memory.

play01:07

They prefer many slower cores rather than a few fast ones

play01:10

and they lack consumer IO like tons of USB audio

play01:14

or display outputs.

play01:15

But that's because they're serving hundreds,

play01:17

if not thousands of clients.

play01:20

We are not.

play01:21

Which is why even our aging closet PC,

play01:24

an old laptop or even a $30 Raspberry Pi

play01:26

can all act as our first home server.

play01:29

This OptiPlex 7010 we picked up

play01:31

from our local recycler, Free Geek

play01:33

is the perfect candidate,

play01:35

not just because it's cheap at 176 US dollars,

play01:39

but because the bones are solid.

play01:42

It's got a hyper-threading Quad Core Intel i7 3770,

play01:46

a 128 Gig SATA SSD for a boot drive

play01:49

and a reasonable 1 Terabyte of bulk storage.

play01:52

At this price point though,

play01:55

there are some compromises we have to make.

play01:57

It's 12 Gigs of RAM are mismatched

play02:00

and predictably it doesn't have a GPU.

play02:02

And even if we did add one,

play02:04

we would likely run into issues with the power supply

play02:06

because value engineered power supplies

play02:08

like this 250 watt one,

play02:10

while they're generally pretty solid,

play02:13

they don't leave a whole lot of headroom to play with,

play02:16

nor does it offer additional PCI Express Power Cables.

play02:19

But, don't fret.

play02:21

What really matters here is that

play02:22

we have a blank canvas to work from.

play02:24

And by the way, now's a great time to open up your rigging.

play02:27

Give it a good dusting

play02:29

and maybe refresh your thermal paste while you're at it.

play02:31

It needs some love.

play02:33

Now, let's set up our OS.

play02:35

Now before you say it,

play02:36

we're not gonna install Linux today.

play02:38

We know that moving to a Linux or FreeBSD based option

play02:42

does have both performance

play02:43

and feature benefits over Windows.

play02:45

However, if you're just starting out

play02:48

and you've got an old Windows based machine already around,

play02:51

this is the easiest way to get your foot in the door.

play02:54

And that's what we want this video to be.

play02:56

A start, not the end.

play02:58

If you guys wanna see a follow-up

play02:59

where we use TrueNAS or similar,

play03:01

rattle your sabers in the comments and get subscribed.

play03:05

The first thing you're going to want to do

play03:07

is factory reset the PC.

play03:08

Now, if you're running Windows 7 or 8,

play03:10

now is a good time to upgrade to Windows 10 or 11.

play03:13

Keep in mind that a lot of those old Windows keys

play03:16

will still work to activate newer versions of Windows.

play03:18

If you're already there,

play03:20

hit the Windows key and type, Reset.

play03:23

Hah, it's slow.

play03:25

Then click on, Get Started.

play03:27

All you need to do from here is run through the prompts

play03:29

until you have a fresh Windows install.

play03:32

We ran WinAero Tweaker to disable automatic updates

play03:34

and kill Cortana and also disabled lot of the extra bloat

play03:37

like Telemetry that can suck away valuable resources

play03:40

from an older system like this.

play03:42

Now we're ready to set up our server to actually do stuff.

play03:45

For starters, we're going to download Plex Media Server

play03:48

for our media and Pulseway to manage our system remotely.

play03:51

If you're thinking,

play03:52

why would I need remote access to this dinosaur?

play03:56

Well, it's not because we plan on accessing it

play03:58

from across the world but rather because we may not have

play04:01

a spare monitor keyboard and mouse to leave connected to it,

play04:04

let alone the space.

play04:06

Instead, we can operate it headlessly,

play04:08

that is completely controlled via any web browser

play04:11

or the Pulseway app.

play04:13

Neat.

play04:14

Setting up Plex is simple.

play04:15

Install the application,

play04:17

run through the prompts and definitely read that EULA.

play04:19

Am I right?

play04:20

They are very legally binding.

play04:22

The beauty of using a Windows PC

play04:24

to start your server hosting journey

play04:25

is that the user experience isn't,

play04:27

and I mean this with the utmost respect

play04:30

to all command line warriors, complete crap, usually.

play04:35

You just download what you need.

play04:36

The links are in the description

play04:37

and install and configure it with a gooey

play04:39

and then you're done.

play04:40

It really is that easy.

play04:42

We can't cover all the options here, of course.

play04:44

You could run a remote torrenting box

play04:46

or an Ad blocking server, for instance.

play04:49

But if you're following along

play04:50

and you do hit some roadblocks,

play04:52

hop on over to our forum,

play04:53

where there are tons of friendly fellow nerds

play04:55

willing to help you out.

play04:56

Love you guys.

play04:57

Pulseway set up is similarly easy.

play04:59

Just click through the wizard and sign in.

play05:01

At this point, you'll have full access to your files

play05:03

and settings from whatever web browser you use

play05:05

to access Pulseway.

play05:07

And we're done.

play05:08

Service is running, Pulseway is up.

play05:10

You can actually get away with

play05:11

not even setting up a network share or anything

play05:13

and just using Pulseway to manage your files remotely.

play05:15

But having a direct folder share

play05:17

on your local network is pretty nice.

play05:18

So, we're gonna do that too.

play05:20

It just takes a few more steps and you won't be able

play05:22

to access 'em from Starbucks, unfortunately or fortunately.

play05:25

We've got a drive set up here called LTT Simple Server

play05:27

that we'll go into and we have a folder we want to share.

play05:30

What we'll do is we'll right click and go to,

play05:32

Give access to, and then click on specific people.

play05:35

From here, either you can allow only one person

play05:37

to access the file like it is normally

play05:39

or in our case, we're going to give everyone

play05:41

in our local network access.

play05:42

Be sure to change the permissions from Read only

play05:44

to Read and Write, creating a melting pot.

play05:49

And boom, the folder is now able to be added

play05:52

as a Network Share by copying the link

play05:53

into the Add a Network folder prompt

play05:55

in any network machine on your local network.

play05:57

Don't forget to go to the Network and Sharing Center

play05:59

to ensure both Network Discovery

play06:01

and File and Printer Sharing are turned on

play06:03

under the private settings.

play06:04

Or if your network is set as public,

play06:07

you should set that as private because it won't work

play06:09

on public networks, not by default.

play06:11

Double check that.

play06:12

Really, that's it for making a basic file server.

play06:15

And with it, we can do a litany of cool things.

play06:18

We can point our Plex server to the storage folders

play06:20

and access the entire drive over the network.

play06:22

We can set up a Windows remote desktop connection

play06:25

or go easy mode and use Pulseway's built-in

play06:27

Remote Desktop Tool to control our server

play06:29

from anywhere in the world

play06:30

without exposing our IP to the net.

play06:32

We can also update Windows without having to log in

play06:34

to the system itself, even from your phone.

play06:37

And the best part is that we're still running Windows.

play06:39

We're not running Linux.

play06:40

You don't have to learn anything new.

play06:41

If your main rig works itself,

play06:43

you have an easy to configure backup PC,

play06:45

just waiting in the wings.

play06:46

But what if you want more control

play06:49

or what if you don't have a Windows license

play06:51

to throw at your pile of spare parts.

play06:54

You could run a standalone Linux server, of course,

play06:58

but as we've seen in the Linux challenge,

play07:01

that's not always for the faint of heart.

play07:03

Unraid and Proxmox are also feature rich options

play07:06

but they're not super easy to use either.

play07:09

For an intermediate user, we would suggest TrueNAS CORE,

play07:12

previously known as FreeNAS.

play07:14

It's free, easy to install and has a decent UI.

play07:17

That's it, video over.

play07:20

Nah, just kidding.

play07:21

Let's kick it up by adding more storage and data redundancy.

play07:23

These two 12 terabyte IronWolf Pro drives

play07:26

can handle that beautifully.

play07:29

At $400 a pop, they aren't cheap,

play07:31

but considering that 10 terabytes of Google storage

play07:34

costs 70 bucks a month.

play07:36

If we did the math, this upgrade will pay itself off

play07:40

in under a year including the PC,

play07:43

not to mention you will own and control all of your data.

play07:47

All right, we've got the 1 terabyte drive out

play07:49

and the first 12 terabyte IronWolf in,

play07:51

but now we have a problem.

play07:56

Where does this go?

play07:58

We can't exactly like, just throw it here

play07:59

and be done with it.

play08:01

We can't put it here, there's just not enough clearance.

play08:04

Like there's no provisions.

play08:05

There's not even another SATA cable, unless,

play08:09

(Anthony laughs)

play08:12

This optical drive now serves no purpose.

play08:14

Oh, there are some screws in there

play08:16

that I need to get rid of.

play08:19

Ah, okay, cool.

play08:20

But there's another problem.

play08:23

Yes, this freed up some room

play08:25

and yes, this is SATA.

play08:28

Um, they're not the same size.

play08:31

So, that's where this comes in.

play08:34

This will accept a three and a half inch drive, like so

play08:41

and slot in, something like so.

play08:49

Oh, yep, okay.

play08:51

Obviously I need to actually mount that first

play08:53

but that's the plan.

play08:54

Let's get to it.

play08:57

Let's see if it still works.

play08:59

Now with the DVD drive out,

play09:01

because who needs one of these these days,

play09:03

we have a freed up SATA power and data cable

play09:06

right where we need it.

play09:08

So, our second drive, now definitely screwed in

play09:12

is absolutely plugged into the system

play09:15

and I'm not getting a display.

play09:17

This is very troubling.

play09:18

One moment, please.

play09:20

Two things that we learned just now.

play09:21

First, always check your cables.

play09:23

Second, a lot of these old machines

play09:26

sometimes have issues with outputting anything

play09:29

via display port.

play09:30

Yeah, these are the kinds of things

play09:31

that these old systems will sometimes give you trouble with.

play09:34

But, once you have it all set up and running,

play09:37

here we go, we've got 12 terabytes of storage right here.

play09:40

Did I say 12?

play09:41

I meant to say 12 terabytes of redundant storage.

play09:45

Yes.

play09:46

Now it's time to RAID these things.

play09:49

We're gonna be setting up RAID 1,

play09:50

which means the drives will be mirrored.

play09:52

There's no performance benefit on Writes anyway,

play09:54

for Reads, there is.

play09:55

But if one dies, you get to keep 100% of your data.

play09:59

Hit the Windows key and type "Storage spaces".

play10:01

Then create a new pool using the steps

play10:03

we've linked down below.

play10:04

(keys clicking)

play10:05

You will need to format your drives first.

play10:08

Make sure you do that.

play10:09

There we go.

play10:10

On format drives.

play10:12

(Anthony sneezes)

play10:14

Ooh, ah, I'm allergic to Dell (beep).

play10:16

Storage space, Resiliency, two-way mirror, yep.

play10:20

File system, NTFS.

play10:21

Size, so 10.9 terabytes, that's 12 terabytes.

play10:26

And create Storage Space.

play10:27

Formatting the storage space.

play10:29

We are good to go.

play10:31

And there we have it, a 12 terabyte redundant NASBox

play10:35

for under a thousand dollars.

play10:37

And each of these hard drives costs about 400 bucks.

play10:41

So that's telling you something.

play10:42

This particular form factor is actually really easy

play10:45

to hide somewhere in conspicuous,

play10:47

especially if you use Pulseway

play10:49

to do all of your remote monitoring and maintenance.

play10:51

So, huge thanks to Pulseway for sponsoring this video.

play10:53

We hope you enjoyed it.

play10:54

And if you wanna see more of this,

play10:56

sort of DIY server content,

play10:57

don't forget to get subscribed

play10:59

and check out all of our other server videos.

play11:01

We'll have those linked in the end screen for you.

play11:04

For now, see you later.