-1
Hello, I’m studying web programming and I ended up having an idea to repurpose an old computer that is sitting here at home.
Doing some searches on servers, I found that the best option for me is Ubuntu Server 18.04.2 LTS. I downloaded and installed on the machine in question, plugged it to the cable directly on the router, made some basic network settings, installed LAMP and an FTP server currently it only works on my local network.
Because I have very little knowledge about networks and servers, I would like to know:
It’s a good idea to use an old computer like this?
If it is a good idea, which packages and applications should I install on my "server" to be able to host websites and game servers safely?
What settings are necessary for me to have security and not suffer a hack of my "server" or my personal network, putting at risk the data of other devices in my home?
Is there any monitoring method for me to know who is connected and if I am being hacked?
And what configuration do I need to do on my router to free up access beyond my personal network without losing security? (I did something similar to a game server a long time ago, but I don’t know if it’s safe)
NOTE: I have no intention of hosting websites professionally, it is only for study and also share my websites and my applications with some friends. Even if it is only for testing, I have a concern for the security of my personal network.
In case anyone can answer my questions, I thank you wholeheartedly/