Dietrich Schroff

Subscribe to Dietrich Schroff feed
Dietrich Schroffhttps://plus.google.com/101232877473830670008noreply@blogger.comBlogger359125
Updated: 8 hours 22 min ago

JDK 9.0 released! (but java.net is gone)

Wed, 2017-10-04 14:26
Some week ago, i downloaded jdk 9 via java.net. But this page in not available anymore:
After some searching i found the download page for the jdk: http://jdk.java.net/9/  (so java.net is not really closed...). But it is easier to download them from the official Oracle website:
http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html#javasejdk


$java -version
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)The release note can be found here.

There you can find interesting things like:
The command line flags that were removed are:

  • -Xincgc
  • -XX:+CMSIncrementalMode
  • -XX:+UseCMSCompactAtFullCollection
  • -XX:+CMSFullGCsBeforeCompaction
  • -XX:+UseCMSCollectionPassing
or
JEP 291: Deprecate the Concurrent Mark Sweep (CMS) Garbage Collector
Deprecates the Concurrent Mark Sweep (CMS) garbage collector. A warning message is issued when it is requested on the command line, using the -XX:+UseConcMarkSweepGC option. The Garbage-First (G1) garbage collector is intended to be a replacement for most uses of CMS. My favourite is:
JEP 222: jshell: The Java Shell (Read-Eval-Print Loop)
Adds Read-Eval-Print Loop (REPL) functionality to the Java platform.
The jshell tool provides an interactive command-line interface for evaluating declarations, statements, and expressions of the Java programming language. It facilitates prototyping and exploration of coding options with immediate results and feedback. The immediate feedback combined with the ability to start with expressions is useful for education—whether learning the Java language or just learning a new API or language feature.(See my posting jshell and swing, jshell and scripts and jshell built-in commands

Oracle 18c: self-driving, self-scaling, self-repairing AND documentation-free (?)

Tue, 2017-10-03 04:24
Yesterday Larry Ellison announced Oracle 18c:
After 12c now 18c?
Why 18 and not another number greater 12?
Inside a whitepaper released with the announcment the version 18c is not named at all.

The whitepaper just contains some high level information about the autonomous database:

and some licensing information:
But no real information about this new database 18c.
If this new database works like promised:
Fully automated patching, upgrades, backups, and availability architecture perform all routine database maintenance tasks—without the need for human intervention.then there is no need for documentation at all...

Oracle DB 12.2 on Oracle Linux: Preinstallation tasks and Installation

Mon, 2017-10-02 14:13
If your decision was to use Oracle Linux as OS for your Oracle DB the preinstallation tasks are quite easy (an installation of Oracle Linux inside virtualbox is shown in this postings: virtualbox settings, linux installation, guest additions):

Just install the package oracle-database-server-12cR2-preinstall:
[root@localhost database]# yum install oracle-database-server-12cR2-preinstall
Geladene Plugins: ulninfo
Abhängigkeiten werden aufgelöst
--> Transaktionsprüfung wird ausgeführt
---> Paket oracle-database-server-12cR2-preinstall.x86_64 0:1.0-3.el7 markiert, um installiert zu werden
--> Abhängigkeit sysstat wird für Paket oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64 verarbeitet
--> Abhängigkeit xorg-x11-utils wird für Paket oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64 verarbeitet
--> Abhängigkeit bind-utils wird für Paket oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64 verarbeitet
--> Abhängigkeit compat-libcap1 wird für Paket oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64 verarbeitet
--> Abhängigkeit ksh wird für Paket oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64 verarbeitet
--> Abhängigkeit libaio-devel wird für Paket oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64 verarbeitet
--> Abhängigkeit xorg-x11-xauth wird für Paket oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64 verarbeitet
--> Abhängigkeit psmisc wird für Paket oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64 verarbeitet
--> Abhängigkeit unzip wird für Paket oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64 verarbeitet
--> Abhängigkeit compat-libstdc++-33 wird für Paket oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64 verarbeitet
--> Abhängigkeit libstdc++-devel wird für Paket oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64 verarbeitet
--> Abhängigkeit nfs-utils wird für Paket oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64 verarbeitet
--> Abhängigkeit smartmontools wird für Paket oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64 verarbeitet
--> Transaktionsprüfung wird ausgeführt
---> Paket bind-utils.x86_64 32:9.9.4-51.el7 markiert, um installiert zu werden
--> Abhängigkeit bind-libs = 32:9.9.4-51.el7 wird für Paket 32:bind-utils-9.9.4-51.el7.x86_64 verarbeitet
--> Abhängigkeit libisccc.so.90()(64bit) wird für Paket 32:bind-utils-9.9.4-51.el7.x86_64 verarbeitet
--> Abhängigkeit liblwres.so.90()(64bit) wird für Paket 32:bind-utils-9.9.4-51.el7.x86_64 verarbeitet
--> Abhängigkeit libbind9.so.90()(64bit) wird für Paket 32:bind-utils-9.9.4-51.el7.x86_64 verarbeitet
--> Abhängigkeit libisc.so.95()(64bit) wird für Paket 32:bind-utils-9.9.4-51.el7.x86_64 verarbeitet
--> Abhängigkeit libdns.so.100()(64bit) wird für Paket 32:bind-utils-9.9.4-51.el7.x86_64 verarbeitet
--> Abhängigkeit libisccfg.so.90()(64bit) wird für Paket 32:bind-utils-9.9.4-51.el7.x86_64 verarbeitet
---> Paket compat-libcap1.x86_64 0:1.10-7.el7 markiert, um installiert zu werden
---> Paket compat-libstdc++-33.x86_64 0:3.2.3-72.el7 markiert, um installiert zu werden
---> Paket ksh.x86_64 0:20120801-34.el7 markiert, um installiert zu werden
---> Paket libaio-devel.x86_64 0:0.3.109-13.el7 markiert, um installiert zu werden
---> Paket libstdc++-devel.x86_64 0:4.8.5-16.el7 markiert, um installiert zu werden
---> Paket nfs-utils.x86_64 1:1.3.0-0.48.0.1.el7 markiert, um installiert zu werden
--> Abhängigkeit gssproxy >= 0.7.0-3 wird für Paket 1:nfs-utils-1.3.0-0.48.0.1.el7.x86_64 verarbeitet
--> Abhängigkeit libtirpc >= 0.2.4-0.7 wird für Paket 1:nfs-utils-1.3.0-0.48.0.1.el7.x86_64 verarbeitet
--> Abhängigkeit rpcbind wird für Paket 1:nfs-utils-1.3.0-0.48.0.1.el7.x86_64 verarbeitet
--> Abhängigkeit keyutils wird für Paket 1:nfs-utils-1.3.0-0.48.0.1.el7.x86_64 verarbeitet
--> Abhängigkeit quota wird für Paket 1:nfs-utils-1.3.0-0.48.0.1.el7.x86_64 verarbeitet
--> Abhängigkeit libevent wird für Paket 1:nfs-utils-1.3.0-0.48.0.1.el7.x86_64 verarbeitet
--> Abhängigkeit libnfsidmap wird für Paket 1:nfs-utils-1.3.0-0.48.0.1.el7.x86_64 verarbeitet
--> Abhängigkeit libevent-2.0.so.5()(64bit) wird für Paket 1:nfs-utils-1.3.0-0.48.0.1.el7.x86_64 verarbeitet
--> Abhängigkeit libtirpc.so.1()(64bit) wird für Paket 1:nfs-utils-1.3.0-0.48.0.1.el7.x86_64 verarbeitet
--> Abhängigkeit libnfsidmap.so.0()(64bit) wird für Paket 1:nfs-utils-1.3.0-0.48.0.1.el7.x86_64 verarbeitet
---> Paket psmisc.x86_64 0:22.20-15.el7 markiert, um installiert zu werden
---> Paket smartmontools.x86_64 1:6.2-8.el7 markiert, um installiert zu werden
--> Abhängigkeit mailx wird für Paket 1:smartmontools-6.2-8.el7.x86_64 verarbeitet
---> Paket sysstat.x86_64 0:10.1.5-12.el7 markiert, um installiert zu werden
--> Abhängigkeit libsensors.so.4()(64bit) wird für Paket sysstat-10.1.5-12.el7.x86_64 verarbeitet
---> Paket unzip.x86_64 0:6.0-16.el7 markiert, um installiert zu werden
---> Paket xorg-x11-utils.x86_64 0:7.5-22.el7 markiert, um installiert zu werden
--> Abhängigkeit libXext.so.6()(64bit) wird für Paket xorg-x11-utils-7.5-22.el7.x86_64 verarbeitet
--> Abhängigkeit libXv.so.1()(64bit) wird für Paket xorg-x11-utils-7.5-22.el7.x86_64 verarbeitet
--> Abhängigkeit libXtst.so.6()(64bit) wird für Paket xorg-x11-utils-7.5-22.el7.x86_64 verarbeitet
--> Abhängigkeit libXrender.so.1()(64bit) wird für Paket xorg-x11-utils-7.5-22.el7.x86_64 verarbeitet
--> Abhängigkeit libXxf86vm.so.1()(64bit) wird für Paket xorg-x11-utils-7.5-22.el7.x86_64 verarbeitet
--> Abhängigkeit libXxf86misc.so.1()(64bit) wird für Paket xorg-x11-utils-7.5-22.el7.x86_64 verarbeitet
--> Abhängigkeit libX11-xcb.so.1()(64bit) wird für Paket xorg-x11-utils-7.5-22.el7.x86_64 verarbeitet
--> Abhängigkeit libXrandr.so.2()(64bit) wird für Paket xorg-x11-utils-7.5-22.el7.x86_64 verarbeitet
--> Abhängigkeit libdmx.so.1()(64bit) wird für Paket xorg-x11-utils-7.5-22.el7.x86_64 verarbeitet
--> Abhängigkeit libXinerama.so.1()(64bit) wird für Paket xorg-x11-utils-7.5-22.el7.x86_64 verarbeitet
--> Abhängigkeit libX11.so.6()(64bit) wird für Paket xorg-x11-utils-7.5-22.el7.x86_64 verarbeitet
--> Abhängigkeit libXxf86dga.so.1()(64bit) wird für Paket xorg-x11-utils-7.5-22.el7.x86_64 verarbeitet
--> Abhängigkeit libxcb.so.1()(64bit) wird für Paket xorg-x11-utils-7.5-22.el7.x86_64 verarbeitet
--> Abhängigkeit libxcb-shape.so.0()(64bit) wird für Paket xorg-x11-utils-7.5-22.el7.x86_64 verarbeitet
--> Abhängigkeit libXi.so.6()(64bit) wird für Paket xorg-x11-utils-7.5-22.el7.x86_64 verarbeitet
---> Paket xorg-x11-xauth.x86_64 1:1.0.9-1.el7 markiert, um installiert zu werden
--> Abhängigkeit libXau.so.6()(64bit) wird für Paket 1:xorg-x11-xauth-1.0.9-1.el7.x86_64 verarbeitet
--> Abhängigkeit libXmuu.so.1()(64bit) wird für Paket 1:xorg-x11-xauth-1.0.9-1.el7.x86_64 verarbeitet
--> Transaktionsprüfung wird ausgeführt
---> Paket bind-libs.x86_64 32:9.9.4-51.el7 markiert, um installiert zu werden
--> Abhängigkeit bind-license = 32:9.9.4-51.el7 wird für Paket 32:bind-libs-9.9.4-51.el7.x86_64 verarbeitet
---> Paket gssproxy.x86_64 0:0.7.0-4.el7 markiert, um installiert zu werden
--> Abhängigkeit libref_array.so.1(REF_ARRAY_0.1.1)(64bit) wird für Paket gssproxy-0.7.0-4.el7.x86_64 verarbeitet
--> Abhängigkeit libini_config.so.3(INI_CONFIG_1.1.0)(64bit) wird für Paket gssproxy-0.7.0-4.el7.x86_64 verarbeitet
--> Abhängigkeit libini_config.so.3(INI_CONFIG_1.2.0)(64bit) wird für Paket gssproxy-0.7.0-4.el7.x86_64 verarbeitet
--> Abhängigkeit libverto-module-base wird für Paket gssproxy-0.7.0-4.el7.x86_64 verarbeitet
--> Abhängigkeit libini_config.so.3()(64bit) wird für Paket gssproxy-0.7.0-4.el7.x86_64 verarbeitet
--> Abhängigkeit libbasicobjects.so.0()(64bit) wird für Paket gssproxy-0.7.0-4.el7.x86_64 verarbeitet
--> Abhängigkeit libref_array.so.1()(64bit) wird für Paket gssproxy-0.7.0-4.el7.x86_64 verarbeitet
--> Abhängigkeit libcollection.so.2()(64bit) wird für Paket gssproxy-0.7.0-4.el7.x86_64 verarbeitet
---> Paket keyutils.x86_64 0:1.5.8-3.el7 markiert, um installiert zu werden
---> Paket libX11.x86_64 0:1.6.5-1.el7 markiert, um installiert zu werden
--> Abhängigkeit libX11-common >= 1.6.5-1.el7 wird für Paket libX11-1.6.5-1.el7.x86_64 verarbeitet
---> Paket libXau.x86_64 0:1.0.8-2.1.el7 markiert, um installiert zu werden
---> Paket libXext.x86_64 0:1.3.3-3.el7 markiert, um installiert zu werden
---> Paket libXi.x86_64 0:1.7.9-1.el7 markiert, um installiert zu werden
---> Paket libXinerama.x86_64 0:1.1.3-2.1.el7 markiert, um installiert zu werden
---> Paket libXmu.x86_64 0:1.1.2-2.el7 markiert, um installiert zu werden
--> Abhängigkeit libXt.so.6()(64bit) wird für Paket libXmu-1.1.2-2.el7.x86_64 verarbeitet
---> Paket libXrandr.x86_64 0:1.5.1-2.el7 markiert, um installiert zu werden
---> Paket libXrender.x86_64 0:0.9.10-1.el7 markiert, um installiert zu werden
---> Paket libXtst.x86_64 0:1.2.3-1.el7 markiert, um installiert zu werden
---> Paket libXv.x86_64 0:1.0.11-1.el7 markiert, um installiert zu werden
---> Paket libXxf86dga.x86_64 0:1.1.4-2.1.el7 markiert, um installiert zu werden
---> Paket libXxf86misc.x86_64 0:1.0.3-7.1.el7 markiert, um installiert zu werden
---> Paket libXxf86vm.x86_64 0:1.1.4-1.el7 markiert, um installiert zu werden
---> Paket libdmx.x86_64 0:1.1.3-3.el7 markiert, um installiert zu werden
---> Paket libevent.x86_64 0:2.0.21-4.el7 markiert, um installiert zu werden
---> Paket libnfsidmap.x86_64 0:0.25-17.el7 markiert, um installiert zu werden
---> Paket libtirpc.x86_64 0:0.2.4-0.10.el7 markiert, um installiert zu werden
---> Paket libxcb.x86_64 0:1.12-1.el7 markiert, um installiert zu werden
---> Paket lm_sensors-libs.x86_64 0:3.4.0-4.20160601gitf9185e5.el7 markiert, um installiert zu werden
---> Paket mailx.x86_64 0:12.5-16.el7 markiert, um installiert zu werden
---> Paket quota.x86_64 1:4.01-14.el7 markiert, um installiert zu werden
--> Abhängigkeit quota-nls = 1:4.01-14.el7 wird für Paket 1:quota-4.01-14.el7.x86_64 verarbeitet
--> Abhängigkeit tcp_wrappers wird für Paket 1:quota-4.01-14.el7.x86_64 verarbeitet
---> Paket rpcbind.x86_64 0:0.2.0-42.el7 markiert, um installiert zu werden
--> Transaktionsprüfung wird ausgeführt
---> Paket bind-license.noarch 32:9.9.4-50.el7 markiert, um aktualisiert zu werden
--> Abhängigkeit bind-license = 32:9.9.4-50.el7 wird für Paket 32:bind-libs-lite-9.9.4-50.el7.x86_64 verarbeitet
---> Paket bind-license.noarch 32:9.9.4-51.el7 markiert, um eine Aktualisierung zu werden
---> Paket libX11-common.noarch 0:1.6.5-1.el7 markiert, um installiert zu werden
---> Paket libXt.x86_64 0:1.1.5-3.el7 markiert, um installiert zu werden
--> Abhängigkeit libICE.so.6()(64bit) wird für Paket libXt-1.1.5-3.el7.x86_64 verarbeitet
--> Abhängigkeit libSM.so.6()(64bit) wird für Paket libXt-1.1.5-3.el7.x86_64 verarbeitet
---> Paket libbasicobjects.x86_64 0:0.1.1-27.el7 markiert, um installiert zu werden
---> Paket libcollection.x86_64 0:0.6.2-27.el7 markiert, um installiert zu werden
---> Paket libini_config.x86_64 0:1.3.0-27.el7 markiert, um installiert zu werden
--> Abhängigkeit libpath_utils.so.1(PATH_UTILS_0.2.1)(64bit) wird für Paket libini_config-1.3.0-27.el7.x86_64 verarbeitet
--> Abhängigkeit libpath_utils.so.1()(64bit) wird für Paket libini_config-1.3.0-27.el7.x86_64 verarbeitet
---> Paket libref_array.x86_64 0:0.1.5-27.el7 markiert, um installiert zu werden
---> Paket libverto-libevent.x86_64 0:0.2.5-4.el7 markiert, um installiert zu werden
---> Paket quota-nls.noarch 1:4.01-14.el7 markiert, um installiert zu werden
---> Paket tcp_wrappers.x86_64 0:7.6-77.el7 markiert, um installiert zu werden
--> Transaktionsprüfung wird ausgeführt
---> Paket bind-libs-lite.x86_64 32:9.9.4-50.el7 markiert, um aktualisiert zu werden
---> Paket bind-libs-lite.x86_64 32:9.9.4-51.el7 markiert, um eine Aktualisierung zu werden
---> Paket libICE.x86_64 0:1.0.9-9.el7 markiert, um installiert zu werden
---> Paket libSM.x86_64 0:1.2.2-2.el7 markiert, um installiert zu werden
---> Paket libpath_utils.x86_64 0:0.2.1-27.el7 markiert, um installiert zu werden
--> Abhängigkeitsauflösung beendet

Abhängigkeiten aufgelöst

================================================================================================
 Package                                 Arch   Version                        Paketquelle
                                                                                          Größe
================================================================================================
Installieren:
 oracle-database-server-12cR2-preinstall x86_64 1.0-3.el7                      ol7_latest  19 k
Als Abhängigkeiten installiert:
 bind-libs                               x86_64 32:9.9.4-51.el7                ol7_latest 1.0 M
 bind-utils                              x86_64 32:9.9.4-51.el7                ol7_latest 203 k
 compat-libcap1                          x86_64 1.10-7.el7                     ol7_latest  17 k
 compat-libstdc++-33                     x86_64 3.2.3-72.el7                   ol7_latest 190 k
 gssproxy                                x86_64 0.7.0-4.el7                    ol7_latest 104 k
 keyutils                                x86_64 1.5.8-3.el7                    ol7_latest  53 k
 ksh                                     x86_64 20120801-34.el7                ol7_latest 883 k
 libICE                                  x86_64 1.0.9-9.el7                    ol7_latest  66 k
 libSM                                   x86_64 1.2.2-2.el7                    ol7_latest  39 k
 libX11                                  x86_64 1.6.5-1.el7                    ol7_latest 606 k
 libX11-common                           noarch 1.6.5-1.el7                    ol7_latest 163 k
 libXau                                  x86_64 1.0.8-2.1.el7                  ol7_latest  28 k
 libXext                                 x86_64 1.3.3-3.el7                    ol7_latest  38 k
 libXi                                   x86_64 1.7.9-1.el7                    ol7_latest  40 k
 libXinerama                             x86_64 1.1.3-2.1.el7                  ol7_latest  13 k
 libXmu                                  x86_64 1.1.2-2.el7                    ol7_latest  70 k
 libXrandr                               x86_64 1.5.1-2.el7                    ol7_latest  27 k
 libXrender                              x86_64 0.9.10-1.el7                   ol7_latest  25 k
 libXt                                   x86_64 1.1.5-3.el7                    ol7_latest 172 k
 libXtst                                 x86_64 1.2.3-1.el7                    ol7_latest  20 k
 libXv                                   x86_64 1.0.11-1.el7                   ol7_latest  18 k
 libXxf86dga                             x86_64 1.1.4-2.1.el7                  ol7_latest  18 k
 libXxf86misc                            x86_64 1.0.3-7.1.el7                  ol7_latest  19 k
 libXxf86vm                              x86_64 1.1.4-1.el7                    ol7_latest  17 k
 libaio-devel                            x86_64 0.3.109-13.el7                 ol7_latest  12 k
 libbasicobjects                         x86_64 0.1.1-27.el7                   ol7_latest  24 k
 libcollection                           x86_64 0.6.2-27.el7                   ol7_latest  40 k
 libdmx                                  x86_64 1.1.3-3.el7                    ol7_latest  15 k
 libevent                                x86_64 2.0.21-4.el7                   ol7_latest 208 k
 libini_config                           x86_64 1.3.0-27.el7                   ol7_latest  62 k
 libnfsidmap                             x86_64 0.25-17.el7                    ol7_latest  49 k
 libpath_utils                           x86_64 0.2.1-27.el7                   ol7_latest  27 k
 libref_array                            x86_64 0.1.5-27.el7                   ol7_latest  26 k
 libstdc++-devel                         x86_64 4.8.5-16.el7                   ol7_latest 1.5 M
 libtirpc                                x86_64 0.2.4-0.10.el7                 ol7_latest  88 k
 libverto-libevent                       x86_64 0.2.5-4.el7                    ol7_latest 8.2 k
 libxcb                                  x86_64 1.12-1.el7                     ol7_latest 210 k
 lm_sensors-libs                         x86_64 3.4.0-4.20160601gitf9185e5.el7 ol7_latest  41 k
 mailx                                   x86_64 12.5-16.el7                    ol7_latest 244 k
 nfs-utils                               x86_64 1:1.3.0-0.48.0.1.el7           ol7_latest 398 k
 psmisc                                  x86_64 22.20-15.el7                   ol7_latest 140 k
 quota                                   x86_64 1:4.01-14.el7                  ol7_latest 178 k
 quota-nls                               noarch 1:4.01-14.el7                  ol7_latest  89 k
 rpcbind                                 x86_64 0.2.0-42.el7                   ol7_latest  59 k
 smartmontools                           x86_64 1:6.2-8.el7                    ol7_latest 421 k
 sysstat                                 x86_64 10.1.5-12.el7                  ol7_latest 309 k
 tcp_wrappers                            x86_64 7.6-77.el7                     ol7_latest  78 k
 unzip                                   x86_64 6.0-16.el7                     ol7_latest 169 k
 xorg-x11-utils                          x86_64 7.5-22.el7                     ol7_latest 113 k
 xorg-x11-xauth                          x86_64 1:1.0.9-1.el7                  ol7_latest  29 k
Aktualisiert für Abhängigkeiten:
 bind-libs-lite                          x86_64 32:9.9.4-51.el7                ol7_latest 732 k
 bind-license                            noarch 32:9.9.4-51.el7                ol7_latest  84 k

Transaktionsübersicht
================================================================================================
Installieren   1 Paket  (+50 Abhängige Pakete)
Aktualisieren           (  2 Abhängige Pakete)

Gesamte Downloadgröße: 9.0 M
Is this ok [y/d/N]: 

Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/53): bind-libs-9.9.4-51.el7.x86_64.rpm                                                        | 1.0 MB  00:00:00    
(2/53): bind-libs-lite-9.9.4-51.el7.x86_64.rpm                                                   | 732 kB  00:00:00    
(3/53): bind-utils-9.9.4-51.el7.x86_64.rpm                                                       | 203 kB  00:00:00    
(4/53): compat-libcap1-1.10-7.el7.x86_64.rpm                                                     |  17 kB  00:00:00    
(5/53): bind-license-9.9.4-51.el7.noarch.rpm                                                     |  84 kB  00:00:00    
(6/53): compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm                                              | 190 kB  00:00:00    
(7/53): gssproxy-0.7.0-4.el7.x86_64.rpm                                                          | 104 kB  00:00:00    
(8/53): ksh-20120801-34.el7.x86_64.rpm                                                           | 883 kB  00:00:00    
(9/53): keyutils-1.5.8-3.el7.x86_64.rpm                                                          |  53 kB  00:00:00    
(10/53): libSM-1.2.2-2.el7.x86_64.rpm                                                            |  39 kB  00:00:00    
(11/53): libICE-1.0.9-9.el7.x86_64.rpm                                                           |  66 kB  00:00:00    
(12/53): libX11-common-1.6.5-1.el7.noarch.rpm                                                    | 163 kB  00:00:00    
(13/53): libXau-1.0.8-2.1.el7.x86_64.rpm                                                         |  28 kB  00:00:00    
(14/53): libXext-1.3.3-3.el7.x86_64.rpm                                                          |  38 kB  00:00:00    
(15/53): libX11-1.6.5-1.el7.x86_64.rpm                                                           | 606 kB  00:00:00    
(16/53): libXi-1.7.9-1.el7.x86_64.rpm                                                            |  40 kB  00:00:00    
(17/53): libXmu-1.1.2-2.el7.x86_64.rpm                                                           |  70 kB  00:00:00    
(18/53): libXinerama-1.1.3-2.1.el7.x86_64.rpm                                                    |  13 kB  00:00:00    
(19/53): libXrender-0.9.10-1.el7.x86_64.rpm                                                      |  25 kB  00:00:00    
(20/53): libXrandr-1.5.1-2.el7.x86_64.rpm                                                        |  27 kB  00:00:00    
(21/53): libXt-1.1.5-3.el7.x86_64.rpm                                                            | 172 kB  00:00:00    
(22/53): libXtst-1.2.3-1.el7.x86_64.rpm                                                          |  20 kB  00:00:00    
(23/53): libXv-1.0.11-1.el7.x86_64.rpm                                                           |  18 kB  00:00:00    
(24/53): libXxf86dga-1.1.4-2.1.el7.x86_64.rpm                                                    |  18 kB  00:00:00    
(25/53): libXxf86misc-1.0.3-7.1.el7.x86_64.rpm                                                   |  19 kB  00:00:00    
(26/53): libXxf86vm-1.1.4-1.el7.x86_64.rpm                                                       |  17 kB  00:00:00    
(27/53): libaio-devel-0.3.109-13.el7.x86_64.rpm                                                  |  12 kB  00:00:00    
(28/53): libbasicobjects-0.1.1-27.el7.x86_64.rpm                                                 |  24 kB  00:00:00    
(29/53): libcollection-0.6.2-27.el7.x86_64.rpm                                                   |  40 kB  00:00:00    
(30/53): libevent-2.0.21-4.el7.x86_64.rpm                                                        | 208 kB  00:00:00    
(31/53): libini_config-1.3.0-27.el7.x86_64.rpm                                                   |  62 kB  00:00:00    
(32/53): libnfsidmap-0.25-17.el7.x86_64.rpm                                                      |  49 kB  00:00:00    
(33/53): libpath_utils-0.2.1-27.el7.x86_64.rpm                                                   |  27 kB  00:00:00    
(34/53): libdmx-1.1.3-3.el7.x86_64.rpm                                                           |  15 kB  00:00:00    
(35/53): libref_array-0.1.5-27.el7.x86_64.rpm                                                    |  26 kB  00:00:00    
(36/53): libtirpc-0.2.4-0.10.el7.x86_64.rpm                                                      |  88 kB  00:00:00    
(37/53): libstdc++-devel-4.8.5-16.el7.x86_64.rpm                                                 | 1.5 MB  00:00:00    
(38/53): libxcb-1.12-1.el7.x86_64.rpm                                                            | 210 kB  00:00:00    
(39/53): lm_sensors-libs-3.4.0-4.20160601gitf9185e5.el7.x86_64.rpm                               |  41 kB  00:00:00    
(40/53): libverto-libevent-0.2.5-4.el7.x86_64.rpm                                                | 8.2 kB  00:00:00    
(41/53): nfs-utils-1.3.0-0.48.0.1.el7.x86_64.rpm                                                 | 398 kB  00:00:00    
(42/53): mailx-12.5-16.el7.x86_64.rpm                                                            | 244 kB  00:00:00    
(43/53): oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64.rpm                            |  19 kB  00:00:00    
(44/53): psmisc-22.20-15.el7.x86_64.rpm                                                          | 140 kB  00:00:00    
(45/53): quota-4.01-14.el7.x86_64.rpm                                                            | 178 kB  00:00:00    
(46/53): quota-nls-4.01-14.el7.noarch.rpm                                                        |  89 kB  00:00:00    
(47/53): rpcbind-0.2.0-42.el7.x86_64.rpm                                                         |  59 kB  00:00:00    
(48/53): smartmontools-6.2-8.el7.x86_64.rpm                                                      | 421 kB  00:00:00    
(49/53): sysstat-10.1.5-12.el7.x86_64.rpm                                                        | 309 kB  00:00:00    
(50/53): tcp_wrappers-7.6-77.el7.x86_64.rpm                                                      |  78 kB  00:00:00    
(51/53): xorg-x11-utils-7.5-22.el7.x86_64.rpm                                                    | 113 kB  00:00:00    
(52/53): unzip-6.0-16.el7.x86_64.rpm                                                             | 169 kB  00:00:00    
(53/53): xorg-x11-xauth-1.0.9-1.el7.x86_64.rpm                                                   |  29 kB  00:00:00    
------------------------------------------------------------------------------------------------------------------------
Gesamt                                                                                  1.6 MB/s | 9.0 MB  00:00:05    
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installieren     : libcollection-0.6.2-27.el7.x86_64                                                             1/55
  Installieren     : libXau-1.0.8-2.1.el7.x86_64                                                                   2/55
  Installieren     : libxcb-1.12-1.el7.x86_64                                                                      3/55
  Installieren     : libtirpc-0.2.4-0.10.el7.x86_64                                                                4/55
  Installieren     : rpcbind-0.2.0-42.el7.x86_64                                                                   5/55
  Installieren     : libevent-2.0.21-4.el7.x86_64                                                                  6/55
  Installieren     : libref_array-0.1.5-27.el7.x86_64                                                              7/55
  Installieren     : libbasicobjects-0.1.1-27.el7.x86_64                                                           8/55
  Aktualisieren    : 32:bind-license-9.9.4-51.el7.noarch                                                           9/55
  Installieren     : libICE-1.0.9-9.el7.x86_64                                                                    10/55
  Installieren     : libSM-1.2.2-2.el7.x86_64                                                                     11/55
  Installieren     : 32:bind-libs-9.9.4-51.el7.x86_64                                                             12/55
  Installieren     : 32:bind-utils-9.9.4-51.el7.x86_64                                                            13/55
  Installieren     : libverto-libevent-0.2.5-4.el7.x86_64                                                         14/55
  Installieren     : libpath_utils-0.2.1-27.el7.x86_64                                                            15/55
  Installieren     : libini_config-1.3.0-27.el7.x86_64                                                            16/55
  Installieren     : gssproxy-0.7.0-4.el7.x86_64                                                                  17/55
  Installieren     : tcp_wrappers-7.6-77.el7.x86_64                                                               18/55
  Installieren     : compat-libstdc++-33-3.2.3-72.el7.x86_64                                                      19/55
  Installieren     : keyutils-1.5.8-3.el7.x86_64                                                                  20/55
  Installieren     : mailx-12.5-16.el7.x86_64                                                                     21/55
  Installieren     : 1:smartmontools-6.2-8.el7.x86_64                                                             22/55
  Installieren     : libX11-common-1.6.5-1.el7.noarch                                                             23/55
  Installieren     : libX11-1.6.5-1.el7.x86_64                                                                    24/55
  Installieren     : libXext-1.3.3-3.el7.x86_64                                                                   25/55
  Installieren     : libXi-1.7.9-1.el7.x86_64                                                                     26/55
  Installieren     : libXrender-0.9.10-1.el7.x86_64                                                               27/55
  Installieren     : libXrandr-1.5.1-2.el7.x86_64                                                                 28/55
  Installieren     : libXtst-1.2.3-1.el7.x86_64                                                                   29/55
  Installieren     : libXxf86misc-1.0.3-7.1.el7.x86_64                                                            30/55
  Installieren     : libXinerama-1.1.3-2.1.el7.x86_64                                                             31/55
  Installieren     : libXv-1.0.11-1.el7.x86_64                                                                    32/55
  Installieren     : libXxf86vm-1.1.4-1.el7.x86_64                                                                33/55
  Installieren     : libdmx-1.1.3-3.el7.x86_64                                                                    34/55
  Installieren     : libXxf86dga-1.1.4-2.1.el7.x86_64                                                             35/55
  Installieren     : xorg-x11-utils-7.5-22.el7.x86_64                                                             36/55
  Installieren     : libXt-1.1.5-3.el7.x86_64                                                                     37/55
  Installieren     : libXmu-1.1.2-2.el7.x86_64                                                                    38/55
  Installieren     : 1:xorg-x11-xauth-1.0.9-1.el7.x86_64                                                          39/55
  Installieren     : psmisc-22.20-15.el7.x86_64                                                                   40/55
  Installieren     : libaio-devel-0.3.109-13.el7.x86_64                                                           41/55
  Installieren     : compat-libcap1-1.10-7.el7.x86_64                                                             42/55
  Installieren     : libnfsidmap-0.25-17.el7.x86_64                                                               43/55
  Installieren     : libstdc++-devel-4.8.5-16.el7.x86_64                                                          44/55
  Installieren     : 1:quota-nls-4.01-14.el7.noarch                                                               45/55
  Installieren     : 1:quota-4.01-14.el7.x86_64                                                                   46/55
  Installieren     : 1:nfs-utils-1.3.0-0.48.0.1.el7.x86_64                                                        47/55
  Installieren     : unzip-6.0-16.el7.x86_64                                                                      48/55
  Installieren     : ksh-20120801-34.el7.x86_64                                                                   49/55
  Installieren     : lm_sensors-libs-3.4.0-4.20160601gitf9185e5.el7.x86_64                                        50/55
  Installieren     : sysstat-10.1.5-12.el7.x86_64                                                                 51/55
  Installieren     : oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64                                     52/55
  Aktualisieren    : 32:bind-libs-lite-9.9.4-51.el7.x86_64                                                        53/55
  Aufräumen        : 32:bind-libs-lite-9.9.4-50.el7.x86_64                                                        54/55
  Aufräumen        : 32:bind-license-9.9.4-50.el7.noarch                                                          55/55
  Überprüfung läuft: libXext-1.3.3-3.el7.x86_64                                                                    1/55
  Überprüfung läuft: libX11-1.6.5-1.el7.x86_64                                                                     2/55
  Überprüfung läuft: libXxf86misc-1.0.3-7.1.el7.x86_64                                                             3/55
  Überprüfung läuft: 1:quota-4.01-14.el7.x86_64                                                                    4/55
  Überprüfung läuft: libICE-1.0.9-9.el7.x86_64                                                                     5/55
  Überprüfung läuft: 1:nfs-utils-1.3.0-0.48.0.1.el7.x86_64                                                         6/55
  Überprüfung läuft: libXinerama-1.1.3-2.1.el7.x86_64                                                              7/55
  Überprüfung läuft: 32:bind-license-9.9.4-51.el7.noarch                                                           8/55
  Überprüfung läuft: libXrender-0.9.10-1.el7.x86_64                                                                9/55
  Überprüfung läuft: lm_sensors-libs-3.4.0-4.20160601gitf9185e5.el7.x86_64                                        10/55
  Überprüfung läuft: libXv-1.0.11-1.el7.x86_64                                                                    11/55
  Überprüfung läuft: libXi-1.7.9-1.el7.x86_64                                                                     12/55
  Überprüfung läuft: libXxf86vm-1.1.4-1.el7.x86_64                                                                13/55
  Überprüfung läuft: libdmx-1.1.3-3.el7.x86_64                                                                    14/55
  Überprüfung läuft: libXt-1.1.5-3.el7.x86_64                                                                     15/55
  Überprüfung läuft: ksh-20120801-34.el7.x86_64                                                                   16/55
  Überprüfung läuft: unzip-6.0-16.el7.x86_64                                                                      17/55
  Überprüfung läuft: 1:quota-nls-4.01-14.el7.noarch                                                               18/55
  Überprüfung läuft: xorg-x11-utils-7.5-22.el7.x86_64                                                             19/55
  Überprüfung läuft: libbasicobjects-0.1.1-27.el7.x86_64                                                          20/55
  Überprüfung läuft: libstdc++-devel-4.8.5-16.el7.x86_64                                                          21/55
  Überprüfung läuft: 1:smartmontools-6.2-8.el7.x86_64                                                             22/55
  Überprüfung läuft: libXtst-1.2.3-1.el7.x86_64                                                                   23/55
  Überprüfung läuft: gssproxy-0.7.0-4.el7.x86_64                                                                  24/55
  Überprüfung läuft: libini_config-1.3.0-27.el7.x86_64                                                            25/55
  Überprüfung läuft: 32:bind-libs-lite-9.9.4-51.el7.x86_64                                                        26/55
  Überprüfung läuft: 32:bind-utils-9.9.4-51.el7.x86_64                                                            27/55
  Überprüfung läuft: libref_array-0.1.5-27.el7.x86_64                                                             28/55
  Überprüfung läuft: libnfsidmap-0.25-17.el7.x86_64                                                               29/55
  Überprüfung läuft: libxcb-1.12-1.el7.x86_64                                                                     30/55
  Überprüfung läuft: libevent-2.0.21-4.el7.x86_64                                                                 31/55
  Überprüfung läuft: libverto-libevent-0.2.5-4.el7.x86_64                                                         32/55
  Überprüfung läuft: compat-libcap1-1.10-7.el7.x86_64                                                             33/55
  Überprüfung läuft: libXrandr-1.5.1-2.el7.x86_64                                                                 34/55
  Überprüfung läuft: libaio-devel-0.3.109-13.el7.x86_64                                                           35/55
  Überprüfung läuft: libtirpc-0.2.4-0.10.el7.x86_64                                                               36/55
  Überprüfung läuft: psmisc-22.20-15.el7.x86_64                                                                   37/55
  Überprüfung läuft: 1:xorg-x11-xauth-1.0.9-1.el7.x86_64                                                          38/55
  Überprüfung läuft: 32:bind-libs-9.9.4-51.el7.x86_64                                                             39/55
  Überprüfung läuft: libX11-common-1.6.5-1.el7.noarch                                                             40/55
  Überprüfung läuft: rpcbind-0.2.0-42.el7.x86_64                                                                  41/55
  Überprüfung läuft: mailx-12.5-16.el7.x86_64                                                                     42/55
  Überprüfung läuft: libXau-1.0.8-2.1.el7.x86_64                                                                  43/55
  Überprüfung läuft: libSM-1.2.2-2.el7.x86_64                                                                     44/55
  Überprüfung läuft: libXxf86dga-1.1.4-2.1.el7.x86_64                                                             45/55
  Überprüfung läuft: libXmu-1.1.2-2.el7.x86_64                                                                    46/55
  Überprüfung läuft: keyutils-1.5.8-3.el7.x86_64                                                                  47/55
  Überprüfung läuft: compat-libstdc++-33-3.2.3-72.el7.x86_64                                                      48/55
  Überprüfung läuft: tcp_wrappers-7.6-77.el7.x86_64                                                               49/55
  Überprüfung läuft: libpath_utils-0.2.1-27.el7.x86_64                                                            50/55
  Überprüfung läuft: oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64                                     51/55
  Überprüfung läuft: sysstat-10.1.5-12.el7.x86_64                                                                 52/55
  Überprüfung läuft: libcollection-0.6.2-27.el7.x86_64                                                            53/55
  Überprüfung läuft: 32:bind-libs-lite-9.9.4-50.el7.x86_64                                                        54/55
  Überprüfung läuft: 32:bind-license-9.9.4-50.el7.noarch                                                          55/55

