![]() If you try to use the apt install MySQL-server command you will probably find an error “Mysql-server package is not available, but refers to another package. In our case, we will need to install mysql-server. If you work with Debian-based distribution, MySQL comes with two packages: If this is not the case with you or perhaps you are experiencing MySQL, we may go ahead and install it ourselves. ![]() Let’s go ahead and configure the database (MySQL).īy default, MySQL will be pre-installed on Kali Linux. That’s all! We have finished setting up the DVWA Web system. Save the file (Ctrl + O, then Enter) and exit (Ctrl + X). We will make changes in this part the to pass and the user from root. Feel free to use a different username or password. We will set db_user as user and db_password as the default. write the newly created file with the nano editor and make the necessary changes, as shown in the image below. Then use the nano editor to make changes to our newly created PHP file. php extension name using the following command cp php extension name, we are dealing with this file because in the future if something goes wrong we will have default values. We need to make a copy of this file with the. This file contains the default configuration. In the screenshot above we can see the file. Although technically a web server like Nginx can work for the system, Apache is recommended by the project team.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |