Nginx On Wsl (CloudMonk.io)

Nginx on WSL



Return to Nginx on Windows, Installation of Nginx




sudo apt install nginx -y

[sudo] password for USERNAME:

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following additional packages will be installed:

geoip-database libgeoip1 libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter

libnginx-mod-mail libnginx-mod-stream libnginx-mod-stream-geoip nginx-common nginx-core

Suggested packages:

geoip-bin fcgiwrap nginx-doc

The following NEW packages will be installed:

geoip-database libgeoip1 libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter


libnginx-mod-mail libnginx-mod-stream libnginx-mod-stream-geoip nginx nginx-common nginx-core

0 upgraded, 11 newly installed, 0 to remove and 19 not upgraded.

Need to get 4,541 kB of archives.

After this operation, 13.4 MB of additional disk space will be used.

Get:1 https://deb.debian.org/debian bullseye/main amd64 geoip-database all 20191224-3
[3,032 kB]

Get:2 https://deb.debian.org/debian bullseye/main amd64 libgeoip1 amd64 1.6.12-7 [92.5
kB]

Get:3 https://deb.debian.org/debian bullseye/main amd64 nginx-common all 1.18.0-
6.1+deb11u2 [126 kB]

Get:4 https://deb.debian.org/debian bullseye/main amd64 libnginx-mod-http-geoip amd64
1.18.0-6.1+deb11u2 [98.4 kB]

Get:5 https://deb.debian.org/debian bullseye/main amd64 libnginx-mod-http-image-filter
amd64 1.18.0-6.1+deb11u2 [102 kB]

Get:6 https://deb.debian.org/debian bullseye/main amd64 libnginx-mod-http-xslt-filter
amd64 1.18.0-6.1+deb11u2 [100 kB]

Get:7 https://deb.debian.org/debian bullseye/main amd64 libnginx-mod-mail amd64 1.18.0-
6.1+deb11u2 [129 kB]

Get:8 https://deb.debian.org/debian bullseye/main amd64 libnginx-mod-stream amd64
1.18.0-6.1+deb11u2 [155 kB]

Get:9 https://deb.debian.org/debian bullseye/main amd64 libnginx-mod-stream-geoip amd64
1.18.0-6.1+deb11u2 [97.6 kB]

Get:10 https://deb.debian.org/debian bullseye/main amd64 nginx-core amd64 1.18.0-
6.1+deb11u2 [515 kB]

Get:11 https://deb.debian.org/debian bullseye/main amd64 nginx all 1.18.0-6.1+deb11u2
[92.9 kB]

Fetched 4,541 kB in 1s (5,646 kB/s)

debconf: delaying package configuration, since apt-utils is not installed

Selecting previously unselected package geoip-database.

(Reading database ... 213276 files and directories currently installed.)

Preparing to unpack .../00-geoip-database_20191224-3_all.deb ...

Unpacking geoip-database (20191224-3) ...

Selecting previously unselected package libgeoip1:amd64.

Preparing to unpack .../01-libgeoip1_1.6.12-7_amd64.deb ...

Unpacking libgeoip1:amd64 (1.6.12-7) ...

Selecting previously unselected package nginx-common.

Preparing to unpack .../02-nginx-common_1.18.0-6.1+deb11u2_all.deb ...

Unpacking nginx-common (1.18.0-6.1+deb11u2) ...

Selecting previously unselected package libnginx-mod-http-geoip.

Preparing to unpack .../03-libnginx-mod-http-geoip_1.18.0-6.1+deb11u2_amd64.deb ...

Unpacking libnginx-mod-http-geoip (1.18.0-6.1+deb11u2) ...

Selecting previously unselected package libnginx-mod-http-image-filter.

Preparing to unpack .../04-libnginx-mod-http-image-filter_1.18.0-6.1+deb11u2_amd64.deb
...

Unpacking libnginx-mod-http-image-filter (1.18.0-6.1+deb11u2) ...

Selecting previously unselected package libnginx-mod-http-xslt-filter.

Preparing to unpack .../05-libnginx-mod-http-xslt-filter_1.18.0-6.1+deb11u2_amd64.deb
...

Unpacking libnginx-mod-http-xslt-filter (1.18.0-6.1+deb11u2) ...

Selecting previously unselected package libnginx-mod-mail.

Preparing to unpack .../06-libnginx-mod-mail_1.18.0-6.1+deb11u2_amd64.deb ...

Unpacking libnginx-mod-mail (1.18.0-6.1+deb11u2) ...

Selecting previously unselected package libnginx-mod-stream.

Preparing to unpack .../07-libnginx-mod-stream_1.18.0-6.1+deb11u2_amd64.deb ...

Unpacking libnginx-mod-stream (1.18.0-6.1+deb11u2) ...

Selecting previously unselected package libnginx-mod-stream-geoip.

Preparing to unpack .../08-libnginx-mod-stream-geoip_1.18.0-6.1+deb11u2_amd64.deb ...

Unpacking libnginx-mod-stream-geoip (1.18.0-6.1+deb11u2) ...

Selecting previously unselected package nginx-core.

Preparing to unpack .../09-nginx-core_1.18.0-6.1+deb11u2_amd64.deb ...

Unpacking nginx-core (1.18.0-6.1+deb11u2) ...

Selecting previously unselected package nginx.

Preparing to unpack .../10-nginx_1.18.0-6.1+deb11u2_all.deb ...

Unpacking nginx (1.18.0-6.1+deb11u2) ...

Setting up nginx-common (1.18.0-6.1+deb11u2) ...

Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service →
/lib/systemd/system/nginx.service.

Setting up libnginx-mod-http-xslt-filter (1.18.0-6.1+deb11u2) ...

Setting up libgeoip1:amd64 (1.6.12-7) ...

Setting up geoip-database (20191224-3) ...

Setting up libnginx-mod-mail (1.18.0-6.1+deb11u2) ...

Setting up libnginx-mod-http-image-filter (1.18.0-6.1+deb11u2) ...

Setting up libnginx-mod-stream (1.18.0-6.1+deb11u2) ...

Setting up libnginx-mod-stream-geoip (1.18.0-6.1+deb11u2) ...

Setting up libnginx-mod-http-geoip (1.18.0-6.1+deb11u2) ...

Setting up nginx-core (1.18.0-6.1+deb11u2) ...

Not attempting to start NGINX, port 80 is already in use.

Setting up nginx (1.18.0-6.1+deb11u2) ...

Processing triggers for man-db (2.9.4-2) ...

Processing triggers for libc-bin (2.31-13+deb11u4) ...





Fair Use Sources


Fair Use Sources:
* How to install Nginx + php + MySQL on WSL Windows 10 - https://www.how2shout.com/how-to/install-nginx-php-mysql-wsl-windows-10.html
* Run Linux Nginx On Windows Server Insider and WSL
- https://www.ntweekly.com/2017/09/08/run-linux-nginx-windows-server-insider-wsl/



Nginx: Web Servers, Nginx Installation (choco install nginx - Nginx on Windows, Nginx on WSL, brew install nginx - Nginx on macOS, dnf install nginx - Nginx on Rocky, apt install nginx - Nginx on Debian), Nginx Management, Load Balancers, Nginx GitHub, Awesome Nginx. (navbar_nginx)

----



Cloud Monk is Retired (impermanence |for now). Buddha with you. Copyright | © Beginningless Time - Present Moment - Three Times: The Buddhas or Fair Use. Disclaimers



SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.



----