Installing rtorrent with the rutorrent web based front-end

The following instructions have been tried on multiple Debian systems and should work perfectly for you. apt-get install subversion apache2 libapach2-mod-scgi php5 php5-cli php5-cgi php5-curl mktorrent unrar unzip php5-geoip curl libncurses5-dev pkg-config libcurl4-openssl-dev libsigc++-2.0-dev libterm-readline-gnu-perl automake libapache2-mod-php5 php5-xmlrpc libtool NOTE: If you have run an “apt-get install rtorrent”, you MUST run the following before installing from source or rtorrent will crash when you try to use rutorrent. apt-get remove libxmlrpc-c3 rtorrent

Continue reading ↦

LDAP Authentication in Apache

This is very useful if you have to use authentication on some web pages but want to use an ldap server you already have running instead of having to migrate or make different users in an htpasswd file. My example is doing this on a remote client machine that will be connecting to a remote ldap server. a2enmod ldap a2enmod authnz_ldap Add the following to enable auth on the /var/www/secure directory.

Continue reading ↦

Rescan SCSI devices connected to your system

So I have an Areca 1680ix raid card which I use to interface all of my disks with my operating system (usually pass-through). Since I do a lot of hot-swapping, it is necessary for me to rescan the scsi devices connected for the operating system to recognize them and give them a drive letter. Additionally, you don’t want this to disable any of your currently mounted drives. A lot of sites tell you to unload and relaod the kernel module that represents your raid card driver.

Continue reading ↦

Installing your Kernel Headers in a Debian and RHEL based OS

So I wanted to install my NVIDIA drivers and I knew it would ask for some awesome kernel headers. In operating systems that use yum, you could use: <pre class="wp-code-highlight prettyprint">yum install kernel-headers</pre><p></p> You may also want to try: <pre class="wp-code-highlight prettyprint">yum groupinstall "Development Tools"</pre><p></p> ..which will install development tools on your system. But in Debian/Ubuntu based distributions, you should use the following which installs “build-essential” packages which will help provide NVIDIA and other driver based installers everything they need to tailor the driver for your system including gcc, make, and dpkg-dev.

Continue reading ↦

Controlling your Android phone from your web browser!?

\Intro// So I have some womanly type friends who like to carry on long conversations with me via text messaging. Now I don’t have a problem with texting and i dont have a problem with long conversations but I do have a problem with picking up my phone every other minute to answer a text. It gets annoying especially when I’m sitting in front of a computer with a nice beautiful keyboard that isn’t 4 inches.

Continue reading ↦

Ice Cream Sandwich and you..

So Ice Cream Sandwich is the new Operating System rolling out on the Android assembly line in the first quarter of this new year. It has a lot of new features and looks to add some very exciting features. A lot of people are wondering though when or if their device will be getting it. I have found an amazing up-to-date resource outlining details concerning your device and whether or not it will get the update and if so, when.

Continue reading ↦

Redirect Loop Error in Google Chrome

So one of the academic sites we use called Blackboard causes some people to get redirect loop errors in google chrome while others not really. The error looks similar to the following: Error 310 (net::ERR_TOO_MANY_REDIRECTS) This is caused because aparantly the site you are going to has a redirect to the same site again. The following are steps you can take to try and fix this issue. Some sounds really weird and out there but they have worked for various people (dont ask me why or how, just try em.

Continue reading ↦

Mass Renaming on the Command Line

With a little for loop and some magical sed, I was able to figure out a quick line to help me rename all the files in a specific folder that have characters I don’t want there. This line will look at all the .jpg’s in the current directory and rename them taking out any instance of “( ” and replacing it with ” – “. I’m sure you can figure out how to tailor this to your liking by editing the type of file extension and putting in your own sed statements.

Continue reading ↦

Migrate LDAP from one server to another

So I’m migrating to a new server and needed to move all my users and groups over to my new machine. Here’s how I did it: 1) I installed everything and got the server (slapd) running. Refer to another guide on here that tells you how to do this. 2) use slapcat on old machine to export the database: slapcat -n 1 > /root/slapcat.dump 3) scp that over to the new machine.

Continue reading ↦