Install SUSE Manager Proxy from Packages

To install SUSE Manager Proxy from packages, you will need to start by installing SUSE Linux Enterprise Server media. This section covers the KVM settings required to perform a SUSE Linux Enterprise Server installation as the base for SUSE Manager Proxy. In this section, we use a KVM and a virtual machine manager as a sandbox for the installation.

1. SLES KVM Requirements

Use these settings to create a new virtual machine with virt-manager (replace <version> with the actual version string):

Table 1. KVM Settings for SLES
Installation Method: Local install media (ISO image or CDROM)

OS:

Linux

Version:

SLE-<version>-Server-x86_64-GM-DVD1.iso

Memory:

Test Server Minumum 2 GB

Production Server Minimum 8 GB

CPUs:

2

Storage Format:

ISO 3 GB

Disk Space:

230 GB split between

/ (root) Minimum 24 GB

(Virtual Disk 1) /srv Minimum 100 GB

(Virtual Disk 2) /var/cache (Squid) Minimum 100 GB

Name:

example-proxy

Network

Bridge br0

1.1. SLES KVM Settings

This section covers the SUSE Manager Proxy installation, using the full installation media with KVM and virt-manager. Before you begin, you will need to have created an account with SUSE Customer Center, and downloaded the SUSE Linux Enterprise Server installation media.

Procedure: Preparing for SLES Installation
  1. In the Virtual Machine Manager tool (virt-manager), click File  New Virtual Machine.

  2. Click Local install media (ISO image or CDROM).

  3. In the Create a new virtual machine dialog, click Browse and locate the full SLES image you downloaded from your SCC account.

  4. Configure your machine with at least 2 GB RAM and a minimum of 2 CPUs.

  5. Create a storage device with a minimum of 230 GB storage space for the installation. During the SLES installation this disk should be partitioned into the following partitions:

    Disk Space Requirements

    100 GB XFS partition (or dedicated virtual disk) for /srv/

    100 GB XFS partition (or dedicated virtual disk) for /var/cache/

    The remaining storage space will be used by the operating system for the root partition.

  6. Click Finish to save the installation settings and begin the installation.

For more information on installing SUSE Linux Enterprise Server, see:

2. Change SLES for SUSE Manager Proxy

Procedure: Changing SLES for SUSE Manager Proxy Installation
  1. Log in as root.

  2. Uninstall the sles-release package:

    rpm -e --nodeps sles-release
  3. Register SUSE Manager Proxy with SCC (for example, replace <productversion> with 5.0 and <architecture> with x86_64):

    SUSEConnect -e <EMAIL_ADDRESS> -r <SUSE_MANAGER_PROXY_CODE> \
    -p SUSE-Manager-Proxy/<productversion>/<architecture>
  4. Add SUSE Manager repositories:

    SUSEConnect -p sle-module-basesystem/15.5/x86_64
    SUSEConnect -p sle-module-server-applications/15.5/x86_64
    SUSEConnect -p sle-module-suse-manager-proxy/4.3/x86_64
  5. Check that you have allowed installing recommended packages. Check the settings in /etc/zypp/zypp.conf:

    solver.onlyRequires = false
  6. Install the SUSE Manager Proxy pattern:

    zypper in -t pattern suma_proxy
  7. Reboot.

Continue with registering the installed SUSE Manager Proxy as a client: SUSE Manager Proxy Registration.