How Do I Turn My Old PC Into A Server?

Can you use an old PC as a server?

.

How do I make my PC into a server?