SAP NetWeaver 7.0 – Java and ABAP Trial Version on Linux – VMware Edition – Tips & Tricks
On Monday last week I received an email from
asking for help with the
. I had already tried to install this software around New Year but struggled with the download of SLES10 SP1 SAP Version (Where to download SLES10 SP1 SAP Version?) and also a problem with the License Key (License Key for SAP NW 7.0 – Java Trial Version on Linux – VMware Edition). Brian’s mail triggered me to try it again.
Update: If you are looking for instructions for the “
” please read the “
” which was just published.
1 Download & Extract
I’ve downloaded all the files from SDN,
and VMWare Player (https://www.vmware.com/download/player/). Here is a screenshot of all the required Files:
I’ve created a sub-folder Readme where I’ve extracted the “VmWare%20ABAP%20and%20Java%20Readme%20-%20zipfile.rar” – File. The VMware-player-2.0.3-80004.exe has to be installed as an Administrator. After the VMWare Player installation you have to reboot yur computer. After that I’ve double-clicked the “SAP NetWeaver 70 – Java and ABAP VMware Trial.part01.rar”-File and opened it with WinRAR (https://www.rarlab.com/). I’ve extracted all the content to the VMWare sub-folder I’ve created before. Please be patient, for me that took about 20 minutes. Then I’ve extracted “SLES10SP1VSAP.rar” also to “VMWare”. Again you have to wait some minutes.
The resulting structure in the folder VMWare looks like this:
2 Start-up & Login
Now you can double-click on the File “SLES10SP1_Test_Drive.vmx” to start the virtual machine. At this first start you have to answer this dialog with “I copied it”:
The boot process will start automatically. After some seconds you will see the boot screen:
If you want to see what the system is doing in the background you can click into the VMWare window and press ALT + F2. Then the startup console is displayed:
After the system has booted you can logon with Username “root” (lower-case) and the Password “sap123”:
3 Install license
3.1 Get hardware key
The SAP Application server is not started automatically. Fist you have to start the “Gnome Terminal” to get a command-line. Please be aware that the keyboard layout is set to “German”. I’ve described how to change that to “English” in Chapter “5.2 Keyboard layout”.
There you can switch your user-id to using the command “su – n4sadm”.
According to the Documentation in the Readme we have to determine the Hardware Key of our system by submitting the command “/usr/sap/N4S/SYS/exe/run/saplicense -get”
Some minutes later you will receive a mail with the attached license-key text file.
3.2 Start-up the Application Server
To install the license we have to start-up the Application server. Do that using the command “startsap n4shost” after a while you will get the message, that the Instance was started:
If you encounter an error saying “Database is not running” during this process try the command “db2start” before you use “startsap n4shost”.
3.3 Prepare license file for import
Now you can minimize the Terminal window to see the desktop. To import the license we have to create an empty file on the desktop by a right-click:
Name the file “N4S.txt” as the attachment of you license key mail:
Double-click on the “N4S.txt” file on the virtual machines desktop to open it. Open the “N4S.txt” attached to you license key mail and copy the content to the clipboard. Paste the content into the editor:
Don’t forget to save the “N4S.txt” file.
3.4 Install license
Now double-click on the SAPGUI icon on the desktop.
Choose the N4S system from the list and start the connection by clicking on “Connect”:
Logon as user “sap*” with password “sapn4sadm”:
Start the transaction “SLICENSE”:
Click on the Button “New Licenses”:
Then click the import button:
Open the “Desktop” folder in the “Open” dialog:
Choose the “N4S.txt” file:
When you’ve done that you should get a sucess message:
That was the final step. Now logoff and logon as user “developer” with password “developer”.
4 Access the system
4.1 Java Stack
To access the Java Stack of the server you have to use a Web-Browser and access
. When you’ve just installed the license you first have to restart the application server by issuing the command “stopsap n4shost” and “startsap n4shost” from the command-line as user “n4shost”.
4.2 ABAP Stack
If you want to connect to the ABAP Stack from an external system you can use this settings for SAP GUI:
To lookup the IP address of the Application Server (Anwendungsserver) you can use the terminal window as user root and issue the “ifconfig”-command:
h3. 5 Troubeshooting
5.1 Proxy configuration
If you want to access the Internet from inside the virtual machine, you have to reconfigure the proxy settings. Unfortunately they are set for SAP internal use. So if you want to access your license key e-mail via the browser you have to change this settings. Start Firefox:
Click Edit > Preferences > Advanced Tab > Settings button. Choose ‘Direct connection to the internet’ if you’re using the virtual machine at home behind a NAT-router. In a corporate environment you have to ask your friendly network support guy’s to provide you the right configuration. Also you can look it up from your actual browser you use to read this blog.
5.2 Keyboard layout
Unfortunately they keyboard in the virtual machine is set to a german keyboard layout. To change this in the SuSE Linux Enterprise Server you have to use the YaST configuration tool:
Click on the Group “System”. There you will find the “Keyboard Layout”. You have to doubleclick to start the configuration.
From the “Layout”-list choose “U.S. English”. Click OK to apply this setting.
Then you have to confirm the setting by clicking “Save”
Please also notice the next message which indicates that you have to log-off / log-on to apply this settings