Magento 2.4 CE setup has changed quit a bit. Basically non of the howto's on the net still work. It is now setup using Elastic Search and setup by Composer using login credentials during installation with unique public and closed key's created in your profile on their site and it has become quite complicated to install. Therefore I suggest a HOWTO including server / vm setup from scratch.