Quantcast
Channel: Java mon amour
Browsing all 1121 articles
Browse latest View live

Maven version sorting with Java 8

You can easily sort versions in Maven using org.apache.maven.artifact.versioning.ComparableVersion :pom.xml:<project xmlns="http://maven.apache.org/POM/4.0.0"...

View Article


screen : how to run long running linux commands who survive also a VDI crash

https://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/example:screenCTRL-A c (create new window)topCTRL-A c (create new window)lsCTRL-A n (next window)You are now back in “top”Restart VDILogin...

View Article


Oracle XE DB running as Docker Container, and a freaky Docker error

https://hub.docker.com/r/sath89/oracle-xe-11g/docker run -d -p 8080:8080 -p 1521:1521 sath89/oracle-xe-11gError response from daemon: updating the store state of sandbox failed: failed to update store...

View Article

VMWare, vRealize and Docker

here some statements about vRealize Automarion (VRA) https://blogs.vmware.com/management/2017/07/container-management-vrealize-automation.htmlThis is the...

View Article

groovysh and X11

Running groovysh I get this error:java.awt.AWTError: Can't connect to X11 window server using 'myserver:0.0' as the value of the DISPLAY variableReally weird.... I could fix it only by "unset...

View Article


Apache!

Docs http://httpd.apache.org/docs/2.4/Docker image https://hub.docker.com/_/httpd/mkdir myappcd myappdocker run -dit --name my-apache-app -p 8080:80 httpd:2.4http://localhost:8080/index.html should...

View Article

SELinux

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/security-enhanced_linux/chap-security-enhanced_linux-introduction#sect-Security-Enhanced_Linux-Introduction-Benefits_of_run...

View Article

dind docker in docker , permission denied on /var/run/docker.sock

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.33/version: dial unix /var/run/docker.sock: connect:...

View Article


Jenkins console

interesting presentation (skip first 9 minutes)Scripts:println "I hacked you"new File('/etc/passwd').textprintln "${Jenkins.instance.root}""ls -ltr...

View Article


/var/run/docker.sock

ls -ltra /var/run/docker.socksrw-rw----. 1 root docker 0 Feb 12 15:49...

View Article

Image may be NSFW.
Clik here to view.

Jenkins pipelines

https://www.youtube.com/watch?v=TsWkZLLU-s4&t=1188shttps://github.com/abayer/dec-jam-declarative-demoshttp://www.mdoninger.de/2011/11/07/write-groovy-scripts-for-jenkins-with-code-completion.html...

View Article

Upgrade docker to version 18 on Centos

For stability love I was sticking to docker 1.12....Several new features are interesting, so I am upgrading...This link https://docs.docker.com/install/linux/docker-ce/centos/#set-up-the-repositoryis...

View Article

Downgrade from Docker 18 to Docker 1.12

sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-selinux docker-engine-selinux docker-engineyum list installed |...

View Article


Using Nexus 3 as a Docker registry Proxy

http://books.sonatype.com/nexus-book/3.0/reference/docker.html#docker-proxyIf you are behind a firewall, you need to open :https://registry-1.docker.iohttps://index.docker.io/As explained here...

View Article

WinSCP plugin for Far Manager no longer supported

I love Far Manager for its very quick, keyboard driven interface. It has been my favorite workhorse for at least 15 years.Now unfortunately I can no longer use it to connect to a Centos VB with WinSCP...

View Article


Image may be NSFW.
Clik here to view.

Maven/Eclipse Horror Show

I have updated recently my Maven binaries, of course I forgot to change The "User Settings" property in Eclipse to point to the new location of the settings.xml.Of course Eclipse silently fails to...

View Article

Installing Docker Java and Wildfly on DigitalOcean Centos7 droplet

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-centos-7https://devops.profitbricks.com/tutorials/how-to-install-and-configure-wildfly-application-server-on-centos-7/L...

View Article


VirtualBox Centos7 high CPU for VBoxClient process

The issue is reported here https://forums.virtualbox.org/viewtopic.php?f=6&t=83507Occasionally the VBoxClient eats 100% CPU forever - which affects greatly also the host performance - and the only...

View Article

h2 remote

./h2.sh -tcpAllowOthers -webAllowOthersWeb Console server running at http://localhost:8082 (others can connect)Failed to start a browser to open the URL http://localhost:8082: Browser detection failed...

View Article

Nexus repository administration automation

On the whole, it doesn't seem Sonatype is taking it very seriously. As usual, documentation is scattered everywhere, some automation tools exist but who knows if they are even supported. I think most...

View Article
Browsing all 1121 articles
Browse latest View live