How to Install local repository Server for offline environment with SLE-15-SP2.

Hi and welcome to the Forum :slight_smile:
You need to setup a local RMT server to mirror the respective modules and packages for distribution locally.
https://documentation.suse.com/sles/15-SP2/single-html/SLES-rmt/index.html