Hi @obira,
For that sort of error it’s probably most useful for you to first look in the logs for the webserver (are you using Tomcat?).
It’s easier for us to try and help you if you give a bit more information. For example, what version of DHIS2 are you trying to install? what version of the documentation have you followed, and with which options? what database/version are you using? what operating system and version so you have on your laptop? All of these details can have an impact on the sort of issues you might face when setting up the system.