HOWTO : Install DVWA on Ubuntu Server 12.04 LTS
Step 1 :
Download DVWA.
Step 2 :
Install essential packages if you do not install LAMP when installing the Ubuntu Server.
* make sure you remember the root password of MySQL, e.g. dvwapass
Step 3 :
Extract DVWA.
Step 4 :
Change the "db_password" to the captioned root password, e.g. dvwapass.
change "allow_url_include = Off" to "
Step 5 :
Create Database.
Step 6 :
Point your Firefox to "http://192.168.0.10/DVWA/setup.php" to create/reset database.
* where 192.168.0.10 is the IP address of the Ubuntu Server
Step 7 :
Then point your Firefox to "http://192.168.0.10/DVWA/index.php".
User name is "admin" and Password is "password".
That's all! See you.
Download DVWA.
wget https://github.com/RandomStorm/DVWA/archive/v1.0.8.zip
Step 2 :
Install essential packages if you do not install LAMP when installing the Ubuntu Server.
sudo apt-get install apache2 mysql-server php5 unzip php5-mysql php-pear*
* make sure you remember the root password of MySQL, e.g. dvwapass
Step 3 :
Extract DVWA.
sudo cp v1.0.8.zip /var/www/
unzip v1.0.8.zip
Step 4 :
sudo nano /var/www/DVWA/config/config.inc.php
Change the "db_password" to the captioned root password, e.g. dvwapass.
sudo nano /etc/apache2/conf.d/php.ini
change "allow_url_include = Off" to "
allow_url_inclue = On
".sudo chmod -R 777 /var/www/DVWA/hackable/uploads/
Step 5 :
Create Database.
mysql -u root -p
create database dvwa;
quit
Step 6 :
Point your Firefox to "http://192.168.0.10/DVWA/setup.php" to create/reset database.
* where 192.168.0.10 is the IP address of the Ubuntu Server
Step 7 :
Then point your Firefox to "http://192.168.0.10/DVWA/index.php".
User name is "admin" and Password is "password".
That's all! See you.