How to install Ubuntu desktop behind a proxy

Unlike Ubuntu server, installation of Ubuntu desktop is pretty much auto-pilot, not leaving much room for customization, such as custom disk partitioning, manual network settings, package selection, etc. While such simple, one-shot installation is considered user-friendly, it leaves much to be desired for those users looking for “advanced installation mode” to customize their Ubuntu desktop installation.