Installing Elgg on a local server

Iam trying to install Elgg off line on a localhost for testing reasons, iam very new to Elgg n i keep getting arrors at the final stage.... can some one plaese help me.