Download the archive with the KSMG distribution kit based on RED OS from the Kaspersky website.
Check the checksum of the archive with the KSMG distribution kit based on RED OS.
Prepare a computer or virtual machine with at least 100 GB of free hard disk space and 4 GB of RAM.
Deploy the operating system using the RED OS installation disk with the certified redos-MUROM-7.3-*-Everything-x86_64-DVD1.iso image (where "*" is version 20240923.0 or later). We recommend installing the operating system from an image of version 20241221.0.
The RED OS operating system is not included in the KSMG distribution kit and must be purchased separately.
When installing RED OS:
Click Software Selection, then select the REDOS Server Minimal option.
Use the whole disk for the / partition, do not create a swap partition.
Connect to the management console of the RED OS virtual machine as root using an SSH private key.
Disable SELinux. To do so, in the /etc/sysconfig/selinux file, replace the SELINUX=enforcing line with SELINUX=disabled.
Restart the operating system to apply the changes.
Copy the archive with the KSMG distribution kit to the /root directory.
Connect to the management console of the RED OS virtual machine as root using an SSH private key.
Unpack the archive with the KSMG distribution kit:
tar -xzf ksmg_2.1.1-8310_iso_build.tar.gz
Connect and mount the RED OS installation disk with the redos-MUROM-7.3-*-Everything-x86_64-DVD1.iso image (where "*" is version 20240923.0 or later) to a directory of your choice, for example, /mnt/disk.
Run the following commands as root:
sed -i /python-ipaddress/d ./image/packages.list
sed -i /glibc/aglibc-all-langpacks ./image/packages.list
Run the following command as root:
bash build_iso.sh <path to the directory where the disk is mounted (for example, /mnt/disk)>
After the successful completion of the build process, the finished ISO image for KSMG installation is located at the following relative path: tmp/build/iso-inst.dir.
You can delete the virtual machine with the RED OS operating system.