DVWA installation
1.) Download the file.
2.) unzip master.zip
3.) move the content from DVWA-master to web root directory in /var/www/html and change and make them the owner
4.) start apache2 and mysql, then install mysql
5.) create database and give all privileges to a user
6.) open the config and change the config based on the database
7.) click create/reset database