This question might not be appropriate to ask in this forum but unfortunately the linux stack forum is not as active as here.

I installed mysql and apache2 successfully on my linux (kaliv2 x64 on vmware) and used it. I decided to use webmin as well but I have been facing some problems:

for mysql it says

1. The MySQL startup script (/usr/bin/safe\_mysqld was not found on your system. Maybe MySQL is not installed, or your module configuration is incorrect

I can not find *safe\_mysqld* in my directories. apparently *safe\_mysqld* has been changed to *mysqld.sock* (/var/run/mysqld/mysqld.sock) however when I change */usr/bin/safe\_mysqld* to *mysql.sock* I still facing the error.

[![enter image description here](https://i.stack.imgur.com/m7Ap7.png)](https://i.stack.imgur.com/m7Ap7.png)

for apache2

2. The Apache configuration file /etc/apache2 does not exist. If you have Apache installed, adjust the module configuration to use the correct path.

I should mention that Apache Webserver is located in unused modules 

[![enter image description here](https://i.stack.imgur.com/kYrm2.png)](https://i.stack.imgur.com/kYrm2.png)