While installing Splunk enterprise for the very first time - What are all the requirements we should take into consideration?
Also what will be the common errors while installing and how to overcome it?
Follow this instructions for your operating system (detailed instructions in link).
The next questions is whether you're doing a single instance or a distributed environment.
I'm not sure there are any common errors to talk about, if you encounter anything specific you could come back to Answers and chances are the issue has already been addressed on a previous post. I would just recommend you read the installation instructions thoroughly before you get started and follow each individual step.