Converting crt to PEM
Took two steps:
openssl x509 -in input.crt -out input.der -outform DER
openssl x509 -in input.der -inform DER -out output.pem -outform PEM
Redhat Cluster is a nice HA product. I have been implementing it for a while now, lecturing about it, and yes – I like it. But like any other software product, it has few flaws and issues which you should take under consideration – especially when you create custom “agents” – plugins to control (start/stop/status)…
I was required to auto map a USB DoK to a KVM VM (specific VM, mind you!), as a result of connecting this device to the host. I’ve looked it up on the Internet, and the closest I could get there was this link. It was almost a complete solution, but it had a few…
When I’ve created my setup (displayed below), I took into account the possibility of disconnection, or process fall, and I’ve left pppd to deal with it, by trying to connect just as it has fallen down. It was a good solution for the scenarios where there is a temporary, short timed disconnection. It fails to…
Using iptables to achieve poor man’s load balancing for a single server
Just to remember, there is an explanation here, from which the following directive can be taken: (cpio -id; zcat | cpio -id) < /path/to/initrd.img Related posts: Extracting multi-layered initramfs Rapid-guide – Updating RedHat initrd Replace Old NTP Commands With “chronyc” on a Modern Linux Extracting/Recreating RHEL/Centos6 initrd.img and install.img Powered by YARPP.
Every Linux admin is familiar with the long time running through a large directory tree (with hundred of thousands of files and more) can take. Most are aware that if you re-run the same run-through, it will be shorter. This is caused by a short-valid filesystem cache, where the memory is allocated to other tasks,…