Oracle VM x86: Installing Oracle VM Manager (getting the installation media)

If you search for "oracle vm manager" on Oracle Edelivery you will get the following:
Downloading "Oracle VM Manager with Oracle Linux" will lead to two files with *.img. These files are no cd/dvd images. But you can find a solution here:

mount -t auto -o loop,offset=$((63*512)) System.img /mnt/System
But this leads to some files with oc4j containers. 

So DO NOT search for "Oracle (more...)

Oracle VM x86: Installing Oracle VM Manager

First check the hardware requirements:

After downloading the right image (please do not laugh, this is really a problem), inside a Oracle Linux the following steps have to be done:

mount /dev/cdrom /mnt
mount: /dev/sr0 is write-protected, mounting read-only
# ls /mnt/
components       oracle-validated.params  sample.yml  ovmm-installer.bsx        TRANS.TBL
First try:
[root@localhost ~]# /mnt/
Missing required package, Oracle VM Manager requires (more...)

Oracle database 18c: Installation via RPM

After the release of 18c i did a short dive into the "guide to new features" announced on

 And take a look, what can be found in "Database Overall -> Install, config, and patch":

RPM-based Database Installation
RPM-based Database Installation (RDI) enables an RPM-based installation of the Oracle Database software. Using the rpm-ivh command, an RPM-based database installation performs the preinstallation validations, extracts the packaged software, reassigns the ownership of the extracted (more...)

Oracle VM x86: Installation walkthrough / step by step for a node/server

Last week i tried to setup Oracle VM. For all who are interested, here a short walkthrough.
First the VirtualBox Setup: The VM which should contain the Oracle VM server:

Let's boot:

Next reboot:

 And here we go:

Ubuntu Kernel: Adding a new menuentry as default before menuentry ‘Ubuntu’ (grub)

After the problem with s2disk/hibernate on my Ubuntu 17.10 i wanted to change the grub boot menu:
I wanted to add my new default kernel at the beginning  - before the 'Ubuntu' menuentry.

Adding the menuentry inside /boot/grub/grub.cfg does not work, because after the first kernel update the command update-grub will overwrite all changes.

Easiest way:
Go to /etc/grub.d/ and move

mv 40_custom 09_custom
Inside 09_custom add your new menuentry (just copy (more...)

Oracle Database 18c released!

Today i discovered on --> database:

The downloads-page looks like the last weeks - 12c is the default...

... but the documentations tab lists 18c: shows the following:

So the "cloud first" strategy is still in place (by the way: is this something like "america first"?).

The installation procedure looks strange:
Starting with Oracle Database 18c, installation and configuration of Oracle Database software is simplified with image-based installation.

Firefox tab crashes by loading on ubuntu 16.04

On a ubuntu 16.04 system firefox crashes by loading

 The only way to fix this was going to "about:config":

On this page search for "webgl.disabled" and change the value from false
to true:

After that, loads without any problem...

Docker-Machine: how to create a docker vm on a remote virtualbox server

After doing some first steps with docker, i wanted to test docker-swarm. Because of the limited resources of my notebook, i was looking for a Linux with a minimal footprint. In the context of setting up VMs for docker-swarm i found a log of articles about doing that with the tool docker-machine.
It sounds like this tool can create VMs just with one command. (here the documentation).

So let's give it a try:
(You (more...)

Talking about Microservices: A journey to Docker / Snap / CoreOS / Unbuntu Core / Docker-Swarm

A few months ago (13th august 2017) i started my personal journey into this new hype called microservices:

I thought the best way for me to get in touch was to begin with CoreOS. Within 2 weeks i got some first impressions:

Ubuntu 17.10: s2disk/hibernate broken with kernel 4.13.0-32

Last week my notebook refused to startup after s2disk/hibernate. The resume process started up to 100% and then the screen went black and everything stopped...

First idea: Something disappeared inside the grub configuration.

But this was okay.

After nearly one hour my last try was booting an old kernel. And with
schroff@zerberus:/boot$ uname -a
Linux zerberus 4.13.0-17-generic #20-Ubuntu SMP Mon Nov 6 10:04:08 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
s2disk and resume worked again...

Bash: How to trim/truncate variables / get substrings

In a comment to one of the most useless commands postings was shown how to use the rev command to get the last component of  the path out of a log file:
cat log | grep pattern | rev | cut -d '/' -f 1 | rev
If you only have one variable filled with a path, you can get the last component very easy:
schroff@zerberus:~$ myvar=/ab/cd/ef/gh

schroff@zerberus:~$ echo ${myvar##*\/}

## removes the longest (more...)

Java 9: JDK without subfolder JRE

In older JDK releases the directory structure was:
With JEP 220 the jre folder was removed.

A JDK image no longer contains a jre subdirectory, as noted above. Existing code that assumes the existence of that directory might not work correctly.
But this does not mean that there is no JRE any more. You can still download the JRE. There are some minor changes to the JRE like:
The bin (more...)

Oracle SOA Suite 12c: Configuring the SOA Suite Weblogic Server

 i had to run the
inside the home/oracle/Oracle/Middleware/Oracle_Home/oracle_common/common/bin

And then after a
inside /bin in the directory, which was configured in the first screenshot of the, i can open the console:

Oracle SOA Suite: Installing the Fusion Middleware SOA Suite

After the installation of the Fusion Middleware Infrastructur the next step is to install the SOA Suite software.

The software can be found here:

The first try failed with this error:

java -d64 -jar fmw_12.
Launcher-Logdatei ist /tmp/OraInstall2017-10-07_11-47-20PM/launcher2017-10-07_11-47-20PM.log.
Nicht genügend freier Speicherplatz in /tmp/orcl3797124329273264119.tmp, um das Installationsprogramm zu extrahieren. Aktuell 2796 MB. Erforderlich 3532 MB.
Ok. Some cleanups inside /tmp and then:

Next step: Run the to create a SOA Suite Server....

Docker-CE: How to modify containers with overlays / How to add directories to a standard docker image

After some experiments with docker i wanted to run a tomcat with my own configuration (e.g. memory settings, ports, ...).

The first guess is: Download tomcat, configure everything and then build an image.
BUT: After i learned how to use the -v (--volume) flag for adding some file via the docker command to an image i was wondering, wether creating a new image with only the additional files on top of standard (more...)

Ubuntu Intel Spectre/Meltdown update

One week after the rumors about Spectre and Meltdown (s. Project Zero Blog) my Ubuntu 17.10 got the Intel microcode patch:

root@zerberus:~# apt-get upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.      
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  linux-headers-4.13.0-17 linux-headers-4.13.0-17-generic
  linux-image-4.13.0-17-generic linux-image-extra-4.13.0-17-generic
Verwenden Sie »apt autoremove«, um sie zu (more...)

Oracle SOA Suite: Installating the Fusion Middleware Infrastructure

After setting up the database (installation, instance setup) and the SOA Suite repository (via rcu) the next step is to install the Oracle Weblogic Infrastructure.

The software can be downloaded here:

(You have to choose "Fusion Middleware Infrastructure Installer)

The unzip the downloaded zip:
and run it: 
java -d64 -jar fmw_12.
Because the Oracle documentation does not contain pictures of the installer, here the screenshots:

Next step is to run the to configure the Application server domain.