Hi!
This post is a guide to install 'ABAP Platform Developer Edition 1909' from a VMWare virtual machine and using the LINUX SUSE distribution.
Linux Shout published a tutorial about installing AlmaLinux 8 image in Docker Container. How to install AlmaLinux 8 Image in Docker Container. Download and run AlmaLinux 8 on Docker Container by pulling its latest image from Docker Hub on any Cloud server, Linux, Windows, or macOS. Linux Shout published a tutorial about installing and setup a Docker container on AlmaLinux 8. How to install and setup Docker Container on AlmaLinux 8. Tutorial to learn the steps on how to install Docker on AlmaLinux 8 server to create container virtual machines on its latest version.
System
- 4 CPUs
- 16GB RAM
- 150GB Disk
Install Docker Compose Suse
Tools
- VMWare: https://www.vmware.com/es/products/workstation-player.html
- Docker Hub account: https://www.docker.com/
- SUSE image: https://www.suse.com/es-es/download/ in my case, https://software.opensuse.org/distributions/leap?locale=es
We access the VMWare program and go to the option 'Create a new virtual machine'
We select the Linux image that we have downloaded, in my case SUSE
Add name to the virtual machine (free choice)
150 GB of free disk is recommended for installation, so we can 160BG to give something to the operating system
In the next step, click on the 'Customize Hardware' option to modify the specifications of the machine, these will be the parameters:
Finally we press 'Finish' to start the installation.
Installing SUSE
Once the configuration is finished, the SUSE installation will start automatically, the first screen that will appear we will press 'Installation':
We accept the license and configure the keyboard language:
When pressing 'Next' it will ask us if we want to additionally install YaST2, we will mark 'yes':
The next step is the configuration of online repositories, in this we will mark the following options and click on next:
When the next step appears we select the option: 'Desktop with GNOME'
We are pressing 'Next' until the following screen appears
Click on 'Guided Setup', and add these settings:
- In the first screen we do not select anything, only 'Next'
- In 'File System Type' we select 'Ext4' and 'Next'
After pressing Next we will return to the 'Suggested partitions' screen and we will press Next, we configure the location:
Next step configure our user, we add our name, the user name that we want, and a password:
In the step 'Installation Settings' we have to look at these options:
Click 'Install' to start the installation, again we need some patience to finish the installation:
Setup Linux
We are going to configure the IP to have a fixed reference. To do this, we go to network settings:
Facebook messenger macos. Click on options in the active connection:
We add the manual method in the IPv4 option, adding this data, or similar ones according to your local network configuration. This will allow us to always use the same IP. Make sure that this IP is not assigned to another device connected to your router
We are going to configure the localhost files, for this we execute the following commands:
Where we add the name: vhcala4hci and press Ctrl + O to save and Ctrl + X to exit the editor.
And this second command:
We will add the following entry:
With the IP that we have configured by default and press Ctrl + O to save and Ctrl + X to exit the editor.
To install Docker it is as easy as running the following commands:
And we can start the service with:
If we also want Docker to start when starting the virtual machine, we can execute:
As you can see, we have everything ready to install our S4Hana developer edition
Downloading the Docker image
The first thing is to login to the docker server, this is because the image that we are going to use is not available in public mode, but we can only download it in private mode at € 0.0.
We can proceed with the download with the command:
Once finished we will see the following message:
Before starting the container, we will add some extra configurations, executing:
Once finished we execute the following command to start the container on the host vhcala4hci, we will also use the -p parameter to allow access to the indicated ports from outside the virtual machine:
We will see how the services are activated. Finally we will see this message indicating that we can now use our new SAP.
These are the data, remember that the IP will depend on the configuration made according to your IP:
And we can now access. The user to access is: DEVELOPER with password Ldtf5432
Enjoy it!
Prerequisites¶
Make sure you have the following software ready before starting the installation:
- Git client:
sudoapt-getinstallgit
- Python 2.7, which is installed by default in most systems
- Pip version 1.1:
sudoapt-getinstallpython-pip
Installation¶
Let me explain what's going on there:
- First we use
git
to downloadw3af
's source code - Then we try to run the
w3af_console
command, which will most likely failbecause of missing dependencies. This command will generate a helper scriptat/tmp/w3af_dependency_install.sh
that when run will install all therequired dependencies. - Dependencies are installed by running
/tmp/w3af_dependency_install.sh
The framework dependencies don't change too often, but don't be alarmed if afterupdating your installation w3af
requires you to install new dependencies.
Supported platforms¶
The framework should work on all Python supported platforms and has been testedin various Linux distributions, Mac OSX, FreeBSD and OpenBSD.
Note
The platform used for development is Ubuntu 14.04 and running our continuous integration testsis Ubuntu 12.04 LTS.
Warning
While in theory you can install w3af in Microsoft Windows, we don't recommendnor support that installation process.
One of the ugly details users can find is that w3af
needs to detect theOperating System / Linux distribution, and then have support for creating the/tmp/w3af_dependency_install.sh
for that specific combination. In other words,for Ubuntu we use apt-getinstall
and for Suse we use yuminstall
.
The list of distributions w3af
knows how to generate the installation scriptfor is extensive .If we don't support your distribution, we'll default to Ubuntu.
Installation in Kali¶
The easiest way to install w3af
in Kali is:
This will install the latest packaged version, which might not be the latestavailable from our repositories. If the latest version is needed these stepsare recommended:
This will install the latest w3af
at ~/w3af/w3af_console
and leave thepackaged version un-touched.
Note
cd~/w3af/;./w3af_console
will run the latest versionw3af_console
will run the one packaged in Kali
Installing using Docker¶
Docker is awesome, it allows users to run w3af
without installing any of it's dependencies. The only pre-requisite is toinstall docker , which is widelysupported.
Once the docker installation is running these steps will yield a runningw3af
console:
For advanced usage of w3af
's docker container please read the documentationat the docker registry hub
Installation in Mac OSX¶
Mojave hackintosh iso. In order to start the process, you need XCode and MacPorts installed.
Those commands should allow you to run ./w3af_console
again without any issues,in order to run the GUI a new dependency set is required:
Troubleshooting¶
After running the helper script w3af still says I have missing python dependencies, what should I do?¶
You will recognize this when this message appears: 'Your python installationneeds the following modules to run w3af'.
First you'll want to check that all the dependencies are installed. To do thatjust follow these steps:
Replace futures
with the library that is missing in your system. If thepipfreeze|grepfutures
command returns an empty result, you'll need toinstall the dependency using the /tmp/w3af_dependency_install.sh
command.Pay special attention to the output of that command, if installation failsyou won't be able to run w3af
.
It is important to notice that w3af
requires specific versions of thethird-party libraries. The specific versions required at /tmp/w3af_dependency_install.sh
need to match the ones you see in the output of pipfreeze
. If the versionsdon't match you can always install a specific version usingpipinstall--upgradefutures2.1.5
.
w3af still says I have missing operating system dependencies, what should I do?¶
You will recognize this when this message appears: 'please install the followingoperating system packages'.
Most likely you're using a Linux distribution that w3af
doesn't know how todetect. This doesn't mean that w3af won't work with your distribution! It justmeans that our helper tool doesn't know how to create the/tmp/w3af_dependency_install.sh
script for you.
What you need to do is:
- Find a match between the Ubuntu package name given in the list and the one
for your distribution* Install it* Run ./w3af_console
again. Repeat until fixed
Please create a ticketexplaining the packages you installed, your distribution, etc. and we'll addthe code necessary for others to be able to install w3af
without goingthrough any manual steps.
Install Docker Suse Linux
How do I ask for support on installation issues?¶
Tools
- VMWare: https://www.vmware.com/es/products/workstation-player.html
- Docker Hub account: https://www.docker.com/
- SUSE image: https://www.suse.com/es-es/download/ in my case, https://software.opensuse.org/distributions/leap?locale=es
We access the VMWare program and go to the option 'Create a new virtual machine'
We select the Linux image that we have downloaded, in my case SUSE
Add name to the virtual machine (free choice)
150 GB of free disk is recommended for installation, so we can 160BG to give something to the operating system
In the next step, click on the 'Customize Hardware' option to modify the specifications of the machine, these will be the parameters:
Finally we press 'Finish' to start the installation.
Installing SUSE
Once the configuration is finished, the SUSE installation will start automatically, the first screen that will appear we will press 'Installation':
We accept the license and configure the keyboard language:
When pressing 'Next' it will ask us if we want to additionally install YaST2, we will mark 'yes':
The next step is the configuration of online repositories, in this we will mark the following options and click on next:
When the next step appears we select the option: 'Desktop with GNOME'
We are pressing 'Next' until the following screen appears
Click on 'Guided Setup', and add these settings:
- In the first screen we do not select anything, only 'Next'
- In 'File System Type' we select 'Ext4' and 'Next'
After pressing Next we will return to the 'Suggested partitions' screen and we will press Next, we configure the location:
Next step configure our user, we add our name, the user name that we want, and a password:
In the step 'Installation Settings' we have to look at these options:
Click 'Install' to start the installation, again we need some patience to finish the installation:
Setup Linux
We are going to configure the IP to have a fixed reference. To do this, we go to network settings:
Facebook messenger macos. Click on options in the active connection:
We add the manual method in the IPv4 option, adding this data, or similar ones according to your local network configuration. This will allow us to always use the same IP. Make sure that this IP is not assigned to another device connected to your router
We are going to configure the localhost files, for this we execute the following commands:
Where we add the name: vhcala4hci and press Ctrl + O to save and Ctrl + X to exit the editor.
And this second command:
We will add the following entry:
With the IP that we have configured by default and press Ctrl + O to save and Ctrl + X to exit the editor.
To install Docker it is as easy as running the following commands:
And we can start the service with:
If we also want Docker to start when starting the virtual machine, we can execute:
As you can see, we have everything ready to install our S4Hana developer edition
Downloading the Docker image
The first thing is to login to the docker server, this is because the image that we are going to use is not available in public mode, but we can only download it in private mode at € 0.0.
We can proceed with the download with the command:
Once finished we will see the following message:
Before starting the container, we will add some extra configurations, executing:
Once finished we execute the following command to start the container on the host vhcala4hci, we will also use the -p parameter to allow access to the indicated ports from outside the virtual machine:
We will see how the services are activated. Finally we will see this message indicating that we can now use our new SAP.
These are the data, remember that the IP will depend on the configuration made according to your IP:
And we can now access. The user to access is: DEVELOPER with password Ldtf5432
Enjoy it!
Prerequisites¶
Make sure you have the following software ready before starting the installation:
- Git client:
sudoapt-getinstallgit
- Python 2.7, which is installed by default in most systems
- Pip version 1.1:
sudoapt-getinstallpython-pip
Installation¶
Let me explain what's going on there:
- First we use
git
to downloadw3af
's source code - Then we try to run the
w3af_console
command, which will most likely failbecause of missing dependencies. This command will generate a helper scriptat/tmp/w3af_dependency_install.sh
that when run will install all therequired dependencies. - Dependencies are installed by running
/tmp/w3af_dependency_install.sh
The framework dependencies don't change too often, but don't be alarmed if afterupdating your installation w3af
requires you to install new dependencies.
Supported platforms¶
The framework should work on all Python supported platforms and has been testedin various Linux distributions, Mac OSX, FreeBSD and OpenBSD.
Note
The platform used for development is Ubuntu 14.04 and running our continuous integration testsis Ubuntu 12.04 LTS.
Warning
While in theory you can install w3af in Microsoft Windows, we don't recommendnor support that installation process.
One of the ugly details users can find is that w3af
needs to detect theOperating System / Linux distribution, and then have support for creating the/tmp/w3af_dependency_install.sh
for that specific combination. In other words,for Ubuntu we use apt-getinstall
and for Suse we use yuminstall
.
The list of distributions w3af
knows how to generate the installation scriptfor is extensive .If we don't support your distribution, we'll default to Ubuntu.
Installation in Kali¶
The easiest way to install w3af
in Kali is:
This will install the latest packaged version, which might not be the latestavailable from our repositories. If the latest version is needed these stepsare recommended:
This will install the latest w3af
at ~/w3af/w3af_console
and leave thepackaged version un-touched.
Note
cd~/w3af/;./w3af_console
will run the latest versionw3af_console
will run the one packaged in Kali
Installing using Docker¶
Docker is awesome, it allows users to run w3af
without installing any of it's dependencies. The only pre-requisite is toinstall docker , which is widelysupported.
Once the docker installation is running these steps will yield a runningw3af
console:
For advanced usage of w3af
's docker container please read the documentationat the docker registry hub
Installation in Mac OSX¶
Mojave hackintosh iso. In order to start the process, you need XCode and MacPorts installed.
Those commands should allow you to run ./w3af_console
again without any issues,in order to run the GUI a new dependency set is required:
Troubleshooting¶
After running the helper script w3af still says I have missing python dependencies, what should I do?¶
You will recognize this when this message appears: 'Your python installationneeds the following modules to run w3af'.
First you'll want to check that all the dependencies are installed. To do thatjust follow these steps:
Replace futures
with the library that is missing in your system. If thepipfreeze|grepfutures
command returns an empty result, you'll need toinstall the dependency using the /tmp/w3af_dependency_install.sh
command.Pay special attention to the output of that command, if installation failsyou won't be able to run w3af
.
It is important to notice that w3af
requires specific versions of thethird-party libraries. The specific versions required at /tmp/w3af_dependency_install.sh
need to match the ones you see in the output of pipfreeze
. If the versionsdon't match you can always install a specific version usingpipinstall--upgradefutures2.1.5
.
w3af still says I have missing operating system dependencies, what should I do?¶
You will recognize this when this message appears: 'please install the followingoperating system packages'.
Most likely you're using a Linux distribution that w3af
doesn't know how todetect. This doesn't mean that w3af won't work with your distribution! It justmeans that our helper tool doesn't know how to create the/tmp/w3af_dependency_install.sh
script for you.
What you need to do is:
- Find a match between the Ubuntu package name given in the list and the one
for your distribution* Install it* Run ./w3af_console
again. Repeat until fixed
Please create a ticketexplaining the packages you installed, your distribution, etc. and we'll addthe code necessary for others to be able to install w3af
without goingthrough any manual steps.
Install Docker Suse Linux
How do I ask for support on installation issues?¶
You can create a ticketcontaining the following information:
Install Docker On Suse
- Your linux distribution (usually the contents of
/etc/lsb-release
will be enough) - The contents of the
/tmp/w3af_dependency_install.sh
file - The output of
pipfreeze
- The output of
python--version