RHEL for SAP Solutions

Subtitle
Access all of the special bits you need for SAP development on RHEL

RHEL for SAP Solutions

Thank you for downloading

Your download should start automatically. If you have any problems with the download, please use the direct link.



Hello World!

Preamble

This Hello World tutorial will demonstrate the installation of SAP HANA, Express Edition on Red Hat Enterprise Linux for SAP Solutions.

1. The following instructions assume the user has already installed Red Hat Enterprise Linux 7.2. The current version of SAP HANA express edition is only certified on Red Hat Enterprise Linux 7.2.

2. The system should have minimum 16GB RAM, per the requirement of SAP HANA, Express Edition.

1. Enable the "RHEL for SAP HANA" Repository

2 minutes

Body
  1. If not already done, register the System to RHN.

    # subscription-manager register --username=<rhn_id> --password=<rhn_passwd>
    # subscription-manager list --available
  2. The Pool ID is the long alphanumeric number that displays from the above command:

    # subscription-manager attach --pool=XXXX
  3. Subscribed to the Red Hat Enterprise Linux for SAP HANA child channel:

    # subscription-manager repos --disable="*"
    # subscription-manager repos --enable="rhel-sap-hana-for-rhel-7-server-rpms" --enable="rhel-7-server-rpms"
  4. Set the release to RHEL 7.2 and clear the yum cache:

    # subscription-manager release --set=7.2
    # yum clean all
  5. Verify the Red Hat Enterprise Linux for SAP HANA repository:

    # yum repolist
    repo id                                              repo name                                                     status
    rhel-7-server-rpms/x86_64                    Red Hat Enterprise Linux 7 Server (RPMs)                      11,412
    rhel-sap-hana-for-rhel-7-server-rpms/x86_64  Red Hat Enterprise Linux for SAP HANA (for RHEL 7 Server) (RPMs)  14

2. Set Up Your SAP Solutions Development Environment

15 minutes

Body

In this section, you prepare the Red Hat Enterprise Linux OS based on SAP Note 2292690.

  1. Install and configure the 'tuned' profiles:

    1. Install the tuned-profiles-sap-hana package from the Red Hat Enterprise Linux for SAP HANA channel:

      # yum -y install tuned-profiles-sap-hana
    2. Start and enable the 'tuned' daemon:

      # systemctl start tuned
      # systemctl enable tuned
    3. Configure the 'tuned' profile for SAP HANA:

      • Bare metal

        # tuned-adm profile sap-hana
      • VMware

        # tuned-adm profile sap-hana-vmware
  2. Disable SELinux:

    1. For testing purposes SELinux can be set to permissive mode at runtime:

      # setenforce 0
    2. To ensure that SELinux is fully disabled, enter the following:

      # sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
      • You need to reboot the system to finish disabling SELinux.

  3. Install the GCC C++ runtime compatibility libraries

    # yum install compat-sap-c++-6
  4. Disable the firewall:

    # systemctl stop firewalld
    # systemctl disable firewalld
  5. Install dependencies:

    # yum -y groupinstall base
    # yum -y install gtk2 libicu xulrunner sudo tcsh libssh2 expect cairo \
    graphviz iptraf-ng krb5-workstation krb5-libs libpng12 nfs-utils lm_sensors \
    rsyslog openssl PackageKit-gtk3-module libcanberra-gtk2 libtool-ltdl \
    xorg-x11-xauth numactl xfsprogs net-tools bind-utils
  6. Create symbolic links:

    # ln -s /usr/lib64/libssl.so.1.0.1e /usr/lib64/libssl.so.1.0.1
    # ln -s /usr/lib64/libcrypto.so.1.0.1e /usr/lib64/libcrypto.so.1.0.13.10

3. Hello World and Your First SAP HANA, Express Edition

10 minutes

Body

In this section you download and install SAP HANA, Express Edition.

Note

All tutorials can be found here.

  1. Download SAP HANA, Express Edition, Binary Installer.

  2. Unpack the Binary Installer

    # tar xf hxe.tgz
    # ls
    HANA_EXPRESS_20  hxe.tgz  setup_hxe.sh
  3. Install SAP HANA, Express Edition

    # ./setup_hxe.sh
    Follow the prompts to configure your installation.

Build Something Today

Let's walk through everything you need to build your first application.

Download Get Started
×