Installiert:
  oracle-database-server-12cR2-preinstall.x86_64 0:1.0-3.el7                                                           

Abhängigkeit installiert:
  bind-libs.x86_64 32:9.9.4-51.el7                  bind-utils.x86_64 32:9.9.4-51.el7                                  
  compat-libcap1.x86_64 0:1.10-7.el7                compat-libstdc++-33.x86_64 0:3.2.3-72.el7                          
  gssproxy.x86_64 0:0.7.0-4.el7                     keyutils.x86_64 0:1.5.8-3.el7                                      
  ksh.x86_64 0:20120801-34.el7                      libICE.x86_64 0:1.0.9-9.el7                                        
  libSM.x86_64 0:1.2.2-2.el7                        libX11.x86_64 0:1.6.5-1.el7                                        
  libX11-common.noarch 0:1.6.5-1.el7                libXau.x86_64 0:1.0.8-2.1.el7                                      
  libXext.x86_64 0:1.3.3-3.el7                      libXi.x86_64 0:1.7.9-1.el7                                         
  libXinerama.x86_64 0:1.1.3-2.1.el7                libXmu.x86_64 0:1.1.2-2.el7                                        
  libXrandr.x86_64 0:1.5.1-2.el7                    libXrender.x86_64 0:0.9.10-1.el7                                   
  libXt.x86_64 0:1.1.5-3.el7                        libXtst.x86_64 0:1.2.3-1.el7                                       
  libXv.x86_64 0:1.0.11-1.el7                       libXxf86dga.x86_64 0:1.1.4-2.1.el7                                 
  libXxf86misc.x86_64 0:1.0.3-7.1.el7               libXxf86vm.x86_64 0:1.1.4-1.el7                                    
  libaio-devel.x86_64 0:0.3.109-13.el7              libbasicobjects.x86_64 0:0.1.1-27.el7                              
  libcollection.x86_64 0:0.6.2-27.el7               libdmx.x86_64 0:1.1.3-3.el7                                        
  libevent.x86_64 0:2.0.21-4.el7                    libini_config.x86_64 0:1.3.0-27.el7                                
  libnfsidmap.x86_64 0:0.25-17.el7                  libpath_utils.x86_64 0:0.2.1-27.el7                                
  libref_array.x86_64 0:0.1.5-27.el7                libstdc++-devel.x86_64 0:4.8.5-16.el7                              
  libtirpc.x86_64 0:0.2.4-0.10.el7                  libverto-libevent.x86_64 0:0.2.5-4.el7                             
  libxcb.x86_64 0:1.12-1.el7                        lm_sensors-libs.x86_64 0:3.4.0-4.20160601gitf9185e5.el7            
  mailx.x86_64 0:12.5-16.el7                        nfs-utils.x86_64 1:1.3.0-0.48.0.1.el7                              
  psmisc.x86_64 0:22.20-15.el7                      quota.x86_64 1:4.01-14.el7                                         
  quota-nls.noarch 1:4.01-14.el7                    rpcbind.x86_64 0:0.2.0-42.el7                                      
  smartmontools.x86_64 1:6.2-8.el7                  sysstat.x86_64 0:10.1.5-12.el7                                     
  tcp_wrappers.x86_64 0:7.6-77.el7                  unzip.x86_64 0:6.0-16.el7                                          
  xorg-x11-utils.x86_64 0:7.5-22.el7                xorg-x11-xauth.x86_64 1:1.0.9-1.el7                                

