Installation Error; Page not Found

I recently tried to install Matomo on Centos. While I ensured that all server requirements were met and the files were properly uploaded to the database, the admin and main pages still returned a “page not found” message.

I had also tried using the softaculous auto installer earlier but to no avail. Kindly guide me on the possible alternatives. Thanks