Author: lookash

Bash history with timestamp

Very often we are working on shared environments. And very often we are hearing “It wasn’t me…” when we are trying to identify who executed what.

We can get list of logged users from the last command, but how to linked these outputs with the list of commands from history? And/or how to push all commands to be written in history when users are using tmux or screen?

Read More

Let’sEncrypt (finally)

For such a long time I’ve been using StartSSL certificates for my webs (and jabber….). But after all their affairs I lost my trust in them. And not only me – more and more companies nowadays revoking their CA from the list of approved and trusted CAs.

Also I’m lazy and always forget to renew the certificate so I was looking for solution that can auto-renew all certificates I need…

And last (but not least) reason why I wanted the change – it’s so popular now to use the Let’s Encrypt CA!

Read More

How to fake physical HW in KVM

Funny story……

Imagine – you have brand new physical server… And you don’t want to use HyperV (I understand this), but still you want to use the Windows licence that is bundled with the machine on OEM DVD.

You start booting…….. And then – you end with message that you can install this image only on the machine that it belongs to. Luckily in KVM we can “fake” the machine. πŸ˜‰

Read More