netsh interface ip add address "vEthernet (WSL)" 192.168.100.1 255.255.255.0
@ .wslconfig
[wsl2]
memory=4GB
processors=2
@ hosts
192.168.100.2 {domain}
ipconfig /flushdns
ip addr add 192.168.100.2/24 broadcast 192.168.100.255 dev eth0 label eth0:1;
echo '%sudo ALL=(ALL) NOPASSWD: /usr/sbin/service apache2 start' >> /etc/sudoers
echo '%sudo ALL=(ALL) NOPASSWD: /usr/sbin/service mariadb start' >> /etc/sudoers
wsl sudo service apache2 start
wsl sudo service mariadb start
ln -s /mnt/d/server/www/html /var/www