Droo-Labs

the perspicacious ramblings of droo

Quick Overview of SELinux and Apache

I found this link on-line and found it to be quite useful. http://www.beginlinux.com/server_training/web-server/976-apache-and-selinux I refer to it often as I forget some of the commands once in a while when I add new files for Apache to serve.

,

Make it snow

A friend of mine set this up on his page for Christmas. I thought it was kind of cool, so I thought I’d post it here. You can download the code from my site directly here. (Right click or option-click the link and choose “Save As…” to download this file.)

DBDesigner 4 on Fedora 12

I found this very useful article on running DBDesigner 4 on Fedora 8, here. I followed the directions and found it to work on Fedora 11 and Fedora 12. I’m sure it’ll work for just about any distro, so I’m just reposting the directions here as I find it to be a very useful program. […]

, , ,

Visual Studio 6 – Scroll Wheel

The last time I used Visual Studio 6… Not having a scroll wheel drove my bonkers. Well, this time around, I was lucky enough to find this: http://joebott.com/vb6scrollwheel.htm Just run it in the background, and it’ll take care of everything. Much love to this one <3 It’s saved me much pain. (Also, before you go […]

,

.htaccess – No Auth for local access/Auth for outside access

For this, we’ll throw an .htaccess file into the directory you don’t want anyone to access that’s served via apache. For this, we’ll also have to have the following set for the directory in the httpd.conf file: AllowOverides AuthConfig Here’s what the .htaccess file should look like (with a few modifications for location and network […]

,

Fixing The Error: DB_RUNRECOVERY: Fatal error, run database recovery

If you get a message similar to this: [username@localhost ~]$ sudo yum update rpmdb: Thread/process 2402/139688794072832 failed: Thread died in Berkeley DB library error: db4 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 – (-30974) error: cannot open Packages database in /var/lib/rpm CRITICAL:yum.main: Error: rpmdb open failed […]

,

HowTo: Clone a VirtualBox HDD (.vdi)

Okay, this will be short and sweet. Here’s how you clone a VirtualBox HDD in Windows: “C:\Program Files\Sun\VirtualBox\VBoxManage.exe” clonevdi “C:\Users\Andrew\.VirtualBox\HardDisks\Windows XP.vdi” “C:\Users\Andrew\.VirtualBox\HardDisks\Windows XP Clone.vdi” and in Linux: VBoxManage clonevdi /home/andrew/.VirtualBox/HardDisks/WindowsXP.vdi /home/andrew/.VirtualBox/HardDisks/WindowsXPClone.vdi The basic form is “VBoxManage clonevdi sourcevdi destinationvdi”. Now you may ask, why clone a virtual machine’s hard drive? Well, if you want to […]

, ,

Next posts›