On WSL
NGINX installation
sakai@eX:~$ pwd
/home/sakai
sakai@eX:~$ wget -q http://nginx.org/keys/nginx_signing.key
sakai@eX:~$ ls
nginx_signing.key
sakai@eX:~$ sudo apt-key add nginx_signing.key
OK
sakai@eX:~$ sudo apt-get update
:
:
Fetched 16.4 MB in 13s (1292 kB/s)
Reading package lists... Done
sakai@eX:~$ sudo apt-get install nginx
NGINX execution
root@MB-B504ES:~# sudo nginx
root@MB-B504ES:~# ps ax | grep nginx
20 ? Ss 0:00 nginx:
21 ? S 0:00 nginx:
22 ? S 0:00 nginx:
23 ? S 0:00 nginx:
24 ? S 0:00 nginx:
26 tty1 S 0:00 grep --color=auto nginx
root@MB-B504ES:~# ss -an | grep LISTEN
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
root@MB-B504ES:~# nginx -s stop