Category: Linux

  • Persistent Debian Daemons

    As a long time Redhat / Fedora user, starting daemons on system boot in Debian has been a mystery.  I recently took the time to search for the answer, rather than placing the start command in the rc.local file and it’s not that bad.  As long as the init script exists in /etc/init.d, run the…

  • Replacing a MySQL Master Node

    I recently had to build out a new MySQL node and replace an existing replication master.  Here is the basic procedure that I followed. 1. Build out the new server 2. Install MySQL.  Place the data directory on a logical volume with at least 10% free space in the volume  group (for snapshot backups). 3.…

  • Sony Cybershot with Fedora 9

    While attempting to dump some photos from my newly acquired Sony Cybershot camera onto a Fedora 9 workstation, I had to switch to “Mass Storage” mode on the camera before I was able to mount the volume. When I inserted the USB cable into my camera and turned it on, the dmesg output was as…

  • vi Tip of the day!

    Something that I need to do frequently is to set some text to lowercase in vi which is currently in mixed or upper case. A quick way to do this is: :1s/\(.*\)/\L\1/ The above command acts on line 1 in the file, takes the entire line, enclosed in parentheses to create a group, then uses…