Abhängigkeit aktualisiert:
  bind-libs-lite.x86_64 32:9.9.4-51.el7                       bind-license.noarch 32:9.9.4-51.el7                     

Komplett!
Then you can start the installer "runInstaller":












Now you have to create these two variables:
export ORACLE_HOME=/home/oracle/app/oracle/product/12.2.0/dbhome_1
export PATH=$PATH:$ORACLE_HOME/bin
 and you can verify your installation with:
[oracle@localhost ~]$ lsnrctl status

LSNRCTL for Linux: Version 12.2.0.1.0 - Production on 01-OCT-2017 21:09:15

Copyright (c) 1991, 2016, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 12.2.0.1.0 - Production
Start Date                01-OCT-2017 20:46:15
Uptime                    0 days 0 hr. 23 min. 1 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /home/oracle/app/oracle/product/12.2.0/dbhome_1/network/admin/listener.ora
Listener Log File         /home/oracle/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=localhost)(PORT=5500))(Security=(my_wallet_directory=/home/oracle/app/oracle/admin/orcl/xdb_wallet))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "5a81d0aff5393ed2e055000000000001" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclpdb" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully

and

[oracle@localhost ~]$ sqlplus sys@orcl as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Sun Oct 1 21:10:09 2017

Copyright (c) 1982, 2016, Oracle.  All rights reserved.

