-
Recent Posts
Recent Comments
Archives
- December 2021
- July 2021
- June 2021
- April 2021
- March 2021
- February 2021
- December 2020
- November 2020
- October 2020
- June 2020
- August 2019
- July 2018
- February 2018
- December 2017
- July 2017
- March 2017
- February 2017
- January 2017
- November 2016
- October 2016
- September 2016
- May 2016
- February 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- April 2015
- December 2014
- November 2014
- October 2014
Categories
Meta
Category Archives: Uncategorized
Mail server domains DNS setup: SPF DMARC DKIM
Only texts to change in the records below: Client domain=”DOMAIN.TLD”, and generated DKIM key for DNS=”KEYFORTHEDNS” SPF @ TXT “v=spf1 ip4:46.4.107.162 include:_spf.google.com ~all” DMARC _dmarc TXT “v=DMARC1; p=none; rua=mailto:dmarc@DOMAIN.TLD” Should be same domain otherwise need to allow rua email domain … Continue reading
Posted in Uncategorized
Leave a comment
Create sdcard image file with Linux, fast and with progress bar
# pv -tpreb /dev/mmcblk0 | dd of=image_sdcard-1.img bs=16M -t : Time elapsed-p : Progress-r : Rate of transfer-e : ETA estimation-b : Bytes counter
Posted in Uncategorized
Leave a comment
On 30.5, root certificate for Comodo / Sectigo expired
Replace old certificate chain file CA by new one: https://dtc2.nettitila.fi/new.cert_newroot2.ca
Posted in Uncategorized
Leave a comment
check certificate validity with command line
openssl verify cert.pem openssl verify -untrusted ca-bundle cert.pem
Posted in Uncategorized
Leave a comment
Check SSL certificate content from command line
openssl x509 -text -noout -in /path/to/SSLCert.crt
Posted in Uncategorized
Leave a comment
Return to ap-get / dpkg when ssh connection cuts out
It’s good idea to use “screen”, so you can recover easily your session if the ssh connection breaks. Otherwise just kill the dpkg process, then run # dpkg –configure –pending
Posted in Uncategorized
Leave a comment
grep string recursively and sort output files chronologically
Example: Searching the string “function ” recursively, then passing the list to ls which sorts by time: grep -lir ‘function ‘ . | xargs ls -lart
Posted in Uncategorized
Leave a comment
Proxmox host: add new guest IP with bridged network
Your Proxmox host run multiple Guests. To add new Guest / VM IP using bridge, just do: From the new Guest VM, /etc/network/interfaces: […] auto eth0 iface eth0 inet static address MY-NEW-VM-IP netmask 255.255.255.255 pointopoint MY-PROXMOX-HOST-IP gateway MY-PROXMOX-HOST-IP […] Update Host /etc/network/interfaces … Continue reading
Posted in Uncategorized
Leave a comment