Archive for Linux Admin

How to force qmail to process the outbound queue

by: WanderingTechy February 2, 2012

If/When you get a DNS problem or other network issue that causes the queue to fail it will fill up at a fair speed.  Use the following to tell qmail to make another attempt at sending. /var/qmail/bin/qmail-tcpok Or you can do this. Run ps axl and find the process id (PID) for qmail-send Run kill [...]

Remove DRWeb from plesk

by: WanderingTechy February 1, 2012

DRWeb has been causing lots of problems on 3 servers.  Here is how to remove it completely If you then get any error messages in your log files do this.

Back to XCFE4

by: WanderingTechy August 10, 2011

After a few days with KDE I decided I didn’t like how buggy it was.  I have moved back to XFCE after trying a few others.  For me I wanted just enough features so I can get my work done without any pauses or glitches that will distract me. I am not 100% happy with [...]

Hosts file for blocking ads and other unwanted crap. speeds up browsing also

by: WanderingTechy July 30, 2011

I used to use a hosts file supplied by a website that has now ceased operations. http://www.everythingisnt.com/hosts.html however  I found this new one from a slashdot post. http://winhelp2002.mvps.org/hosts.htm

Arch Linux review plus XFCE4 vs KDE

by: WanderingTechy July 27, 2011

I have played with Ubuntu in the past and found it bloated and buggy.  I recently tried using Centos as a desktop OS as that is what I develop for and use mostly.  Unfortunately Centos whilst being a brilliant server OS is no good as a desktop unfortunately. I have decided to give arch linux [...]

Upgrading to php 5.3 in Centos 5.6

by: WanderingTechy July 19, 2011

Very simple to use repository at Atomic Corp. Thanks guys http://www6.atomicorp.com/channels/atomic/

Centos 5.6 with Three 3g Dongle ZTE MF112

by: WanderingTechy July 18, 2011

I am setting up a developement laptop that will connect to the internet using a Three 3G modem.  It is a ZTE MF112. This didn’t automatically work in Centos 5.6 and I had no other way of getting it connected to the net so this is what I eventually discovered.  Update the Kernel. Install Sakis3g [...]

Find and Replace across multiple files

by: WanderingTechy July 15, 2011

For example I recently needed to change the paths on 100′s of files across multiple sites on a plesk server where the imported sites had come from an ancient ensim install.  It did over 1,000 replaces. I have replaced the domain name with example.com to protect the identity of the site in question.  The php [...]

Changing the default output IP

by: WanderingTechy June 10, 2011

If you want to change the outgoing IP address of your server use the following command. Execute this command The output should look something like this. If no ‘src’ listed in ‘ip’ output for default route, then main IP on the interface is used for an outgoing connections. You can change it using: Now when [...]

switch off open_basedir across all domains in a plesk server

by: WanderingTechy June 10, 2011

I have a client who wants to turn off open_basedir as he using cross domain includes.  I have recommend against doing this for security reason but he has insisted. I was initially looking at modifying the ./conf/vhost.conf file for each domain and adding the open_basedir config but found a quicker way. add a file called. [...]