Nearly all Linux distributions come preinstalled with a packet manager. A packet manager is an application that pulls software packages from a software library and installs them on the system.
If you want to install a web server on Windows, you will first need to manually perform several steps to download the installer and install it on your system.
On Linux (Ubuntu in this example), only a simple command is required: apt install nginx
. The package manager (APT) makes sure that nginx gets downloaded from a trusted source and is properly installed on your system.
APT also has many other functionalities, like:
Warning: On older Linux versions, you are possible required to extend the apt
command to apt-get
.
Performing updates on all installed packages apt update && apt upgrade
Searching for a package called nginx in the package library apt search nginx
Below are several packages that will make your life managing a server much more easy. I recommended to install these applications on every server by default.
apt install htop ranger tmux ncdu