Category Archives: Linux

HTTPS Redirects

Redirecting HTTP to HTTPS for a whole site using virtual hosts:





#Basics snipped for brevity....


   RewriteEngine on
   #RewriteBase /
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]


RedirectPermanent / https://www.foo.com/

CTRL-ALT-DEL: Debian on Desktop

I run debian+gnome on a VMware desktop. One of the annoying things is when I press CTRL-ALT-DEL to lock Windows (the hosting OS), the guest OS picks it up and I come back to a powered down VM.

Google results will tell you that disabling it in /etc/inittab or gconf-edit will do the trick. That’s just not the case.

You need to go to system > preferences > keyboard shortcuts and disable it there.

This completely disables it.

FreeNAS Debian UPS Specs

Initially the UPS was being monitored by a FreeNAS installation, this was changed due to performance issues unrelated to the UPS monitoring software. Details on the migration are still being compiled, meanwhile, read this.

How come I feel there was a lot of time wasted?!

Here are the readings from the UPS. I am disappointed that it is not reporting battery voltage, but at least I am getting % charged.



MariaDB

We have upgraded the websites and email servers from MySQL to MariaDB.

Currently researching changes in tuning, if any.

Jolicloud Download Plop

I was going to try Jolicloud on my netbook but the only way to download it is via bittorrent.

Which is ok, if it’s seeded correctly, but I’ll be damned if I am going sit around waiting for a 700MB download at 8k a second when I’m sitting on a 7Mb connect.

I’d love to try it, but screw that.