This article walks you through the steps to set up a SAP HANA database at home. The main difference with this material is that we will not be using traditional virtual machines such as Oracle VirtualBox or VM Ware Workstation Player. This document focuses on a new approach developed by Microsoft called Windows Subsystem for Linux.
What is WSL? Basically, this is a new feature of running Linux using a lightweight approach to virtualization.
Here is a direct definition from Microsoft:
The Windows Subsystem for Linux lets developers run a GNU / Linux environment - including most command-line tools, utilities, and applications - directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup.
More detailed information about WSL can be obtained on the Microsoft website at the link .
In 2019, a stable version of WSL2 appeared, which received a number of significant additions compared to the first version. The main difference from the first version is the improved file system performance, as well as full support for Linux kernel system calls. Below is a comparison of the two versions of WSL.
In this article, we will focus on installing SAP HANA Express Edition using WSL version 2 technology.
, WSL 1, SAP HANA 2. Windows 1903 1909, , , , , 20H2.
WSL2
WSL2 . Microsoft.
1
Windows Subsystem for Linux. PowerShell . :
dism.exe /online /enable-feature /featurename: Microsoft-Windows - Subsystem-Linux /all
2
WSL2, Virtual Machine Platform. . .
PowerShell ( ) :
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
.
3
Linux WSL2 Linux kernel update packege for x86 . .
, WSL2 Linux.
4
WSL2 . PowerShell :
wsl --set-default-version 2
5
Linux. Microsoft Store Linux. OpenSUSE Leap 15.2. βGetβ. βLaunchβ.
. , !!!
, .
: wsl --list βv
WSL. , PowerShell wsl --shutdown
Windows. ( OpenSUSE).
β β, , .
SAP HANA Express Edition
, , , SAP HANA Express Edition .
. «» : \\wsl$
Linux. !
. hdblcm. , 2.00.045 (SPS 4). SAP HANA Express Edition.
, XSA ( ) , localhost ( Enter Local Host Name ). hostname .
,
/ var /tmp /hdbinst .log . , . OpenSUSE , . , zypper update , , numactl libltdl 7. .
. Windows , , SAP HANA Studio.