Skip to content

Latest commit

 

History

History
130 lines (89 loc) · 3.9 KB

install-proxy.adoc

File metadata and controls

130 lines (89 loc) · 3.9 KB

Install {productname} Proxy from packages

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

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

SLES KVM Settings

This section covers the {productname} Proxy installation, using the full installation media with KVM and virt-manager. Before you begin, you will need to have created an account with {scc}, and downloaded the {sles} installation media.

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

  2. Click btn:[Local install media (ISO image or CDROM)].

  3. In the Create a new virtual machine dialog, click btn:[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 btn:[Finish] to save the installation settings and begin the installation.

For more information on installing {sles}, see:

Change SLES for SUSE Manager Proxy

Procedure: Changing SLES for {productname} Proxy Installation
  1. Log in as root.

  2. Uninstall the sles-release package:

    rpm -e --nodeps sles-release
  3. Register {productname} Proxy with SCC (for example, replace <productversion> with {productnumber} and <architecture> with x86_64):

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

    SUSEConnect -p sle-module-basesystem/15.4/x86_64
    SUSEConnect -p sle-module-server-applications/15.4/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 {productname} Proxy pattern:

    zypper in -t pattern suma_proxy
  7. Reboot.

Continue with registering the installed {productname} Proxy as a client: installation-and-upgrade:proxy-registration.adoc.