Blog Archives

Suppressing the password request on ssh

When from a machine one needs to often access another one via ssh, it may be annoying to have to give the password every time. It is however simple (just three commands!) to let a machine trust another one by

Posted in Admin

Mirroring an ipad on a mac

Just bought a new iPad Pro with its fantastic (but really expensive) pencil. The best jotting tool I found is Notability. The next step is to be able to project what’s being written on the ipad on a projector. Of

Tagged with:
Posted in Apps, Multimedia, Utilities

Using resources in a java program

Setting the correct path for resources in a Java program so that they both work from command line and from inside a jar can be confusing and daunting. We show a simple, step by step working example, which uses both

Tagged with:
Posted in Uncategorized

Docker tutorials 7: installing Apache2 on docker (on a Mac) – part 2: using a Dockerfile

We can now apply what we learned in Tutorial 6 by using the Dockerfile techniques we discussed in Tutorial 3. We had the following Dockerfile: FROM ubuntu:latest MAINTAINER myname <myname@mydomain.com> RUN apt-get update RUN apt-get -y upgrade CMD /bin/bash We now need

Tagged with: ,
Posted in Docker

Docker tutorials 6: installing Apache2 on docker (on a Mac) – part 1

We need to install apache2 on the container start it access its port (80) Now things get a bit complex: remember that on a Mac we need to run a VirtualBox to have a Linux VM onto which docker acts.

Tagged with: ,
Posted in Docker

Docker tutorials 5: sharing a portion of the file system with docker

1) Create a directory that will be shared with the docker machine, and let su create a file in it mkdir mySharedDirectory cat > mySharedDirectory/myFile hello ^D 2a) Let us assume we have an image like the one created in

Tagged with:
Posted in Docker

Docker tutorials 4: image management

In tutorial 3 we have seen how to build an image, now let’s see how to manage them. Let’s assume we have some images at hand: docker images REPOSITORY                     TAG                 IMAGE ID           CREATED             SIZE myname                        myLinux2           50ee9e4f504d       13 minutes ago    

Tagged with:
Posted in Docker