Basic web server backup script – MySQL and Apache

I was working on a dedicated server the other day and needed a quick script to backup the website and the MySQL database. The following bash script will do just that, simply modify the directory paths within the tar command to ensure every folder you need is included, the MySQL command assumes all databases need …

Continue reading ‘Basic web server backup script – MySQL and Apache’ »

Raspberry Pi Screensaver and Screen Blanking with Pidora

So I tried and failed to disable the screensaver and screen blanking within pidora on the Raspberry Pi. I was up against a time target and needed to find a solution. I needed the screen to stay live, with no screen blanking or screensaver, even when the keyboard and mouse were completely disconnected. I tried …

Continue reading ‘Raspberry Pi Screensaver and Screen Blanking with Pidora’ »

distributed.net client RPM Package

This week I decided to dust off my RPM hat and build an RPM for the distributed.net client application.  Firstly to test my setup here and secondly to make the client easier to deploy and remove from my systems.  I have packaged the core DNETC application (v2.9104.510), and added my own DNETC System V init …

Continue reading ‘distributed.net client RPM Package’ »

DNETC System V init Script

This week I was looking into init scripts again, its been a while… Anyhow, I remembered that I had written one for distributed.net’s client app. I thought I would share it, place in “/etc/init.d/dnetc”. It should work fine on current releases of Fedora, RHEL and CentOS. Its designed for the sysadmin to configure dnetc for …

Continue reading ‘DNETC System V init Script’ »

Firefox SSH protocol handler (Linux)

I have a web page that lists servers I need to connect to. This page has several hyper links for each server to key webpages on that host. I wanted to be able to connect using ssh too, at the click of a link. (eg: ssh://myserver.example.com and ssh://user@myserver.example.com) I started doing a bit of research …

Continue reading ‘Firefox SSH protocol handler (Linux)’ »