Skip to main content


vmware libz libfontconfig libexpat

Archlinux - Kernel 4.11 - VMWare workstation 12.5.7 With this combination, when I launch "vmware", despite the fact I already "export VMWARE_USE_SHIPPED_LIBS=force", I get those lines:

Unable to load /usr/lib/vmware/lib/ version `ZLIB_1.2.9' not found (required by /usr/lib/ Unable to load from /usr/lib/vmware/lib/ cannot open shared object file: No such file or directory Unable to load dependencies for /usr/lib/vmware/lib/
In order to workaround, I decided to get the things to the maximum: Add all shipped libraries in the LD_LIBRARY_PATH.

So I created my custom launcher of "vmware" and this is the content:

LD_LIBRARY_PATH=$( find /usr/lib/vmware/lib/ -maxdepth 1 -mindepth 1 -type d | awk 'BEGIN{p=&quo…
Recent posts

linux nvidia fonts session

Fonts in desktop environment always change across reboots On my Archlinux, I installed proprietary nVidia drivers because of the presence of an nVidia card.
Unfortunately, each time I reboot, I have to set the fonts through the desktop environment in order to have the correct font size.

It's a DPI detection problem According to some community posts, it has to do with DPI detection Hard seting the DPI The solution I choosed is to edit "/etc/X11/xorg.conf" and add
Option "DPI" "96 x 96" in the "Monitor" section.
The "Monitor" section becomes: Section "Monitor" Identifier "Monitor0" VendorName "Unknown" Mo…

path to lines

Convert PATH to lines in order to grep I want to regexp check if a path is in my PATH environment variable.
There are many ways to achieve this, but this one is the one I want to show you today:
# echo $PATH | awk '{gsub(":","\n",$0); print $0;}' /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /var/cfengine/bin
I can then "grep" what I want from this.

exim all mail catcher

All mail catcher with Exim 4, on Debian 8 We have un bunch of "development" VM that has the feature of sending a mail via a relay, or MTA. 
We usually achieve this by setting the "mail host" setting in the used framework or CMS.
But for development purpose, there is no need to really send the message over the Internet: if the "mail host" catches it all and delivers it to a mailbox, the work is done.
Here is how to setup an Exim 4 on Debian 8 in order to make it catched all mail for all destination and always deliver it to a single local mailbox. That signel local mailbox can then be accessed via IMAP so that the development team can check if the message has been sent by the application. Configuring with "debconf" The first stage of configuration is done with debconf
# dpkg-reconfigure exim4-config
Then choose the following answers:

Internet site; mail is sent and received directly using SMTPSystem mail name: (put the FQDN of this machine)IP-addr…

openldap nouvelle configuration

Configuration OLC (on-line configuration)
Historiquement, OpenLDAP se configurait via des fichiers textes "normaux", qu'on modifie et il fallait relancer le serveur pour prendre en charge la nouvelle configuration.

Depuis sa version 2.4, OpenLDAP utilise un nouveau système qu'il appelle OLC.

Dans ce document, il sera traité l'initialisation d'un OpenLDAP avec ce nouveau système, sachant que nous souhaitons:
"dc=rktmb,dc=org" comme racine"cn=admin,dc=rktmb,dc=org" comme super administrateur"rktmb" comme mot de passe du super administrateur Ce document se base sur une CentOS 7, mais il est applicable sur toute autre distribution Linux et même des BSD.

Importation des schémas de base
Dans "/etc/openldap/schema/" il y a plusieurs schemas à charger selon le type d'entrée avec lesquelles l'annuaire sera peuplé.
Les utilisations courantes mettent généralement en jeu "core", "cosine" et "inetorg…

vmware net_device trans_start

VMWare Workstation 12 and Kernel 4.7 When recompiling vmware kernel modules on a kernel 4.7, I get this error:

/tmp/modconfig-xrrZGZ/vmnet-only/netif.c:468:7: error: ‘struct net_device’ has no member named ‘trans_start’; did you mean ‘mem_start’?     dev->trans_start = jiffies;
This seems to be an already encountered problem: I choosed to replace the line, instead of deleting it.

- dev->trans_start = jiffies; + netif_trans_update(dev); I also noted that I had to re-tar the modified sources instead of leaving them untared, because the compilation process only takes the archives. 
On precedent editions of these files, I just left the modified folders "vmnet-only/" and "vmmon-only/" expanded without the need to re-tar them.

tomcat ssl existant

Tomcat: activer HTTPS avec des certificats SSL existantsDans le cas ou un certificat SSL existe déjà, voici comment faire en sorte que Tomcat serve en HTTPS avec les certificats existants.

Pour que cela fonctionne, il faut avoir en sa possession:
La clé privée qui a servie à générer le CSR, généralement un "*.key"Le certificat délivré par le registrar (ce qui a été délivré en réponse à la CSR), généralement un "*.cert"Le certificat de l'autorité, généralement un "*.pem". Par exemple pour Gandi, c'est, docmenté dans
Noter que la documentation officielle de Tomcat couvre un certain cas d'utilisation mais pas celui-ci. En effet, traite des cas ou on souhaite autosigner le certificat, ou alors il traite du cas ou l'on doit encore générer le CSR à partir d'une clé privée, toutes les 2 encor…