Year: 2013
-
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…
-
Ruby – Regex – Special characters
Written by
on
“There ain’t no such thing as plain text”. Joel Spolsky (what every developer must know about unicode). This text is based on the assumption, that current locale uses UTF-8 encoding.…
-
find & chmod & xargs – changing uid of files
Written by
on
Because of the system reinstallation & user ids remapping, I wanted to update all of the files from given UID to new UID. One of the ways to do this…
-
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…