Hello /g/ am probably going to get laughed at for asking a noob question. But I have an old laptop sitting around I want to use as a LAN server. I know you could just install windows on it and use windows homesharing to store files but I want to go deeper here. As in, I could be on another computer in the LAN and go to a website hosted on that computer that is LAN only. Is this possible, stupid? If I get literate enough I might try to forward port 80 down the road and maybe create a email server to share with family outside LAN. But that's another time.
What Linux distro do you recommend? I know about apache, MySQL, PHP. I kind of know my way around a terminal and have coded HTML before so I can learn along the way.
>>58933869
ubuntu server
don't run email servers at home
>>58940345
Everyone on this board only pretends to know about technology
I recommend Ubuntu server and following a basic tutorial
>>58940369
There's nothing wrong with running your own email server, just assume that you will be hacked (if someone wants to hack you)
>>58940369
Or centos and nextcloud. Thats a comfy config.
>>58940723
That's why you install fail2ban on it
>>58940345
I have your exact setup there with a 240€ Ideapad I got off warehouse deals.
I use Debian, you can use literally any Linux Distribution, but Debian or Ubuntu are generally recommended for Servers on this board.
Basically, you'll have to learn about your Home Network. Anything with IPs starting with 192.168.x.x can be safely assumed your home net, and will be reachable with each other once you connect to the router.
Simplest means to check would be installing Apache and connecting to the Computer via Browser by just putting in the local IP, you'll see the default Apache Homepage and if you know some HTML you can already put your stuff here.
Then you learn about changing the port to something other than the Standards so potential attackers will have to at least do a fucking port scan first.
After that learn about DynDNS with for instance noip.com to make the computer reachable from the outside, i.e. your phone. You'll have to make the port of your router go through to the PC for that, and you might want to learn about SSH-Connections at that point.
All of this should take you about a week of tutorials, but is easy to achieve and quite motivating to get right.