dvwa安装指引
# 多说无用,建议直接 docker 一步到位。
# 启动 nginx
# service nginx start
cd /var/www/html
vim hello.html
Helloworld!
// 访问虚拟机地址。
1 | [root@fedora axro]# cd /usr/share/nginx/html/ |
mysql> create database dvwa;
Query OK, 1 row affected (0.00 sec)
mysql> create user dvwa@localhost identified by 'p@ssw0rd';
Query OK, 0 rows affected (0.01 sec)
mysql> grant all on dvwa.* to dvwa@localhost;
Query OK, 0 rows affected (0.01 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)