How to Generate sosreport on Ubuntu 18.04 / Debian 9 Server

SOS is a tool which is used to collect all the system configuration, logs and diagnostic information and archive it into a single file. Sosreport is generally required for technical support engineers and developers...