//debian
ip -br -c a

nano /etc/network/interfaces

allow-hotplug enp0s9
iface enp0s9 inet static
address 192.169.1.10

init 6

ip -br -c a

apt update

apt install apache2

apt install net-tool

netstat -nlpt

systemctl stop apache2

systemctl start apache2 

//kali
ip -br -c a

nano /etc/network/interfaces

allow-hotplug eth2
iface eth2 inet static
address 192.168.1.20

init 6

ip -br -c a 

ping 192.168.1.20

//debian
cd /var/www/html
mkdir passwork
mkdir backup
mkdir admin

mv index.html /var/www

cd /etc/apache2/

cp apache2.conf apache2.conf.bkp

nano apache2.conf

nano /etc/apache2/conf-enabled/security.conf

service apache2 restart

cd /var/log/apache2