Technical Articles
SAP NetWeaver AS ABAP Developer Edition Installation Pitfalls + Video Tutorial
Hi community :),
After 2 days, I have my SAP NetWeaver AS ABAP Developer Edition 7.52 SP04 on Ubuntu Oracle Virtual box. Don’t get scared, it is really easy. But took 2 days of mine.
I have tried to install it on Ubuntu a few times, all failed, then on openSuse those failed too. That is because I am just too lazy to read comments on blog posts. Also I need to give credit to blog authors, that is because none of them tell you, “It will fail” at first time because of sybase licence :D. Yeah, that is just part of installation.
So, I have decided to share pitfalls and exact steps with you to install without getting mad. Stay sane and follow steps below! Don’t be lazy, read them all first. Pay attention to 25 and 26.
If you are not familiar with Linux and so far did not try and fail installing dev edition, I think you should follow that link -> https://abapacademy.com/blog/how-to-install-free-sap-system/ ,best of best so far, which is detailed version of https://www.sap.com/documents/2019/09/32638f18-687d-0010-87a3-c30de2ffd8ff.html
Video Tutorial of This Post
Pitfalls
- Step 1 –
- During installation of Linux Ubuntu, host name should be vhcalnplci.
- Not sure if that is required, but password must be 8 chars and should contain Uppercase and number
- Step 17 – Etc hosts must be maintained
- Step 24 – you need to copy .lic file that is in License.rar to install.sh folder
- Step 25 – uuidd must active before starting installation and you need to be root before installing with ./install.sh
- Step 26- you need to copy license file to sybase license folder after failing first attempt
I need to thank Dylan Drummond, Julie Plummer and the person who pin pointed me after failure Robert Stefanov.
Steps
1- Download Ubuntu 18.10 – https://old-releases.ubuntu.com/releases/
Why Old version of Ubuntu? -> https://blogs.sap.com/2021/06/07/adjusting-installer-script-for-sap-netweaver-dev-edition-for-distros-with-kernel-version-5.4-or-higher/
Versions and Kernels -> https://askubuntu.com/questions/517136/list-of-ubuntu-versions-with-corresponding-linux-kernel-version
https://download.opensuse.org/distribution/leap/15.1/iso/
https://en.wikipedia.org/wiki/OpenSUSE#Leap_15.x_series
SUSE 15.1
set computer name : vhcalnplci
password should be 8 characters
- my user name : codezen
- my password : Codezen1
2- Download SAP NetWeaver AS ABAP Developer Edition 7.52 SP04 -> https://developers.sap.com/trials-downloads.html
3- Download and Install Oracle VirtualBox – https://www.virtualbox.org/wiki/Downloads
4- Guest additions installation – optional
5- sudo apt-get update
The repositories are still available on http://old-releases.ubuntu.com/ubuntu.
You can change them in /etc/apt/sources.list, replacing all occurences of http://archive.ubuntu.com (or it might http://tr.archive.ubuntu.com) with http://old-releases.ubuntu.com.
After that, apt-get upgrade will work again.
6- sudo apt-get upgrade
7- sudo ufw disable
8- sudo apt-get install openssh-server
after ssh;
– you can use putty to connect via ssh port 22
– you can directly connect sftp via 22, i use filezilla
9- sudo reboot now
10- vbox port fowarding and putty connection via ssh
127.0.0.1 2222 10.0.2.15 22
11- Take snapshot
12- sudo apt install gcc make perl
13- sudo apt install csh
#the C-shell, needed for the install of NetWeaver to work. You can check shells cat /etc/shells
14- sudo apt search libaio
15- sudo apt install libaio1
16- sudo apt install uuid
17- sudo nano /etc/hosts
127.0.0.1 localhost
10.0.2.15 vhcalnplci vhcalnplci.dummy.nodomain
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
18- sudo reboot now
19- sudo systemctl start uuidd
to check status
- sudo systemctl status uuidd
- or sudo service uuidd status
20- create a link between windows host and ubuntu via shared folder
- sudo mkdir /shared
- sudo chown 777 /shared
- sudo adduser codezen vboxsf
- sudo reboot now
21- copy files
- cd /shared
- cd SAP\ Abap\ Netweaver/
- ls -all
- sudo mkdir /sapsetup
- sudo cp -f *.rar /sapsetup/
License file!!!
or
20- connect as root with sftp client and copy files via drag and drop
- sudo passwd root
- sudo nano /etc/ssh/sshd_config
Find the line contains “PermitRootLogin no”, modify it to “PermitRootLogin yes”.
- sudo service ssh restart
- sudo mkdir /sapsetup
- sudo chmod 777 /sapsetup
- filezilla site to connect via sftp 127.0.0.1 2222
- drag and drop rars to /sapsetup
- sudo chmod -R 777 /sapsetup/
22- Take a snapshot
23- sudo cd /sapsetup
24- sudo apt-get install unrar
- sudo unrar x TD752SP04part11.rar
- sudo unrar x License.rar
- sudo cp /sapsetup/License/SYBASE_ASE_TestDrive/SYBASE_ASE_TestDrive.lic /sapsetup/
- add license file .lic to same folder with install.sh
25- Installation time
- sudo systemctl start uuidd
- sudo -i
- cd /sapsetup
- sudo chmod 777 install.sh
- ./install.sh
26- Fails with Unable to generate a new password for database login ‘sa’ in sapinst_dev.log
copy lic file to /sybase/NPL/SYSAM-2_0/licenses/SYBASE_ASE_TestDrive.lic
- cp SYBASE_ASE_TestDrive.lic /sybase/NPL/SYSAM-2_0/licenses/
27- ./install.sh
That is it. Let’s connect 🙂
User name : DEVELOPER
Pass: Down1oad
- go to slicense tcode delete installed licences
- go to https://go.support.sap.com/minisap/#/minisap pake and enter hardwarekey from slicense tcode(Remote Hardware Key Tab, Active Hardware Key field value) and install downloaded licence file.
——————
su npladm
Pass: Codezen1
stopsap ALL
startsap ALL
Related Links
Tutorial – https://abapacademy.com/blog/how-to-install-free-sap-system/ – Best of best so far.
Just does not mention the step 26 and 27
https://blogs.sap.com/2018/04/05/installing-sap-netweaver-developer-edition-on-an-ubuntu-desktop-vm-the-non-concise-guide/ very detailed!
https://blogs.sap.com/2019/10/01/as-abap-7.52-sp04-developer-edition-concise-installation-guide/ – Passwords and some technical details
https://answers.sap.com/questions/13008312/sap-netweaver-752-sp-abort-execution-because-of-st.html
https://blogs.sap.com/2016/11/03/linux-for-newbies-installing-opensuse-on-oracle-virtualbox/
https://abapacademy.com/blog/sap-trial-license-expired-how-to-prolong-sap-trial-license/
Nice blog there, well done.
If you want to use more recent versions of Ubuntu and/or openSUSE Leap, then the installation will also succeed with those versions, if you use the advice here (warning: self-promotion alert):
https://blogs.sap.com/2021/06/07/adjusting-installer-script-for-sap-netweaver-dev-edition-for-distros-with-kernel-version-5.4-or-higher/
(<- That blog assumes that you are reasonably competent in installing Dev Edition; so if you are a newbie then maybe best to try first with older versions of the Linux distros, as is well-described in Beyhan's blog above).
🙂 Thanks Dylan.
Beyhan MEYRALI
Thanks for the awesome post.
I was able to install the trial in 1 go, thanks to your clear instructions.
Only thing, which must be mentioned , is that VM should have 80-100 GB space ( considering rar, unpack & installation requirements , i luckily added 80GB, and it came down to 72 GB in total)
There are 2 things, which i am facing bit problem .
Fiori is not showing up (Following your port forwarding setup) and Screen Painter is also not working in SE80. Is it by design?
Hi Ali,
I don't have answer for those 2 questions.
I have only tested it with Vue app not with Fiori app. And also did not try screen painter neither.
Thanks for reply.
i was able to activate screen painter by forwarding RFC port 3300.
Still working on Fiori, and will update it here for others as well.
Thanks for sharing Ali.
Thanks for this post I tried to install a lot of times and now it's working!!! Thanks!
Thank you. Great and clean blog. Nice, simple and understandable explanation. It is very useful for you to explain the steps in detail in the video. I have done it. However, the system is running very slow. I think it's from the virtual machine settings.
Hi Firat,
it demands some hardware indeed. I have nvme disk, i7 cpu and 32gb ram. It worked fine on my machine.
Marvelous tutorial!
Highly detailed. Well done!
Only thing is the virtual box as well as the SAP server was extremely slow.
O solved it after making some changes in the virtual box settings based on this post:
FIX: VirtualBox Running Very Slow in Windows 10/11. (Solved) - wintips.org - Windows Tips & How-tos
Thanks a lot. Happy to see more people are benefiting for blog 🙂
Cheers
Hi Beyhan Meyrali ,
Excellent blog.
I was able to install it in one go following your blog and the video where you have explained in detail all the required steps and also resolving the issues caused during installation.
Very detailed one.
Eagerly waiting for more blogs from you.
Once again Thank you for the nice blog.
Regards
Ranjit V
Thanks Ranjit.
Regards
Great blog. Helped immensely
Hi Peter,
Happy to read it is helpful.
Thanks for commenting.
It seems to be next to impossible to upgrade from 18.10. I'm happy to keep using netweaver on Ubuntu 18.10 but I was interested to see what would happen on the latest version. I destroyed my instllation trying to upgrade, but thanks to the snapshot it wasn't a problem
I might try again on Ubuntu 20.04
Hi Peter 🙂
It is 18.10 because of kernel version.
You can read the part -> Why Old version of Ubuntu? -> https://blogs.sap.com/2021/06/07/adjusting-installer-script-for-sap-netweaver-dev-edition-for-distros-with-kernel-version-5.4-or-higher/
I managed to get everything working on Ubuntu 22.04 following your guide as well as the extra steps to edit the install.sh script.
The only problem I had was at step 24 of your guide. For some reason it's necessary to copy the Sybase ASE license back into the expanded install directory:
Where /SAPNWINST/ is the install directory
Also, after launching the install script the license is displayed, but there doesn't seem to be a way to scroll down. If you use Ctrl+C to escape, then there is a prompt to accept the license and it's possible to proceed from there.
Hello Beyhan Meyrali,
Excellent blog and video.
I wanted to download SAP NetWeaver AS ABAP Developer Edition 7.52 SP04. In fact, there are 12 files to download, but when I started to download the files, I received a message saying:
"Your request for information is being reviewed. Once approved, you’ll receive an e-mail with additional instructions."
Note: I have sent an email to SCNContent@sap.com but have not received a response.
Could you please share the 11 files from another link or drive for download?
Thank you.
Regards.
Hi Carlos,
Thanks for commenting. You need to download via SAP page.
Regards
tanks alot for good guide
I'am having problem with the installation; some issues from step 12 and 13 via PUTTY.
after the command "sudo apt install gcc make perl" I'm getting the following output:
and running the step 13 command (sudo apt install csh) gives the following result:
E: Unable to locate package csh
did someone have the same issue?
thanks