1. Select product "SUSE Linux Enterprise Server 12 SP3 for SAP" on Google cloud platform, https://console.cloud.google.com/marketplace/details/suse-sap-cloud/sles-12-sp3-sap?project=tidy-interface-279006
launch an instance, the instance is better with 4 cores and 16GB ram.
2. Download java runtime jre-8u251-linux-x64.rpm from https://www.java.com/en/download/linux_manual.jsp
3. Download HXEDownLoadManager_linux.bin from https://www.sap.com/cmp/td/sap-hana-express-edition.html
4. Upload the jre-8u251-linux-x64.rpm and HXEDownLoadManager_linux.bin to the instance.
5. Run below command to install java runtime
sudo rpm -ivh jre-8u251-linux-x64.rpm
6. Follow the below steps to update JAVA_HOME path
(1) Execute: vi ~/.bashrc OR vi ~/.bash_profile
(2) Add line : export JAVA_HOME=/usr/java/jre1.8.0_251-amd64, save the file
(3) source ~/.bashrc OR source ~/.bash_profile
(4) Execute : echo $JAVA_HOME, check the output is /usr/java/jre1.8.0_251-amd64
7. Create Downloads folder in user's home folder using command "mkdir ~/Downloads". run below command to download SAP HANA express installation file.
HXEDownloadManager_linux.bin linuxx86_64 installer hxe.tgz
8. Go to the Download folder, unzip the downloaded hxe.tgz file
tar -xvzf hxe.tgz
9. Run command to start installation, during installation, select SAP HANA instance number 0.
sudo ./setup_hxe.sh
If during installation, have libatomic1 not found problem. Need to activate suse Linux and install the missing package. Registraion code "B775xxxxx427B0" can be get when you register a trial account on suse linux website, it only can be used for half a year.
sudo SUSEConnect -r B775xxxxx27B0 sudo SUSEConnect -p PackageHub/12.4/x86_64 sudo zypper install libgcc_s1 libstdc++6 libatomic1