inetd.info

Everything in one place: databases, projects, photography, links & references

inetd.info RSS Feed
 
 
 
 

Archive for Server

Initial UPS Config Under Debian

In the past a few nasty power outages have caused doom2s array to have a heart attack. I finally got round to getting a UPS (Belkin F6C120*-UNV) and ended up using NUT to talk to it over the belkin software. Good notes by Peter Selinger and a great step by step guide by Avery Fay [...]

Adding a little protection to wp-config.php

Wordpress get’s hacked a lot so it pays to spend a little bit of time looking at http://codex.wordpress.org/Hardening_WordPress. One thing I’ve looked for is how wp-configĀ  needs to be protected.
Only allow yourself & apache access to the file by doing
chown root:www-data wp-config.php
chmod 640 wp-config.php
And make sure .htaccess in the site root is covering some basics
<IfModule [...]

Linux RAID again!

Another (unknown) power outage and another problem for the array. UPS & server lost power around 21:30, come the morning server is powered off. Boot once and hda1 has some a couple of errors but seems OK but then crashes the server with errors. Start again and mdadm freaks out trying to assemble the array [...]

Cheap VPS

Servers on the net are cheap. For a little more than shared hosting you can get a VPS or dedicated server. I signed up with linode for $19.95 US a month, which is twice what I’m paying apis for limited shared hosting. Billy signed with core networks for $29.95 a month for a dedicated server! [...]