Droo-Labs

the perspicacious ramblings of droo

Linux

Triple Head with nVidia Optimus on Fedora 21 (includes Docking udev Rules for Systemd)

In this post, we’re going to look at how to setup a laptop (Lenovo T530, in this case) to utilize both the nVidia and Intel GPUs to drive a triple head or quadruple head system and to automatically configure those displays at boot, on docking, and undocking. If you don’t have a Lenovo T530, aren’t […]

, , , , , , , , ,

Resolving the infamous rdesktop error: failed to open keymap en-us

So, a simple post for today! I’ve been using rdesktop-vrdp a lot lately and I’ve been very displeased because the arrow keys, as well as del/ins/home/end/pgup/pgdown don’t work. Of course, I’ve been too busy to even bother looking into it until today, although I wish I would’ve sooner. A simple little showed the following: The […]

Running Scripts Using NetworkManager

For years now, I’ve had to run vpnc after connecting my school’s wireless. Truly, it never bothered me; however, at my new job, I need to run route after I connect to their wireless. For whatever reason, that got to me. I didn’t really want to run route when I wasn’t on their network (it […]

, , ,

Distributed Commands With Ruby

Lately, I’ve been getting acquainted with Rails development at work. It’s been a pretty steep learning curve (for that matter, I guess it still is), but I’ve enjoyed it thus far. So, with my new found Ruby skills (or, I guess more-so my new found need to learn Ruby), I wrote a script that uses […]

, , , , ,

HowTo Setup Authenticated Postfix

I recently had the experience of setting up Postfix. It works really well, in my opinion; however, setting it up wasn’t the simplest for what I wanted. But, at least it was simpler than sendmail Reading through several articles on the Internet, everyone was giving steps on how to setup postfix to handle e-mail for […]

, , ,

Setup sendmail to use Gmail’s SMTP server

Well, I did this on Fedora 12, so I’ll be basing everything off of Fedora packages and yum; however, this should work on any distro. Things you’ll need: sendmail, sendmail-cf, cyrus-sasl Might need something more, but if so, I’ve overlooked it… The first thing we’re going to do is setup our authinfo. Do the following: […]

, ,

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.

,

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. […]

, , ,

.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 […]

,

‹ Previous Posts