Category: Linux
-
Automatic renewal of letsencrypt.com certificates
Written by
on
On my personal servers I am using letsencrypt certs on debian and/or ubuntu. Several times now I couldn’t renew it automatically, due to a various of reasons, but there is…
-
cn=admin,cn=config password and bdb_equality_candidates: not indexed
Written by
on
So you want to modify your config of ldap, you might want to use ldapvi, such as below: ldapvi -h ldap://localhost -D cn=admin,cn=config -b cn=config — Login Type M-h for…
-
RSnapshot – migrate to other drive
Written by
on
Once you start using rsnapshot and you haven’t thought about increasing hard drive requirements, you didn’t setup LVM, you might want to migrate yours rsnasphot directory to bigger drive, preferably…
-
Obtaining UUID of partition
Written by
on
To get UUID of the partition /dev/sdc3, run: [cc lang=”bash”] blkid /dev/sdxx [/cc] You might use it to create /etc/fstab entry for this drive, if you can expect that it…
-
BadBlocks checking
Written by
on
Want to be sure new drive is fine (has no badblocks?) Run [cc lang=”bash”] badblocks -wvs /dev/sdx [/cc] (might take ~50 hours on 3TB HDD). It will write down specific…
-
Using underscores in DNS hostname in Bind (named)
Written by
on
Underscores are not valid characters in hostnames. If you have configured your DHCP server to register hostnames in DDNS, following issue may occur: some windows hostnames may contain “_” in…