Category: Net: Techy: Linux

  • Techy: Find and replace on Linux excluding SVN folders

    Just another snippet aid to memory, this find and replace (using perl) uses Linux’s find’s “prune” syntax to “prune” the path before it to avoid doing and search and replace on .svn folders: find -path ‘*/.svn’ -prune -o -type f -exec /usr/bin/perl -pi -e “s/ORIGINAL/NEW/g” {} \;

  • cPanel: Error: Package system can not be repaired automatically

    If, like myself, you have recently upgraded the cPanel control panel system on your Red Hat Enterprise Linux 5.2 server and received the error message “Error: Package system can not be repaired automatically” when upgrading Apache, then it’s probably caused by a problem with either the RedHat Package Manager (RPM) or YUM. To fix it, […]

  • Techy: 10 Absolute Nos! For Freelancers

    Wake Up Later has a list of 10 Absolute “Nos!” for Freelances which include (with my comments): Can you show me a mock-up to help us choose a designer/developer? When I worked for a web hosting company, we did waste a lot of time doing web site designs for people as “mock ups” and a […]

  • Techy: Find All Symlinks (Symbolic Links) on a Linux System

    I’ve just needed to try and find all symbolic links (symlinks) on a RedHat Enterprise Linux server so I can replicate the setup of the server (for some reason, the config files and other settings are in “non-standard” places and are symlinked from the original location). To find all the sym links, just run this […]

  • Techy: Setting up Private Key Authentication in Linux for Rsync

    If you wish to be able to automatically log in from one (server a) to another (server b), or you wish to setup rsync so that you can automatically send your backups from “server a” to the remote backup server “server b”, then the following steps should help in the configuration of this: Login to […]