# SMGR 10 - Install manually over RHEL8

Install redhat

create partitions

enable enterprise and set repos

```
subscription-manager attach --auto
```

```
yum clean all
# rm  -rf /var/cache/yum/*
# subscription-manager refresh
```

package required for SMGR-Dependencies-0.1-1.noarch.rpm -y

Log on to the RHEL virtual machine using SSH.  
Use the SSH user name to log on.  
2\. Switch to root user by using the following command: sudo su  
3\. Check if the BaseOS and AppStream repos are enabled.  
Repo ID:rhel-8-for-x86\_64-baseos-rpms  
Repo Name:Red Hat Enterprise Linux 8 for x86\_64 - BaseOS (RPMs)  
Repo URL:https://cdn.redhat.com/content/dist/rhel8/$releasever/x86\_64/baseos/os  
Enabled: 1  
and  
Repo ID:rhel-8-for-x86\_64-appstream-rpms  
Repo Name:Red Hat Enterprise Linux 8 for x86\_64 - AppStream (RPMs)  
Repo URL:https://cdn.redhat.com/content/dist/rhel8/$releasever/x86\_64/appstream/os  
Enabled:1  
4\. Enable the CodeReady Builder repository:  
subscription-manager repos --enable codeready-builder-for-rhel-8-x86\_64-rpms  
5\. Install the EPEL repository:  
dnf install: https://dl.fedoraproject.org/pub/epel/epel-release-  
latest-8.noarch.rpm

```
subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
```

Disable SELinux

- ```
    <strong>vi /etc/selinux/config</strong>
    ```
    
    ```
    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    #       enforcing - SELinux security policy is enforced.
    #       permissive - SELinux prints warnings instead of enforcing.
    #       disabled - No SELinux policy is loaded.
    SELINUX=<strong>disabled</strong>
    # SELINUXTYPE= can take one of these two values:
    #       targeted - Targeted processes are protected,
    #       mls - Multi Level Security protection.
    SELINUXTYPE=targeted
    ```
    
    install log /var/log/Avaya/install\_check.log