CentOS install JDK
which javajava -versionls -ltr /usr/bin/javals -ltr /etc/alternatives/javasudo yum updateyum list installed | grep "java"sudo yum install java-1.8.0-openjdk-develcd...
View ArticleWitches' Sabbath with yum install and docker
After a major CentOS update, when I "oc cluster up" I get this:Error: Minor number must not contain leading zeroes "01"the usual "docker version mismatch" issue (go to hell OpenShift)So I "yum install...
View ArticleGoogle maps Java API
The Google MAPS main page is here https://developers.google.com/maps/Entry point for Java API is:...
View ArticleJenkins blueocean plugin with Docker
https://jenkins.io/doc/book/blueocean/getting-started/ and here the Docker installation instructions https://jenkins.io/doc/book/installing/#dockerHere all the Docker images...
View ArticleEncrypting stuff with Openssl
Let's first encode base64 the password:echo -n "pippo" | openssl enc -base64cGlwcG8=man echo says: "-n do not output the trailing newline"This is equivalent toecho -n "pippo" | base64cGlwcG8=You can...
View ArticleItinerary to visit Italy
See also my http://www.javamonamour.org/2012/08/itinerary-to-visit-rome.htmlEverybody goes to Venice, Florence, Pompei and Rome, so I will not cover them. But there are many more astounding places in...
View Articledial tcp lookup index.docker.io connection refused
I was trying to docker run -d -p 8081:8081 --name nexus sonatype/nexus3and I got the scary error "dial tcp lookup index.docker.io connection refused"googling around, they suggest to "reset the docker...
View Articlethe Docker book by James Turnbull
The books - although a bit outdated - is still excellent, very practical, hands-on and detailed.
View ArticleR support in Sonatype Nexus 3.7
What is R ? https://www.r-project.org/about.html but even better https://en.wikipedia.org/wiki/R_(programming_language)What is CRAN ? https://cran.r-project.org/ and...
View Articledocker weblogic
https://hub.docker.com/r/ismaleiva90/weblogic12/docker pull ismaleiva90/weblogic12docker run -d --name myweblogic -p 49163:7001 -p 49164:7002 -p 49165:5556...
View ArticleNexus automation API
The Nexus documentation and examples are horribly fragmentary and scattered - I have rarely seen a such popular product being under-documented in this chaotic way.Since 3.3 there is a Swagger-UI...
View Articlegcloud on CentOS7
for Windows you can install like this https://cloud.google.com/sdk/in Linux it's much simpler:cd /home/centos/curl https://sdk.cloud.google.com | bashthis will install into...
View Articleplay with kubernetes
https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/https://labs.play-with-k8s.com/login with your github accountcreate new instancekubeadm init...
View ArticleGetting started with Ansible in Docker
Since OpenShift uses Ansible, and also since I hate Puppet, I love Python, Ansible is based on Python and I always wanted to learn a Provisioning tool other from Puppet to prove that Puppet folks are...
View ArticleKatacoda tutorials about docker, kubernetes, git...
http://katacoda.com/learnthese are really amazing tutorials, hands-on and brilliantly explained. MUCH better than any book I have read so far.
View Articledocker monitoring CPU and memory usage
you can run "top" on the host machine, or even better use "docker stats":docker stats https://docs.docker.com/engine/reference/commandline/stats/#usageCONTAINER CPU % MEM USAGE / LIMIT MEM % NET I/O...
View Articledebug maven settings
mvn archetype:generate -DarchetypeArtifactId=wildfly-javaee7-webapp-archetype -DarchetypeGroupId=org.wildfly.archetype -DarchetypeVersion=8.2.0.Final(create a nexustests artifactId)cd nexustests/mvn -X...
View Articleandroid tablet as extra monitor
I am using SPACEDESK https://www.spacedesk.net/ as an extra monitor for my Fire Tablet. It's free and it works seamlessly as it was an extra monitor. I have configured it as 3rd monitor, because I...
View ArticleKubernetes interactive tutorial online
https://kubernetes.io/docs/tutorials/kubernetes-basics/cluster-interactive/module 1$ minikube versionminikube version: v0.17.1-katacoda$ minikube startStarting local Kubernetes cluster...$ kubectl...
View ArticleKerberos
https://en.wikipedia.org/wiki/Kerberos_(protocol)KDC = Key Distribution CenterTGT = Ticket-Getting TicketAS = Authorization ServerST = Service TicketTGS = Ticket Granting ServiceSPN = Service Principal...
View Article