kali 리눅스에는 apache2 서버 기본 설치 됨. 아파치 웹서버 시작: /etc/init.d/apache2 start아파치 웹서버 web root: /var/www /var/www 밑에 코드를 추가 MySQL 시작: /etc/init.d/mysql startconsole 접속: mysql -u root -penter password: toor MariaDB > Start Apache and Mysql in Kali Linux.April 10, 2017iamjagjeetubhiApache and Mysql comes pre-installed in Kali Linux.
But whenever we open localhost in our browser we got the error. It is because we have not started the apache service as it is installed but not running.To start the Apache service in Kali linux use the following command:sudo /etc/init.d/..........