talking ssl-enabled smtp with php

This is just a repost so I remember. When talking SMTP via a PHP script with a webserver, remember to initiate with “EHLO” instead of the usual “HELO”. HELO does not allow for STARTTLS. Details: fwrite(): SSL operation failed with code 1. OpenSSL Error messages:error:1420C0CF:SSL routines:ssl_write_internal:protocol is shutdown

managing disks and using lvm (and other tools)

This is probably one of the best posts:https://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk/ Just a collection of some links that I found nifty, dealing with disks on Linux: fdisk -l or parted -l, lsblk (aka list block devices)List all hard disks connected to a CentOS system – lshwCheck for hard disk errors / signs of failure on CentOS ServerCentOS /… Continue Reading managing disks and using lvm (and other tools)

human progress

If you ever feel like the world is falling apart, that every outlook is pessimistic, keep in mind that: Now this does NOT mean that complacency should be your aim. Always stay critical. But do a situation check from time to time, to keep in touch.

Git assume-unchanged

Just for future reference. git update-index –assume-unchanged (and its counterpart) are very helpful git commands:

LVM Cheatsheet

Just for me to remember the most basic commands: pvdisplay List physical devices.vgdisplay List volume groups.lvdisplay List logical volumes. lvmdiskscan List devices that may be used as physical volumes lvextend Extend logical volume (by percent, up to specified size or by amount)resize2fs Resize file system after extending a logical volume pvcreate Create physical volumevgcreate Create… Continue Reading LVM Cheatsheet