Category: Useful Stuff

  • Repairing MYSQL database after a crash

    With linux, its a good idea to monitor your disc space carefully as if you run out of space you can create all sorts of problem.  Elsewhere I will post a disc space usage script that you might find useful. So you had a crash due to lack of space it is highly likely that…

  • What Is Dynamic Remarketing All About?

    Remarketing has been popular for a while among the PPC advertising crowd, and with Google’s recent introduction of “dynamic remarketing”, online retailers (the feature is only available to the retail sector at the moment) get a new advertising tool to play around with. Dynamic marketing allows marketers to target shoppers with personalized advertising. It works…

  • Setting up Varnish with Virtualmin – Centos in 5 steps

    I have just finished setting up Varnish on my test server that uses Webmin/Virtualmin, with Apache on Centos. It has been a little bit of a voyage of discovery but I think I have cracked it. Much of what I have here is based on many other blogs and forums. In essence once you know…

  • Using fail2ban to stop WordPress attacks on Administrator

    There is a plugin for WordPress that works with fail2ban so you can lock out at the firewall persistent attempts at invalid passords  http://wordpress.org/plugins/wp-fail2ban/ it works  by login attempts and has a filter too. However, with so many attacks on admin or administrator, which no one should really use anyway, I have written another filter so…

  • To set a background job from the terminal in Linux

    If you run a command from the shell terminal, and you realise that it is going to run a while, you can put it into the background first ctrl-z which suspends it, then bg which starts it running in background, then disown -h which detaches the job from your session, this is important as if you exit…