What are ideal specifications for a web hosting computer?

Hi. I’m planning on buying a cheap but decent laptop that I can use to make my own web hosting servers. What are ideal specifications for a computer that I will use for this? Cpu, Memory, all that stuff. I’m probably gonna use linux to host the server.
Please take note I am asking the specifications for a webhosting COMPUTER. Not a webhost for my own website. I want to make my own webhosting company.

basicly you just need internet connection and OS. hosting server will be handled by hosting company