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

With WSL2 coming with Windows 10 update 2004, virtual switch named `WSL` is not recommended.

  • Virtual Switch and NAT Creation
New-VMSwitch –SwitchName "NPLSwitch" –SwitchType Internal
New-NetIPAddress –IPAddress -PrefixLength 24 -InterfaceAlias "vEthernet (NPLSwitch)"
New-NetNat –Name "NPLNetwork" –InternalIPInterfaceAddressPrefix
  • 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. Or configure later by referring this guide.
  • DNS could be GatewayIP
  • 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   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

  • You should see this if installation completed successfully


  • You can check the status by
sudo -i -u npladm sapcontrol -nr 00 -function GetProcessList
  • Copy the installation log and remove the installation directory
  • Don't forget to create another checkpoint
  • You can start or stop the SAP by:
# Start SAP
sudo -i -u npladm startsap ALL

# Stop SAP
sudo -i -u npladm stopsap ALL
  • You can configure auto-start by sudo vim /etc/rc.local and populate with below content and make it executable by sudo chmod +x /etc/rc.local
sudo -i -u npladm startsap ALL

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


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