For Know more about hacking lab and also make own hacking lab in Windows OS read my old tutorial.....
Now today i am going to telling you how to setup Hacking Lab in Linux or Backtrack OS.
Open your terminal and run below write command...
cd /var/www
sudo -s
wget wget http://voxel.dl.sourceforge.net/project/dvwa/DVWA-1.0.7.zip
This command download Zip file of DVWA, see below pic for help...
For Unzip the DVWA file run below write command....
unzip DVWA-1.0.7.zip
See below pic for live example...
Now run below write command....
cd /var/www/dvwa/config
nano config.inc.php
See below pic...
When you have run above write command then terminal look like below pic...
Now here enter Username and Password, in my case i have used Root and MySql, see pic...
For start work run below command....
service mysql start
service apache2 start
See below pic..
Now open your browser and enter URL....
127.0.0.1/dvwa or localhost/dvwa
See below pic, now click on here , see pic...
Now your hacking lab page open, create Database by click on Create/Reset Database , see pic...
Now Your Lab start for work, use Admin:Password combination for login in Hack Lab.
Enjoy!!!!!!!!!!!!!