Enter password:

Verbunden mit:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

SQL> set line 100
SQL> select * from v$instance;

INSTANCE_NUMBER INSTANCE_NAME     HOST_NAME
--------------- ---------------- ----------------------------------------------------------------
VERSION       STARTUP_ STATUS    PAR    THREAD# ARCHIVE LOG_SWITCH_WAIT LOGINS      SHU
----------------- -------- ------------ --- ---------- ------- --------------- ---------- ---
DATABASE_STATUS   INSTANCE_ROLE      ACTIVE_ST BLO     CON_ID INSTANCE_MO EDITION
----------------- ------------------ --------- --- ---------- ----------- -------
FAMILY                                         DATABASE_TYPE
-------------------------------------------------------------------------------- ---------------
          1 orcl         localhost.localdomain
12.2.0.1.0      01.10.17 OPEN     NO         1 STOPPED               ALLOWED      NO
ACTIVE          PRIMARY_INSTANCE   NORMAL    NO        0 REGULAR      EE
                                         SINGLE


SQL>





Virtualbox: How to use shared folders (aka gemeinsame Ordner)

Sun, 2017-10-01 14:23
If you want to use a directory inside a virtualbox vm without copying all files, you can use the shared folders.
Just choose a folder to share:

Then inside the vm type:
[root@localhost oracle]# mount -t vboxsf 12c /mntand that's it:
[root@localhost oracle]# df -h |grep 12c
12c                  180G    129G   52G   72% /mntor
[root@localhost oracle]# mount | grep 12c
12c on /mnt type vboxsf (rw,nodev,relatime)
When you are done just unmount the folder with
umount /mnt

