How to Install SAP ABAP 7.52 SP01 Ubuntu 16.04 using Hyper-V

1. Follow instructions in this blog to setup Hyper-V, Virtual Switch, and create virtual machine

  • 8GB of RAM
  • 150GB of virtual hard disk (100GB minimum + 15GB installation files)
  • 2 virtual processors
  • Turn off Secure Boot
  • Turn off automatic checkpoints

2. Download Ubuntu Server 16.04 , mount, and install it by referring this guide

  • Do not connect the virtual switch yet
  • Choose Guided - use entire disk without LVM (logical volume) when partitioning hard drive
  • If choose location other than United States, make sure you update file /etc/default/locale later
  • Configure network manually using IP, Subnet, Gateway as defined in 1.
  • DNS could be GatewayIP 8.8.8.8 8.8.4.4
  • Hostname, of course, must be vhcalnplci
  • Domain name is dummy.nodomain
  • Choose to install OpenSSH
  • Create checkpoint

3. Follow the same guide to update & make system ready to install SAP

  • Setup hosts file on Host OS to point vhcalnplci to the VM IP
192.168.99.10   vhcalnplci  vhcalnplci.dummy.nodomain
  • Start the VM and connect using ssh username@vhcalnplci
  • No need to install terminator and tree
  • No need to install VirtualBox or VMWare for guest OS (as we are using Hyper-V)
  • No need to install gcc, make, and perl
  • Follow the guide until you start the uuidd service

4. Mount the installation files using ISO

  • Unrar installation archives into a folder
  • Make ISO using Infrarecorder (Free)
  • Connect ISO to the VM
  • In the VM, follow these instructions to mount
  • Copy installation files into /media/sf_s4installer (as suggested in here) using cp -r source/ destination/
  • Now, you can unmount the ISO

5. Follow the same guide to install SAP by executing install.sh

  • You should see this if installation completed successfully

npl_installation_completed.png

  • You can check the status by
$ su -l npladm -s /bin/bash
# sapcontrol -nr 00 -function GetProcessList
  • Copy the installation log and remove the installation directory
  • Don't forget to create another checkpoint

6. Install license and abapGit

  • Log on client 000 with user SAP* and password Down1oad
  • Go to SLICENSE and get a new license from this page 
  • Configure STRUST
  • Log on client 001 with user DEVELOPER and password Down1oad
  • Install abapGit

Troubleshooting

  • Cannot pull with error message NIECONNREFUSED: 411
    • Turn off Windows Defender Firewall