Set php.ini, disable some PHP extensions and let your server be safer.
Install some must-have PHP extensions for Magento 2.4
Install ElasticSearch
Download Magento 2.4 and install it.
Disable 2 Two-Factor Authorization so that you can access the admin area.