Requires root privileges.
Includes Drupal specific installations and config.
Nowadays we use a modern environments and tools, like Docker or certain cloud, or locally DDEV, which provide complex installations and configurations more or less out-of-the-box. Still sometimes "the classic" remote host setup ends on the agenda and, in my case, every time in such situation I go for online resources, searching and reading/trying until the work is done. Yet, this remains work by just an enthusiast, far from expert. In the latest case I've decided to log down every step thoroughly, for my own sake for any next time but also to share here eventually.
The following is indeed just one possible case scenario that includes at this moment latest Ubuntu, NGINX, PHP, MariaDB, Letsencrypt, Composer, Drush, as well as a group of the other more or less common daemons and tools.