Code Monkey home page Code Monkey logo

sapnw752sp04's Introduction

Introduction

The openSUSE Leap 15.1 Vagrant box can be used to create a VirtualBox instance with Vagrant to install SAP NW AS ABAP 752 SP04 Developer Edition .

All recommended system preparations are done by packer and vagrant, as described at Installing ABAP AS on Oracle VirtualBox.

The pre-built Vagrant Box is now avaiable on HashiCorps Vagrant Cloud:

https://app.vagrantup.com/wechris

The Packer calls are no longer necessary. If you want to create your own Vagrant Box with Packer see the optional section below.

The Vagrantfile makes the following settings automatically:

  • uuidd.sh => installes and starts the UUIDD service
  • changetogerman.sh => changes the keyboard layout to german
  • gnome.sh => installes the Gnome Desktop, FireFox, VSCode, Chromium, Gnome-Terminal, GVim, Libreoffice, Nautilus Explorer, YAST2 and JAVA SAP Machine 11 + OpenJFX (to get ready to install SAPGUI JAVA)
  • sapinst.sh (+install_nw_expect) => installes the SAP NW AS ABAP 7.52 SP04 – Developer Edition is the installation files are avaiable in the ./sapint folder
  • autostart.sh => appends the appends the "Autostart = 1" to the DEFAULT.PFL profile file.

Prerequisites

On OS X VirtualBox and Vagrant, is available via Homebrew on Windows via Chocolatey.

OS X:

$ brew install virtualbox
$ brew install vagrant

optional:

$ brew install vagrant-manager

Usage

Clone the reporitory wechris/SAPNW752SP04.

Download and extract the TD752SP04.partXX.rar files to the folder: ./sapinst

The actual download (in the form of several .rar files), along with more information, is available here:

SAPStore: ABAP 7.52SP04

Search for “7.52 SP04” for convenience.

Download and uncompress all files to:

./sapinst/

without the folder: ./TD752SP04

sapinst

Vagrantfile

Only VirtualBox:

If the german keyboard is not desired, comment the following line in the Vagrantfile

# config.vm.provision "shell", path: "install/changetogerman.sh"

If the gnome desktop is not desired, comment the following line in the Vagrantfile

# config.vm.provision "shell", path: "install/gnome.sh"

If the autom. installation of the SAP Netweaver 7.52SP04 is not desired, comment the following line in the Vagrantfile

# config.vm.provision "shell", path: "install/sapinst.sh"

If the Autostart function is not desired, comment the following line in the Vagrantfile

# config.vm.provision "shell", path: "install/autostart.sh"

Disable the UI of VirtualBox, comment the following line in the Vagrantfile

# vb.gui = true

Vagrant start

vagrant up --provision --provider virtualbox

or with debug option for more details:

vagrant up --provision --provider virtualbox --debug 2>&1 | Tee-Object -FilePath ".\vagrant.log"

On Windows Powershell

vagrant up --provision --provider virtualbox &> vagrant.log

or with debug option for more details:

vagrant up --provision --provider virtualbox --debug &> vagrant.log

Wait until the vagrant command is finished. Then restart the instance with:

vagrant reload

The vagrant box SAPNetWeaver7.52SP04 comes up with the login screen of Gnome Desktop.

Now you can use the VirtualBox UI, if the UI option was activated:

Gnome login

Login

Logins:

  • vagrant/vagrant
  • root/vagrant
  • npladm/ pwd from install_nw_expect Default: Down1oad

or use SSH into a running Vagrant machine:

vagrant ssh

Start/Stop the VBox with:

vagrant up
vagrant halt

or with the virtualbox UI. (The /vagrant folder will not be avaiable without the vagrant command!) Oracle_VM_VirtualBox_Manager

Post and optional installation steps

SAPGUI JAVA installation