Running Oracle Linux inside VirtualBox: Installation Virtualbox guest additions

Sun, 2017-10-01 12:36
First you have to insert the Virtualbox Guest Additions iso-image:
You can check this here:
 If this does not work, just add the iso into the IDE controller of virtualbox:

 As root you have to mount the image:


Before you can run the installer you have to get the following packages:

yum list kernel*Take the one with "devel" which version matches:
uname -aLinux localhost.localdomain 4.1.12-94.3.9.el7uek.x86_64 #2 SMP Fri Jul 14 20:09:40 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux
Something like
yum install kernel-uek-devel-XXXXXXThen install the follwing packages:
yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel bzip2Then export KERN_DIR:

Finally you can run the installer VBboxLinuxAdditions.run:

Then a reboot and everything should be fine.
The walkthrough the Oracle Linux installation process can be found here.
(Preconfiguration steps for virtualbox can be found here

Running Oracle Linux inside VirtualBox: Installation

Sun, 2017-10-01 12:33
After configuring the HDD, RAM, network, etc on VirtualBox (take a look here), i started the VM:

 
 Choose "Install Oracle Linux7.4":

Language settings:
 Overview (partitioning and network missing):
 Network interface:
 Partitioning:
 Start package installation:
 Configure passwords / users:
 
 Waiting for reboot:
(Installation of the virtualbox guest additions can be found here)
(Preconfiguration steps for virtualbox can be found here)

Running Oracle Linux inside Virtualbox: Preconfiguration of the virtualization engine

Sun, 2017-10-01 12:32
This is a walkthrough the VirtualBox GUI settings to install Oracle Linux. First you have to name your VM and choose Oracle Linux 64 bit:
RAM:
HDD:
HDD type:
HDD dynamic/static:
HDD size:
After these steps you have to mount the iso image:

And you should configure a network adapter. I chose the WLAN interface of my laptop:

I will post the walkthrough the installation process soon.
(Installation of the virtualbox guest additions can be found here)

AVM Fritz: WLAN Mesh with Powerline Repeater does not work

Sat, 2017-09-30 06:40
Today i upgraded my FritzBox to FritzOS 6.90:

After the upgrade of the FritzBox i tried to upgrade my Powerline Adapter. But the 6.90 was not shown with inside the update mechanism via GUI.
(Be careful: you have to update your FritzBox first:
https://avm.de/nc/service/downloads/download/show/18332/:
ACHTUNG: Bitte nur installieren, wenn Sie eine FRITZ!Box mit FRITZ!OS >= 6.88 verwenden!)

So i downloaded the firmare image via this link and installed the new version:

Inside the FritzBox the WLAN mesh can be checked in "Heimnetz -> Heimnetzübersicht":

But no device behind the powerline adapter showed up.
I googled a bit around, but all AVM support pages where deleted. Inside Google cache i found the following:

So the mesh icon is missing at the powerline adapter. A reboot of the fritzbox and the powerline adapter did not change anything.

On AVM website there is an image how it should look like:

But it think, they have a problem with their mesh functionality and removed the 6.90 auto update for the wlan repeaters/powerline adapters and they even removed all support pages for the wlan mesh.

Let's wait for some bug fixes ;-)
(Still remember: These upgrades are just for free)

Ubuntu /etc/alternatives/java et.al.: Using java from external sources | update-alternatives | update-java-alternatives

Sat, 2017-09-30 02:21
After some problems with the jdk integrated in ubuntu 16.04 i installed the OpenJDK from http://jdk.java.net/9/.

The software is provided as tarball (tar.gz) and after
tar -xvf ~/Downloads/jdk-9+178_linux-x64_bin.tar.gz the binaries can be used with
jdk-9/bin/java
...But there are many links in /etc/alternatives still pointing to the ubuntu jdk:
lrwxrwxrwx 1 root root  41 Jul 11 21:02 /etc/alternatives/jar -> /usr/lib/jvm/java-9-openjdk-amd64/bin/jar
lrwxrwxrwx 1 root root  51 Jul 11 21:02 /etc/alternatives/jar.1.gz -> /usr/lib/jvm/java-9-openjdk-amd64/man/man1/jar.1.gz
lrwxrwxrwx 1 root root  47 Jul 11 21:02 /etc/alternatives/jarsigner -> /usr/lib/jvm/java-9-openjdk-amd64/bin/jarsigner
lrwxrwxrwx 1 root root  57 Jul 11 21:02 /etc/alternatives/jarsigner.1.gz -> /usr/lib/jvm/java-9-openjdk-amd64/man/man1/jarsigner.1.gz
lrwxrwxrwx 1 root root  42 Mai 31 21:09 /etc/alternatives/java -> /usr/lib/jvm/java-9-openjdk-amd64/bin/java
lrwxrwxrwx 1 root root  52 Mai 31 21:09 /etc/alternatives/java.1.gz -> /usr/lib/jvm/java-9-openjdk-amd64/man/man1/java.1.gz
lrwxrwxrwx 1 root root  43 Jul 11 21:02 /etc/alternatives/javac -> /usr/lib/jvm/java-9-openjdk-amd64/bin/javac
lrwxrwxrwx 1 root root  53 Jul 11 21:02 /etc/alternatives/javac.1.gz -> /usr/lib/jvm/java-9-openjdk-amd64/man/man1/javac.1.gz
lrwxrwxrwx 1 root root  45 Jul 11 21:02 /etc/alternatives/javadoc -> /usr/lib/jvm/java-9-openjdk-amd64/bin/javadoc
lrwxrwxrwx 1 root root  55 Jul 11 21:02 /etc/alternatives/javadoc.1.gz -> /usr/lib/jvm/java-9-openjdk-amd64/man/man1/javadoc.1.gz
lrwxrwxrwx 1 root root  43 Jul 11 21:02 /etc/alternatives/javah -> /usr/lib/jvm/java-9-openjdk-amd64/bin/javah
lrwxrwxrwx 1 root root  53 Jul 11 21:02 /etc/alternatives/javah.1.gz -> /usr/lib/jvm/java-9-openjdk-amd64/man/man1/javah.1.gz
lrwxrwxrwx 1 root root  43 Jul 11 21:02 /etc/alternatives/javap -> /usr/lib/jvm/java-9-openjdk-amd64/bin/javap
You can change them manually by deleting and creating new links but i think this is to much work.
Update-Alternatives works, but you have to issue the following command many times:
update-alternatives --quiet --install /usr/bin/jconsole jconsole /home/data/opt/jdk-9/bin/jconsole 1191Update-java-alternatives
update-java-alternatives.new -s java-jdk-9
update-java-alternatives.new: directory does not exist: /usr/lib/jvm/java-jdk-9
 does not work. But this can be fixed by creating your own jinfo file:
ls -la /usr/lib/jvm/.*jinfo
-rw-r--r-- 1 root root 2600 Mai  6 05:55 /usr/lib/jvm/.java-1.8.0-openjdk-amd64.jinfo
-rw-r--r-- 1 root root 2646 Apr 14  2016 /usr/lib/jvm/.java-1.9.0-openjdk-amd64.jinfo
-rw-r--r-- 1 root root 2058 Jul 14 22:05 /usr/lib/jvm/.java-jdk-9.jinfo
Just copy one of the existing files and change the paths to your JDK installation directory.
Then copy update-java-alternatives to update-java-alternatives and change the following lines:

inside the do_set function
#update-alternatives $uaopts --set $name $location
prio=$(awk -F= '/priority=/ {print $2}' $top/*$jname.jinfo)
update-alternatives $uaopts --install /usr/bin/${location##*\/} $name $location $prio
And then
update-java-alternatives.new -s java-jdk-9will change all links in /etc/alternatives, so that running java without path will use the your installed version...
$ java -version
java version "9"
Java(TM) SE Runtime Environment (build 9+178)
Java HotSpot(TM) 64-Bit Server VM (build 9+178, mixed mode)

(bash): The most useless commands (11)

Sat, 2017-09-16 13:57
After talking about
  1. rev
  2. yes
  3. sl
  4. cowsay
  5. cmatrix
  6. cal
  7. rig 
  8. pi
  9. figlet
here a packages called filters which comes with such commands:

$ echo hello my friend | jethro
hello mah friend
$ echo hello my friend | chef
hellu my freeund
$ echo hello my friend | kraut
hello mein friendManpage:
DESCRIPTION
       All  of  these  programs are filters to do all sorts of strange things to text.  No personal, racial,
       religious or societal slurs are intended. For amusement only.

       All the filters read input from stdin, change it, and write the filtered text to stdout. Some filters
       also support reading from files and writing to stdout.

       b1ff   The B1FF filter

       lolcat As seen in internet gifs everywhere.

       cockney
              Cockney English

       chef   convert English on stdin to Mock Swedish on stdout

       eleet  K3wl hacker slang

       fanboy Speak  like  a  fanboy.  Filters  out  extraneous  words and focuses on the words fans use. By default, it will speak like a fan of git/Linus/linux development.  To  change  this,  pass  as parameters  the  words that the fanboy typically uses. Alternatively, pass the name of a topic that typically has fanboys to use a predefined word list.

       fudd   Elmer Fudd

       jethro Hillbilly text filter

       jive   Jive English

       jibberish
              Runs text through a random selection of the rest of the filters, to make really weird output.

       ken    English into Cockney, featuring (dubious) rhyming slang for a lot of computer terminology.

       kraut  Generates text with a bad German accent.

       kenny  Generates text as spoken by Kenny on South Park.

       ky00te This program places a very cute (and familiar to FurryMuck fans) accent on any text file.

       nethackify
              Wiped out text like can be found in nethack.

       newspeak
              A-la-1984

       censor CDA-ize text

       nyc    Brooklyn English

       pirate Talk like a pirate.

       rasterman
              Makes text look like it came from the keyboard of Carsten Haitzler.
      scottish
              Fake scottish (dwarven) accent filter, inspired by the character "Durkon" from  Order  of  the
              Stick.

       spammer
              Turns honest text into something that is liable to be flagged as spam.

       scramble
              Scramble  the  "inner"  letters  of each word in the input into a random order.  The resulting
              text is still strangely readable.

       studly Studly caps.

       uniencode
              Use glorious unicode to the fullest possible extent. As seen previously in many man pages.

       upside-down
              Flips text upside down. Stand on your head and squint to read the output.

WLAN management with linux: networkmanager CLI "nmcli"

Fri, 2017-09-08 12:49
Configuring WLAN settings with the graphical user interface network manager is really easy.
Nevertheless sometimes it is necessary to configure the WLAN settings via a terminal. And therefore you should use nmcli:

To get a list of all available networks use "nmcli d wifi list"
$ nmcli d wifi list
*  SSID                 MODUS  CHAN  RATE       SIGNAL  BARS  SICHERHEIT
*  Gastzugang           Infra  12    54 Mbit/s  72      ▂▄▆_  WPA2      
   Napoleon Gastzugang  Infra  36    54 Mbit/s  27      ▂___  WPA1 WPA2 
   Napoleon Gastzugang  Infra  1     54 Mbit/s  25      ▂___  WPA1 WPA2 
   Napoleon             Infra  1     54 Mbit/s  25      ▂___  WPA2      
   Napoleon             Infra  36    54 Mbit/s  25      ▂___  WPA2      
   WLAN-901974          Infra  6     54 Mbit/s  24      ▂___  WPA2      
   Z                    Infra  11    54 Mbit/s  22      ▂___  WPA2      
   me5gast              Infra  3     54 Mbit/s  19      ▂___  WPA2      
You can get all saved connection via "nmcli c"
$ nmcli c
NAME                       UUID                                  TYP              GERÄT 
Gastzugang                 41d0717a-c4bc-47a4-acf7-bfa66dfa5462  802-11-wireless  wlp3s0
Kabelnetzwerkverbindung 1  316621ce-f61c-3163-a655-826306a79690  802-3-ethernet   --     
To connect to a wlan network "nmcli d wifi connect password
# nmcli d wifi connect Gastzugang password mypassword
Fehler: Aktivierung der Verbindung ist gescheitert: (7) Geheimdaten waren erforderlich, wurden aber nicht angegeben.
or with the right credentials:
Gerät »wlp3s0« wurde erfolgreich mit »754b6e6a-6284-4cf3-9737-13dd66f85b8e« aktiviert.

Bash: enabling Eclipse for Bash Programming | Plugin basheclipse (debugging) part 2

Sat, 2017-09-02 07:59
If you want to debug bash scripts inside eclipse you have to do 2 things:
BUT:
As i wrote in the last posting, toggling breakpoints was neither possible in Eclipse Neon  nor Eclipse Juno.

First you have to install JDK 1.6 and Eclipse Luna to be able to set breakpoints. (see EDIT at the end of the posting: Neon works as well...)




After you have to set up

  • Eclipse Luna with JDK 1.6
  • installad shelled & basheclipse
    (and follow the steps from posting shelled and posting basheclipse)
you have to create a Shell Script project within a shell Shell Script file:

via ->new->other


and again ->new->other


After that put some content into your shell.sh file:
(as written in the basheclipse posting, you have to add _DEBUG.sh into your project directory where shell.sh resides and add this line at the beginning of your shell.sh:
. _DEBUG.shThen change to the debug perspective and start a debugging session:
->run->debug

Then you will get the following:

Hmmm...
?
It says, it is running and not waiting at the first breakpoint...
What is wrong here?

Just keep calm. You have to start your shell.sh:
bash ./shell.sh
And here we go:


As you can see, the variable "a" is show with its value "test" and you can walk through your script breakpoint by breakpoint....

I asked the developer at sourceforge, why it does not work with Eclipse Neon. I hope i will get an answer... (or better a fix ;-)

EDIT: After some retries: switching from OpenJDK to Oracle's JDK did the job. (The installation of basheclipse has to be done with Oracle's JDK. After that i was able to run it on Eclipse Neon even with OpenJDK).

(bash): The most useless commands(10)

Thu, 2017-08-24 02:08

After talking about
  1. rev
  2. yes
  3. sl
  4. cowsay
  5. cmatrix
  6. cal
  7. rig 
  8. pi
here another pretty useless command:
~$ figlet apt-get update
             _                   _                     _       _      
  __ _ _ __ | |_       __ _  ___| |_   _   _ _ __   __| | __ _| |_ ___
 / _` | '_ \| __|____ / _` |/ _ \ __| | | | | '_ \ / _` |/ _` | __/ _ \
| (_| | |_) | ||_____| (_| |  __/ |_  | |_| | |_) | (_| | (_| | ||  __/
 \__,_| .__/ \__|     \__, |\___|\__|  \__,_| .__/ \__,_|\__,_|\__\___|
      |_|             |___/                 |_|                        
Manpage:
DESCRIPTION
       FIGlet  prints  its input using large characters (called ``FIGcharacters'')made up of ordinary screen
       characters (called ``sub-characters'').  FIGlet output is generally reminiscent of the sort of ``sig‐
       natures''  many  people like to put at the end of e-mail and UseNet messages.  It is also reminiscent
       of the output of some banner programs, although it is oriented normally, not sideways.

       FIGlet can print in a variety of fonts, both left-to-right and right-to-left, with adjacent  FIGchar‐
       acters  kerned  and ``smushed'' together in various ways.  FIGlet fonts are stored in separate files,
       which can be identified by the suffix ``.flf''.  In systems with UTF-8 support FIGlet may  also  sup‐
       port  TOIlet  ``.tlf''  fonts.  Most FIGlet font files will be stored in FIGlet's default font direc‐
       tory.

       FIGlet can also use ``control files'', which tell it to map certain input characters to certain other
       characters,  similar to the Unix tr command.  Control files can be identified by the suffix ``.flc''.
       Most FIGlet control files will be stored in FIGlet's default font directory.

       You can store FIGlet fonts and control files in compressed form.  See COMPRESSED FONTS.

Customizing a CoreOS image/iso: Ignition

Tue, 2017-08-22 14:48
After the first steps with coreos (virtualbox installation) and a successful ssh login, it is clear, that the coreos image has to be customized. If not, every reboot will clean up every configuration provided after reboot.

CoreOS provides a coreos-install script to do this.
coreos-install -help
Usage: ./coreos-install [-C channel] -d /dev/device
Options:
    -d DEVICE   Install Container Linux to the given device.
    -V VERSION  Version to install (e.g. current) [default: current]
    -B BOARD    Container Linux board to use [default: amd64-usr]
    -C CHANNEL  Release channel to use (e.g. beta) [default: stable]
    -o OEM      OEM type to install (e.g. ami) [default: (none)]
    -c CLOUD    Insert a cloud-init config to be executed on boot.
    -i IGNITION Insert an Ignition config to be executed on boot.
    -b BASEURL  URL to the image mirror (overrides BOARD)
    -k KEYFILE  Override default GPG key for verifying image signature
    -f IMAGE    Install unverified local image file to disk instead of fetching
    -n          Copy generated network units to the root partition.
    -v          Super verbose, for debugging.
    -h          This ;-)

This tool installs CoreOS Container Linux on a block device. If you PXE booted
Container Linux on a machine then use this tool to make a permanent install.
First you have to add a 8GB partition to your core os installation:

 

Then enable ssh login (please refer to this posting). And transfer the coreos-install script and the following ingnition.json file:
{
  "ignition": {
    "version": "2.0.0",
    "config": {}
  },
  "storage": {},
  "systemd": {},
  "networkd": {},
  "passwd": {
    "users": [
      {
        "name": "core",
        "sshAuthorizedKeys": [
          "ssh-rsa AAAAB3NzaC....  "
        ]
      }
    ]
  }
}
Please use this validator to check your ignition.json!
And here we go:
core@localhost ~ $ ./coreos-install -d /dev/sda -i ignition.json
./coreos-install: Target block device (/dev/sda) is not writable (are you root?)Ok.
sudo bash
bash-4.3#./coreos-install -d /dev/sda -i ignition.json
Downloading the signature for https://stable.release.core-os.net/amd64-usr/1409.6.0/coreos_production_image.bin.bz2...
wget --no-verbose -O /tmp/coreos-install.JROwzOsi1W/coreos_production_image.bin.bz2.sig https://stable.release.core-os.net/amd64-usr/1409.6.0/coreos_production_image.bin.bz2.sig
2017-08-22 19:01:28 URL:https://stable.release.core-os.net/amd64-usr/1409.6.0/coreos_production_image.bin.bz2.sig [543/543] -> "/tmp/coreos-install.JROwzOsi1W/coreos_production_image.bin.bz2.sig" [1]
Downloading, writing and verifying coreos_production_image.bin.bz2...
2017-08-22 19:02:31 URL:https://stable.release.core-os.net/amd64-usr/1409.6.0/coreos_production_image.bin.bz2 [288249718/288249718] -> "-" [1]
gpg: Signature made Thu Jul  6 01:34:01 2017 UTC
gpg:                using RSA key 07FA9ED31CB5FA26
gpg: key 50E0885593D2DCB4 marked as ultimately trusted
gpg: checking the trustdb
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: Good signature from "CoreOS Buildbot (Offical Builds) " [ultimate]
Installing Ignition config ignition.json...
Success! CoreOS Container Linux stable 1409.6.0 is installed on /dev/sda
Then umount the cd drive from your coreos virtual machine:



and reboot:
But this does not work:

Failed to start Ignition (disks)and
See 'systemctl status ignition-disks.service'

Hmmm... I found nothing with google, so i file an issue at github:
https://github.com/coreos/bugs/issues/2118
And got a the solution within 6 minutes!!!

I missed the closing quite in line 14:
"ssh-rsa AAAAB3NzaC....  " And now it worked:


Really cool...

If you are interested in more details please check this site:

CoreOS: structure of the ISO image

Tue, 2017-08-22 14:40
After some first steps with CoreOS ("First step to micorservices: CoreOS on virtualbox") my problem is, how to customize CoreOS. After each reboot all changes are gone (tmpfs / squashfs).

There are some tutorials which recommend the usage of etcd, but even this has to be configured into the CoreOS linux...

The first idea: what about customizing the ISO image...

mount -o loop coreos_production_iso_image.iso /media/isoInside this:
$ ls
coreos  isolinux  syslinux
du -sh *
276M    coreos
1,9M    isolinux
2,5K    syslinuxand inside the coreos directory:
ls -l coreos
insgesamt 282349
-r--r--r-- 1 root root 253738975 Jul  6 03:47 cpio.gz
-r--r--r-- 1 root root  35385632 Jul  6 03:47 vmlinuzHmmm.
$ gunzip cpio.gz
$ cat cpio | cpio -idmv
.
usr.squashfs
etcThe directory etc is empty. And usr.sqashfs can be mounted:
mount usr.squashfs /media/sqashfs and here we go:
du -sh *
221M    bin
34M    boot
512    lib
240M    lib64
18M    libexec
2,5K    local
0    lost+found
512    postinst
29M    sbin
69M    share
512    tmpI think modifying these files is not really helpful. Although there is no home directory to install my authorized_keys file.

CoreOS itself states:
But i hope there is another way without ignition to modify the coreos. Stay tuned ;-)

CoreOS: How to login via ssh (default password?!)

Sun, 2017-08-20 14:25
After the installation of a coreos you want to login via ssh (because of wrong localization inside your virtualbox/vmware console and no client tools installed (copy/paste not working, etc...)?
If you ask your preferred search engine, you will get many answers that there is not default password...
(Of course! The idea behind containers and container schedulers is, that everything works automatically and typing passwords does not fit in this mantra).

But no worries, only 4 steps are needed to get a login via ssh:

  1. on your laptop
    1. $ ssh-keygen
      Generating public/private rsa key pair.
      Enter file in which to save the key (/home/schroff/.ssh/id_rsa):
      Enter passphrase (empty for no passphrase):
      Enter same passphrase again:
      Your identification has been saved in /home/schroff/.ssh/id_rsa.
      Your public key has been saved in /home/schroff/.ssh/id_rsa.pub.
      The key fingerprint is:
      SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxx schroff@zerberus
      The key's randomart image is:
      +---[RSA 2048]----+
      xxxxxx
      +----[SHA256]-----+
    2. cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys
  2. inside the coreos vm
    1.  scp schroff@:/.ssh/authorized_keys /home/core/.ssh
      schroff@xxxxxxx's password:
      authorized_keys                                               100%  398     0.4KB/s   00:00   
  3. on your laptop
    1. ssh core@
With executing step 3.1 the login into the coreos machine works without a password, BUT ONLY up to the next reboot, because the home-directory is a tmpfs filesystem, which looses its content with each reboot...
(Although you have to clean up your known hosts file, because the machine starts up with a new ssh key.)

Linux Containers - Container LInux: Core OS - a minimal linux? A quick overview: diskspace, mounts, commands, kernel, ...

Fri, 2017-08-18 13:43
Virtualization techniques can be grouped into two categories
  1. os virtualization like VMware, Virtualbox, etc.
  2. container virtualization like Docker, etc.

Everybody is familiar with the first category. Creation of virtual machines is well known and most of us have created already tens or hundreds of such machines. (and deleted and lost them after some weeks). One of the benefits is, that it is easy to run additional machines on our laptops / workstations.
The second category is rarely used on laptops / workstations. This is something for computer rooms or data centers only.

Both categories reduce the amount of hardware needed - but management of all theses virtual entities has still to be done.

But for some workloads solutions are proposed like Kubernetes or Apache Mesos. Never heard about? ;-)

Kubernetes orchestrates containers and Core OS is providing a minimal Container Linux operating system, which can be used by Kubernetes.
Here my first expiriences with this minimal Linux system (for installation please refer to this posting):
$ uname -a
Linux localhost 4.11.9-coreos #1 SMP ......
Diskspace used is only 244 megabytes:

Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        361M     0  361M   0% /dev
tmpfs           499M     0  499M   0% /dev/shm
tmpfs           499M   13M  486M   3% /run
tmpfs           499M     0  499M   0% /sys/fs/cgroup
tmpfs           499M  8.0M  491M   2% /
/dev/loop0      244M  244M     0 100% /usr
tmpfs           499M     0  499M   0% /media
tmpfs           499M     0  499M   0% /tmp
tmpfs           100M     0  100M   0% /run/user/500Filesystems:
...
tmpfs on / type tmpfs (rw,relatime,seclabel,mode=755)
/usr.squashfs (deleted) on /usr type squashfs (ro,relatime,seclabel)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /media type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,seclabel)
...
Available commands /bin (/bin is a softlink to /usr/bin):
core@localhost ~ $ ls /bin
'['                                 ip                 rview
actool                              ipcmk              rvim
arch                                ipcrm              scanelf
arping                              ipcs               scanmacho
attr                                iptables-xml       sclient
aulast                              isosize            scmp_sys_resolver
aulastlog                           join               scp
ausyscall                           journalctl         script
autopoint                           jq                 scriptreplay
auvirt                              js-config          sdiff
awk                                 k5srvutil          sechecker
base32                              kadmin             secon
base64                              kbxutil            sed
basename                            kdestroy           sediff
bash                                kernel-install     seinfo
bashbug                             keyctl             semodule_deps
block-until-url                     kill               semodule_expand
bootctl                             kinit              semodule_link
bsdcat                              klist              semodule_package
bsdcpio                             kmod               semodule_unpackage
bsdiff                              kpasswd            seq
bsdtar                              krb5-config        sesearch
bspatch                             ksba-config        setarch
bunzip2                             ksu                setfacl
busctl                              kswitch            setfattr
bzcat                               ktutil             setsid
bzcmp                               kvno               setterm
bzdiff                              last               sftp
bzegrep                             lastb              sg
bzfgrep                             lastlog            sh
bzgrep                              ldapadd            sha1sum
bzip2                               ldapcompare        sha224sum
bzip2recover                        ldapdelete         sha256sum
bzless                              ldapexop           sha384sum
bzmore                              ldapmodify         sha512sum
c_rehash                            ldapmodrdn         shlibsign
cal                                 ldappasswd         shred
captest                             ldapsearch         shuf
captoinfo                           ldapurl            sim_client
cat                                 ldapwhoami         slabtop
catchsegv                           ldbadd             sleep
cgpt                                ldbdel             sntp
chacl                               ldbedit            sort
chage                               ldbmodify          sotruss
chattr                              ldbrename          split
chcon                               ldbsearch          sprof
chfn                                ldd                sqlite3
chgrp                               lddtree            ssh
chkcon                              less               ssh-add
chmod                               lessecho           ssh-agent
chown                               lesskey            ssh-copy-id
chroot                              lesspipe           ssh-keygen
chrt                                libassuan-config   ssh-keyscan
chsh                                libgcrypt-config   sss_ssh_authorizedkeys
cksum                               liblinear-predict  sss_ssh_knownhostsproxy
clear                               liblinear-train    stat
cmp                                 link               stdbuf
col                                 linux32            strace
colcrt                              linux64            strace-log-merge
colrm                               ln                 stty
column                              locale             su
comm                                localectl          sudo
containerd                          localedef          sudoedit
containerd-shim                     locksmithctl       sudoreplay
coredumpctl                         logger             sum
coreos-cloudinit                    login              symcryptrun
coreos-install                      loginctl           symtree
coreos-metadata                     logname            sync
cp                                  look               systemctl
csplit                              ls                 systemd-analyze
ctr                                 lsattr             systemd-ask-password
curl                                lsblk              systemd-cat
curl-config                         lscpu              systemd-cgls
cut                                 lsipc              systemd-cgtop
date                                lslocks            systemd-delta
dbus-binding-tool                   lslogins           systemd-detect-virt
dbus-cleanup-sockets                lsmod              systemd-escape
dbus-daemon                         lsns               systemd-firstboot
dbus-launch                         lsof               systemd-hwdb
dbus-monitor                        lsscsi             systemd-inhibit
dbus-run-session                    lsusb              systemd-machine-id-setup
dbus-send                           lzcat              systemd-mount
dbus-test-tool                      lzcmp              systemd-notify
dbus-update-activation-environment  lzdiff             systemd-nspawn
dbus-uuidgen                        lzegrep            systemd-path
dd                                  lzfgrep            systemd-resolve
delv                                lzgrep             systemd-run
df                                  lzless             systemd-socket-activate
dgawk                               lzma               systemd-stdio-bridge
diff                                lzmadec            systemd-sysusers
diff3                               lzmainfo           systemd-tmpfiles
dig                                 lzmore             systemd-tty-ask-password-agent
dir                                 machinectl         systemd-umount
dircolors                           makedb             tabs
dirmngr                             mayday             tac
dirmngr-client                      mcookie            tail
dirname                             md5sum             tailf
dmesg                               mkdir              tar
dnsdomainname                       mkfifo             taskset
dnssec-dsfromkey                    mknod              tdbbackup
dnssec-importkey                    mkpasswd           tdbdump
dnssec-keyfromlabel                 mktemp             tdbrestore
dnssec-keygen                       modinfo            tdbtool
dnssec-revoke                       more               tee
dnssec-settime                      mount              test
dnssec-signzone                     mountpoint         tic
dnssec-verify                       mpicalc            tickadj
docker                              msgattrib          timedatectl
docker-containerd                   msgcat             timeout
docker-containerd-shim              msgcmp             tload
docker-proxy                        msgcomm            toe
docker-runc                         msgconv            toolbox
dockerd                             msgen              top
domainname                          msgexec            touch
du                                  msgfilter          tpmd
dumpelf                             msgfmt             tpmown
dumpsexp                            msggrep            tput
e2size                              msginit            tr
echo                                msgmerge           true
egrep                               msgunfmt           truncate
eject                               msguniq            tset
env                                 mv                 tsort
envsubst                            namei              tty
etcd2                               ncat               tzselect
etcdctl                             ncurses5-config    udevadm
ex                                  ncursesw5-config   ul
expand                              net                umount
expiry                              netcap             uname
expr                                netstat            uname26
factor                              networkctl         uncompress
faillog                             newgidmap          unexpand
fallocate                           newgrp             uniq
false                               newrole            unlink
fgrep                               newuidmap          unlzma
filecap                             ngettext           unshare
find                                nice               unxz
findcon                             nisdomainname      unzip
findmnt                             nl                 unzipsfx
fleet                               nohup              update-ssh-keys
fleetctl                            nproc              update_engine_client
fleetd                              npth-config        uptime
flock                               nsenter            usb-devices
fmt                                 nslookup           usbhid-dump
fold                                nspr-config        users
free                                nss-config         utmpdump
funzip                              nsupdate           uuclient
gapplication                        ntp-keygen         uuidgen
gawk                                ntpdc              vdir
gdbus                               ntpq               vi
gencat                              ntptime            view
getconf                             numfmt             vim
getent                              od                 vimdiff
getfacl                             oldfind            vmstat
getfattr                            openssl            w
getopt                              passwd             watch
gettext                             paste              watchgnupg
gettext.sh                          pathchk            wc
gettextize                          pcap-config        wdctl
gflags_completions.sh               pcprofiledump      wget
gio-querymodules                    pcre-config        whereis
git                                 pcregrep           which
git-cvsserver                       pcretest           who
git-receive-pack                    pg                 whoami
git-shell                           pgawk              whois
git-upload-archive                  pgrep              x86_64
git-upload-pack                     pidof              x86_64-cros-linux-gnu-curl-config
glib-compile-resources              pinentry           x86_64-cros-linux-gnu-gpg-error-config
glib-compile-schemas                pinentry-curses    x86_64-cros-linux-gnu-krb5-config
glib-genmarshal                     pinentry-tty       x86_64-cros-linux-gnu-libgcrypt-config
glib-gettextize                     ping               x86_64-cros-linux-gnu-nspr-config
gmsgfmt                             ping6              x86_64-cros-linux-gnu-nss-config
gobject-query                       pinky              x86_64-cros-linux-gnu-pcre-config
gpasswd                             pkaction           x86_64-cros-linux-gnu-xml2-config
gpg                                 pkcheck            xargs
gpg-agent                           pkexec             xenstore
gpg-connect-agent                   pkill              xgettext
gpg-error                           pkttyagent         xml2-config
gpg-error-config                    pldd               xmlcatalog
gpg2                                pmap               xmllint
gpgconf                             pr                 xmlwf
gpgparsemail                        printenv           xtrace
gpgscm                              printf             xz
gpgsm                               prlimit            xzcat
gpgtar                              protoc             xzcmp
gpgv                                ps                 xzdec
gpgv2                               pscap              xzdiff
grep                                pspax              xzegrep
gresource                           ptx                xzfgrep
groups                              pwd                xzgrep
gsettings                           pwdx               xzless
gss-client                          quota              xzmore
gtester                             quotasync          yes
gunzip                              randstat           ypdomainname
gzexe                               rbash              zcat
gzip                                readlink           zcmp
head                                realpath           zdiff
hexdump                             recode-sr-latin    zdump
hmac256                             rename             zegrep
host                                renice             zfgrep
hostid                              replcon            zforce
hostname                            reset              zgrep
hostnamectl                         rev                zic
i386                                rkt                zip
iconv                               rm                 zipcloak
id                                  rmdir              zipgrep
ifconfig                            rngtest            zipinfo
igawk                               rootdev            zipnote
indexcon                            route              zipsplit
infocmp                             rpcgen             zless
infotocap                           rsync              zmore
install                             runc               znew
ionice                              runcon
 Available commands /sbin (/sbin is a softlink to /usr/sbin):
core@localhost ~ $ ls /sbin/
adcli                getfilecon         modinfo                          sm-notify
addgnupghome         getpcaps           modprobe                         ss
addpart              getpidcon          mount.nfs                        sserver
agetty               getsebool          mount.nfs4                       sshd
applygnupgdefaults   getseuser          mpathpersist                     sss_cache
arp                  groupadd           multipath                        sss_debuglevel
auditctl             groupdel           multipathd                       sss_groupadd
augenrules           groupmems          nameif                           sss_groupdel
autrace              groupmod           newusers                         sss_groupmod
avcstat              grpck              nfsidmap                         sss_groupshow
badblocks            grpconv            nfsstat                          sss_override
blkdeactivate        grpunconv          nologin                          sss_seed
blkdiscard           gss-server         nscd                             sss_useradd
blkid                halt               nstat                            sss_userdel
blockdev             hwclock            ntpd                             sss_usermod
brctl                iconvconfig        ntpdate                          sssd
bridge               ifcfg              nvme                             start-statd
btrfs                ifstat             open_init_pty                    sulogin
btrfs-convert        init               osd_login                        swaplabel
btrfs-debug-tree     insmod             pam_tally                        swapoff
btrfs-find-root      ip6tables          pam_tally2                       swapon
btrfs-image          ip6tables-apply    pam_timestamp_check              switch_root
btrfs-map-logical    ip6tables-restore  parted                           sysctl
btrfs-select-super   ip6tables-save     partprobe                        tc
btrfs-show-super     ipmaddr            partx                            tcsd
btrfs-zero-log       ipset              pdata_tools                      telinit
btrfsck              iptables           pivot_root                       testsaslauthd
btrfstune            iptables-apply     plipconfig                       thin_check
cache_check          iptables-restore   pluginviewer                     thin_dump
cache_dump           iptables-save      policyvers                       thin_metadata_size
cache_metadata_size  iptunnel           poweroff                         thin_repair
cache_repair         iscsi-iname        pvchange                         thin_restore
cache_restore        iscsi_discovery    pvck                             thin_rmap
capsh                iscsiadm           pvcreate                         togglesebool
cfdisk               iscsid             pvdisplay                        tpm_hostpolicy
cgdisk               iscsistart         pvmove                           traceroute6
chcpu                kadmin.local       pvremove                         tune2fs
checkarray           kadmind            pvresize                         umount.nfs
chgpasswd            kdb5_util          pvs                              umount.nfs4
chpasswd             kdump              pvscan                           unix_chkpwd
compute_av           kexec              pwcheck                          unix_update
compute_create       key.dns_resolver   pwck                             update-ca-certificates
compute_member       kpartx             pwconv                           update_engine
compute_relabel      kprop              pwunconv                         update_engine_stub
compute_user         kpropd             quot                             useradd
consoletype          kproplog           quotacheck                       userdel
convertquota         krb5-send-pr       quotaoff                         usermod
coreos-postinst      krb5kdc            quotaon                          uuidd
coreos-setgoodroot   ldattach           quotastats                       uuserver
coreos-tmpfiles      ldconfig           rarp                             veritysetup
cryptsetup           lnstat             raw                              vgcfgbackup
ctrlaltdel           load_policy        readprofile                      vgcfgrestore
ctstat               logoutd            realm                            vgchange
debugfs              logrotate          reboot                           vgck
delpart              logsave            repquota                         vgconvert
depmod               losetup            request-key                      vgcreate
dhcpcd               lshw               resize2fs                        vgdisplay
dmeventd             lsmod              resizepart                       vgexport
dmsetup              lspci              restorecon                       vgextend
dmstats              lvchange           rmmod                            vgimport
dumpe2fs             lvconvert          rngd                             vgimportclone
e2freefrag           lvcreate           routef                           vgmerge
e2fsck               lvdisplay          routel                           vgmknodes
e2image              lvextend           rpc.idmapd                       vgreduce
e2label              lvm                rpc.mountd                       vgremove
e2undo               lvmchange          rpc.nfsd                         vgrename
e4defrag             lvmconf            rpc.rquotad                      vgs
ebtables             lvmconfig          rpc.statd                        vgscan
ebtables-restore     lvmdiskscan        rpcbind                          vgsplit
edquota              lvmdump            rpcdebug                         vigr
era_check            lvmetad            rpcinfo                          vipw
era_dump             lvmsadc            rtacct                           visudo
era_invalidate       lvmsar             rtcwake                          vmcore-dmesg
era_restore          lvreduce           rtmon                            warnquota
ethtool              lvremove           rtpr                             wipefs
exportfs             lvrename           rtstat                           xfs_admin
fdisk                lvresize           run_init                         xfs_bmap
filefrag             lvs                runlevel                         xfs_copy
findfs               lvscan             runuser                          xfs_db
fixparts             matchpathcon       saslauthd                        xfs_estimate
fsadm                mcstransd          sefcontext_compile               xfs_freeze
fsck                 mdadm              selinux_check_securetty_context  xfs_fsr
fsck.btrfs           mdassemble         selinuxexeccon                   xfs_growfs
fsck.cramfs          mdmon              semodule                         xfs_info
fsck.ext2            mii-tool           sestatus                         xfs_io
fsck.ext3            mke2fs             setcap                           xfs_logprint
fsck.ext4            mkfs               setenforce                       xfs_mdrestore
fsck.ext4dev         mkfs.bfs           setfilecon                       xfs_metadump
fsck.minix           mkfs.btrfs         setfiles                         xfs_mkfile
fsck.xfs             mkfs.cramfs        setpci                           xfs_ncheck
fsfreeze             mkfs.ext2          setquota                         xfs_quota
fstrim               mkfs.ext3          setsebool                        xfs_repair
gdisk                mkfs.ext4          sfdisk                           xfs_rtcp
genhomedircon        mkfs.ext4dev       sgdisk                           xqmstats
genl                 mkfs.minix         showmount                        xtables-multi
getcap               mkfs.xfs           shutdown                         zramctl
getconlist           mkhomedir_helper   sim_server
getdefaultcon        mklost+found       slattach
getenforce           mkswap             sln

First step to micorservices: CoreOS on virtualbox (1)

Sun, 2017-08-13 03:41
I read some articles about microservice architecture and about kubernetes / apache mesos.
My conclusion from these articles is, that lightweigt servers are a key point to this microservice architecture. Just to learn how tiny such a OS could be, i will try to install CoreOS inside virtualbox.

There is an easy way to get CoreOS running ("booting CoreOS container linux from ISO"), but there some limitations stated on the CoreOS website:

  1. There is no straightforward way to provide an Ignition config.
  2. A mininum of 1024M of RAM is required to boot Container Linux via ISO.
So just download the iso image coreos_production_iso_image.iso and create a virtualbox vm:





 Then mount the coreos_production_iso_image.iso as boot cd/dvd
 and here we go:
At this point we have something like a live cd running. Because nothing was installed on the hdd and it is not possible to umount the ISO image.

How to get from this point to a installed operating system on disk, i will show in a following posting.

(bash): The most useless commands (9)

Thu, 2017-08-10 13:03
After talking about
  1. rev
  2. yes
  3. sl
  4. cowsay
  5. cmatrix
  6. cal
  7. rig
here another pretty useless command:



$ pi 10
3.141592653Manpage:
DESCRIPTION
       The  pi  command  prints  100 decimal digits of Archimedes' constant pi or a number of
       digits specified by an integer parameter on the command line.

Ingress: Level 16 reached...

Mon, 2017-07-24 17:00
After long time playing google/niantic's ingress (the predecessor of pokemon go - all the arenas are portals in ingress, most of them created by ingress players) i reached the last level:



And the usual welcome package:


I am wondering, wether i should continue playing or quit the game for now or ever.
Perhaps reading this discussion (What do lvl 16 players play for?) may help me.

Pages