Google removing all user-uploaded videos from google video

Google is going to remove all user-uploaded videos from google video in a couple weeks, so this is just a friendly reminder, that if you previously used googlevideo, and have content uploaded there that is not available anywhere else (like youtube, vimeo, dailymotion, etc) Now is the best time to download them before they are gone forever.

You can use keepvid to download the videos in flv format that can easily be uploaded elsewhere.

[HowTo] Install ChiliProject (or Redmine) on CentOS

This a quick and dirty guide to getting a chiliproject or redmine installation up on CentOS 5.5 with the following:

  • Ruby Enterprise Edition
  • Rails
  • RubyGems
  • Passenger
  • Apache
  • MySQL

This is just a suggested method that I would use for testing locally, there are MANY alternate, better ways of doing this. This is just to get you started in the right direction to setup and test ChiliProject/Redmine. In the future I’ll post a full proper tutorial as soon as I get time. In this “tutorial” I assume you are doing things as root on a server intended only to host a single redmine, in general this is not a secure or perfect setup but is fine for internal use.

First, let’s install some prerequisites and the things we want from the centos repositories:

yum install gcc zlib-devel curl-devel expat-devel gettext-devel httpd httpd-devel apr-devel apr-util-devel mysql mysql-server mysql-devel openssl openssl-devel make gcc-c++ patch readline-devel ImageMagick ImageMagick-devel

This will get mysql and apache, as well as the basic tools you should need to build the remaining applications.

Start httpd and make sure there are no errors, configure the server to start automatically

/etc/init.d/httpd start
Starting httpd:                                            [  OK  ]
/sbin/chkconfig httpd on

Same with mysql

/etc/init.d/mysqld start
Starting MySQL:                                            [  OK  ]
/sbin/chkconfig mysqld on

Ensure both are done correctly:

/sbin/chkconfig --list httpd
httpd          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
/sbin/chkconfig --list mysqld
mysqld         	0:off	1:off	2:on	3:on	4:on	5:on

Download, extract and install ruby enterprise edition, if you are not comfortable managing and updating a source installaiton, you should consider using this repository or rvm.

tar xzvf ruby-enterprise-1.8.7-2010.02.tar.gz

Follow the prompts in the installer, the defaults should be fine.

Create some useful symlinks:

ln -s /opt/ruby-enterprise-1.8.7-2010.02/bin/rake /usr/bin/rake
ln -s /opt/ruby-enterprise-1.8.7-2010.02/bin/gem /usr/bin/gem
ln -s /opt/ruby-enterprise-1.8.7-2010.02/bin/ruby /usr/bin/ruby
ln -s /opt/ruby-enterprise-1.8.7-2010.02/bin/irb /usr/bin/irb

Remove the included copy of rails and install the version required by ChiliProject

gem uninstall rails
gem install rails -v=2.3.5

Let’s install passenger:


Once it completes it will give you the following lines to place in the apache config, you can use your favorite editor to add these to /etc/httpd/conf/httpd.conf

   LoadModule passenger_module /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/passenger-3.0.2/ext/apache2/
   PassengerRoot /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/passenger-3.0.2
   PassengerRuby /opt/ruby-enterprise-1.8.7-2010.02/bin/ruby

Restart Apache:

/etc/init.d/httpd restart

In case you don’t have git and svn installed, enable EPEL repositories and get them:

su -c 'rpm -Uvh'
yum install git subversion

Now just follow the directions at (or redmine)

Once you have confirmed it’s working with webrick, add this to your apache conf:

   <VirtualHost *:80>
      DocumentRoot /somewhere/public    # <-- be sure to point to 'public'!
      <Directory /somewhere/public>
         AllowOverride all              # <-- relax Apache security settings
         Options -MultiViews            # <-- MultiViews must be turned off

In my example setup it would be like the following:

<VirtualHost *:80>
      DocumentRoot /var/www/chiliproject/public
      <Directory /var/www/chiliproject/public>
         AllowOverride all
        Options -MultiViews

Restart apache and everything should be working as expected :)

This is just a rough guide, hit me up on IRC for specific help. If you are setting up a site for public use, this guide isn’t recommended at all.

FBB: The Story of Lincoln’s Beard

The Story of Lincoln’s Beard

It is probably the most famous face, and certainly the most famous beard, in the history of the world. There are more portraits of it in existence than of any other face. Indeed, they outnumber the entire population of flesh-and-blood human beings who have ever lived onthe planet.