The folder `/vagrant/sapinst/client/JavaGUI/contains the installation files of SAPGUI JAVA: PlatinGUI750_5-80002496.JAR.

run:

java -jar PlatinGUI750_5-80002496.JAR

and follow the installation. Click on the New icon, fill the fields and enter the following connection on the panel Advanced:

conn=/H/127.0.0.1/S/3200

Open the new JavaGUIService:

SAGUI

Manual install of SAP NW AS ABAP 752 SP04 Developer Edition

The files and folder, on the same level as the vagrant file, will be available under /vagrant

sudo -i
<enter pwd Default: vagrant>
cd /vagrant/sapinst
./install.sh -s

Installation options:

  • ./install.sh – installs the Developer Edition in dark mode, the installer will configure the SAP system for usage of the physical hostname
  • ./install.sh -g– will present you a SAPINST GUI allowing you to modify certain system parameters
  • ./install.sh -h – allows you to specify your own hostname to be used by the SAP system
  • ./install.sh -s – allows you to skip the hostname check )

Read and accept the license agreement. When prompted for the OS users password enter your master password of the virtual Linux OS instance.

Start the SAP system:

  • Switch to user npladm in the console : su npladm
  • Start the SAP system : startsap ALL

SAPNetWeaver7_52SP04__Running

Additional informations, License key and first steps follow SAP NW AS ABAP 7.52 SP04 – Developer Edition to Download: Concise Installation Guide

Optional

The Packer template to build the openSUSE Leap 15.1 Vagrant box is available here

Packer

cd packer
cd openSUSE-15.1
$ packer build -only=virtualbox-iso template.json

And change the following line in the Vagrant file:

config.vm.box = "openSUSE-15.1"
config.vm.hostname = "vhcalnplci"
config.vm.box_url = "./packer/openSUSE-15.1/openSUSE-15.1-virtualbox.box"

#  config.vm.box = "wechris/OpenSUSE-15.1_sapnw752"
#  config.vm.hostname = "vhcalnplci"
#  config.vm.box_version = "1.0.0"

The Vagrant box will be loaded locally.

sapnw752sp04's People

Contributors

wechris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sapnw752sp04's Issues

No VBox Guest additions =>Unable to mount /vagrant in VirtualBox shared folders. SOLVED

Hello,

Brief:
There's an issue with the new wechris/OpenSUSE-15.1_sapnw752 Vagrant box that is not with the last version wechris/openSUSE-42.3 Vagrant box, and, in my opinion, is because the new box doesn't include the guest additions as default, as is shown in the output for the vagrant up command below.

History:
https://github.com/wechris/SAPNW752SP01 WORKS PERFECT IN THE SAME MACHINE/CONFIGURATION .

MACHINE/CONFIGURATION:

  • Toshiba SATELLITE P50-A-12Z - i7/4700MQ CPU/ 16GBytes RAM/500GBytes SSD
  • Windows 8.1
  • Gitbash from Git version 2.21.0.windows.1
  • Vagrant 2.2.5
  • VirtualBox 6.0.16
  • /vagrant is the mount point in Guest (Suse Linux)
  • C:/Users/tp50/.vagrant.d/boxes/SAPNW752SP04-master is the folder in w8.1 host where is the file Vagrantfile cloned from github repository

Output reporting errors:

THIS IS THE OUPUT IN Gitbash : >>

tp50@tp50a MINGW64 ~/.vagrant.d/boxes/SAPNW752SP04-master
$ vagrant up --provision --provider virtualbox
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'wechris/OpenSUSE-15.1_sapnw752' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: 1.0.0
==> default: Loading metadata for box 'wechris/OpenSUSE-15.1_sapnw752'
default: URL: https://vagrantcloud.com/wechris/OpenSUSE-15.1_sapnw752
==> default: Adding box 'wechris/OpenSUSE-15.1_sapnw752' (v1.0.0) for provider: virtualbox
default: Downloading: https://vagrantcloud.com/wechris/boxes/OpenSUSE-15.1_sapnw752/versions/1.0.0/providers/virtualbox.box
default: Download redirected to host: vagrantcloud-files-production.s3.amazonaws.com
default:
==> default: Successfully added box 'wechris/OpenSUSE-15.1_sapnw752' (v1.0.0) for 'virtualbox'!
==> default: Preparing master VM for linked clones...
default: This is a one time operation. Once the master VM is prepared,
default: it will be used as a base for linked clones, making the creation
default: of new VMs take milliseconds on a modern system.
==> default: Importing base box 'wechris/OpenSUSE-15.1_sapnw752'...
==> default: Cloning VM...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'wechris/OpenSUSE-15.1_sapnw752' version '1.0.0' is up to date...
==> default: Setting the name of the VM: SAPNetWeaver7.52SP04
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 8000 (guest) => 8000 (host) (adapter 1)
default: 44300 (guest) => 44300 (host) (adapter 1)
default: 3300 (guest) => 3300 (host) (adapter 1)
default: 3200 (guest) => 3200 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection reset. Retrying...
default: Warning: Connection aborted. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Connection reset. Retrying...
default: Warning: Connection aborted. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: No guest additions were detected on the base box for this VM! Guest
default: additions are required for forwarded ports, shared folders, host only
default: networking, and more. If SSH fails on this machine, please install
default: the guest additions and repackage the box to continue.
default:
default: This is not an error message; everything may continue to work properly,
default: in which case you may ignore this message.
==> default: Setting hostname...
==> default: Mounting shared folders...
default: /vagrant => C:/Users/tp50/.vagrant.d/boxes/SAPNW752SP04-master
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available.
This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:

mount -t vboxsf -o uid=1000,gid=100 vagrant /vagrant

The error output from the command was:

END OF THE OUPUT IN Gitbash : >>

Possible solution:
Review the last vagrant box SAPNW752SP01 to include in the new box SAPNW752SP04 the installation of VBox Guest additions by default.

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.