Installing Linux applications: nginx
We've just installed a fully functioning Ubuntu operating system inside Windows 10. Let's familiarize ourselves with it by performing a task we might need to perform in the real world. We'll install and configure nginx, the most popular web server software in the world. Nginx powers about 30% of the entire web, and is a very common deploy target for web-based software.
We'll install nginx using apt, the built-in package manager for Ubuntu. First, we'll update our list of available packages:
sudo apt update
Next, we'll install nginx:
sudo apt install nginx
With just two commands, we've now installed nginx. These steps are the same steps we'd take if we were running Ubuntu natively installed on our computer or server. The binaries we're downloading and installing as part of the apt install
command are not special versions for Windows; they're native binaries and scripts directly from...