Coder Social home page Coder Social logo

sap-abap-nw-752-ubuntu-docker's Introduction

Docker image for SAP Netweaver 7.52 trial based on Ubuntu

If you noticed problems when installing SAP NW 7.52 trial using the regular approach on Vmware/Virtualbox/Docker, try this one. It has fixes taken from various sources, ๐Ÿบ to the authors!

Installation

Tested on Win10 machine with Docker Desktop and Rancher Desktop (dockerd runtime), both with WSL integration.

.
โ”œโ”€โ”€ Dockerfile
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ sapinst
โ”‚ย ย  โ”œโ”€โ”€ License
โ”‚ย ย  โ”œโ”€โ”€ SAP_COMMUNITY_DEVELOPER_License
โ”‚ย ย  โ”œโ”€โ”€ client
โ”‚ย ย  โ”œโ”€โ”€ img
โ”‚ย ย  โ”œโ”€โ”€ info.txt
โ”‚ย ย  โ”œโ”€โ”€ install.sh
โ”‚ย ย  โ”œโ”€โ”€ readme.html
โ”‚ย ย  โ””โ”€โ”€ server
โ””โ”€โ”€ zinstall.sh

At the moment (03.06.2022) the downloaded license extracts to License folder; if it is different during your installation then rename it accordingly

Execute from the command line:

wsl.exe -d docker-desktop sh -c "sysctl -w vm.max_map_count=1000000"
# or
wsl.exe -d rancher-desktop sh -c "sysctl -w vm.max_map_count=1000000"

Hint: for Docker - check whether the disk size limit in the Docker configuration is setup to at least 120 Gb.

Build the image:

docker build -t nwabap752:1.0.0 .

Create the container:

docker run -p 8000:8000 -p 44300:44300 -p 3300:3300 -p 3200:3200 -h vhcalnplci --name nwabap752 -it nwabap752:1.0.0 /bin/bash

Now in the container shell, start the installation via zinstall.sh and follow the usual process - accept the license, provide a 8-letters password with a digit and uppercase, like `Down1oad'.

root@vhcalnplci:/tmp/sapinst# ./zinstall.sh

Successful installation finishes with:

starting SAP Instance D00
Startup-Log is written to /home/npladm/startsap_D00.log
-------------------------------------------
/usr/sap/NPL/D00/exe/sapcontrol -prot NI_HTTP -nr 00 -function Start
Instance on host vhcalnplci started
Installation of NPL successful

Now start the uuidd and you can logon to the instance using the standard DEVELOPER/Down1oad.

root@vhcalnplci:/# /usr/sbin/uuidd

Application server: "localhost"
Instance number: "00"
System ID: "NPL"

Stopping the instance (make sure to be in npladm, otherwise the terminal will not recognize 'stopsap' command):

su - npladm
stopsap ALL

Exit the container using exit.

Accessing the container and starting the instance next time:

docker start nwabap752 -i
/usr/sbin/uuidd
su - npladm
startsap ALL

Exit the container by exit (twice). When you exit the container it is automatically shutdown, so be sure to stop SAP before that.

Developer key

In case you can't create any object because of developer key, request and install new license:

More info about users etc.: https://blogs.sap.com/2019/10/01/as-abap-7.52-sp04-developer-edition-concise-installation-guide/

sap-abap-nw-752-ubuntu-docker's People

Contributors

rcaziraghi avatar wozjac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

rcaziraghi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.