Archive for the ‘technology’ Category

Shuttle SG33G5

I needed a new computer for home and this is what I ened up getting:

  • Shuttle SG33G5
  • Intel Core 2 Quad Q6600
  • 4GB DDR2 PC6400 800MHz RAM
  • Western Digital Raptor 150GB HDD
  • LG SuperMulti GSA-H62N SATA DVD Writer

The Shuttle barebones uses the Intel G33 chipset so it comes with an Intel Graphics Media Accelerator 3100. No more binary-only video drivers!

Installing Linux on the box was a bit of a challenge. I couldn’t get the latest
Gentoo LiveCD to see the HDD. Eventually I found
that the Ubuntu Gusty Tribe 5 Alternative CD had the necessary drivers. So I installed Gentoo from a rescue shell on the Ubuntu CD and it was all good.

I got pretty much everything working except Compiz-Fusion which seems to be a Mesa issue with the G33 chipset.

I compiled the system with:

CHOST=”x86_64-pc-linux-gnu”
CFLAGS=”-march=nocona -O2 -pipe”
CXXFLAGS=”${CFLAGS}”
ACCEPT_KEYWORDS=”~amd64″
MAKEOPTS=”-j5″

Config files available:

The box has been great so far.

Tuesday, September 4th, 2007

Building a mail gateway 0.3

I’ve updated my docs on how to build a mail gateway using Postfix, DSPAM, ClamAV and apache to v0.3. You can get them from:

Comments/suggestions are welcome.

Creative Commons License

Friday, August 24th, 2007

Building a Mail Gateway

One of the projects I’m working on needed a mail gateway. We use DSPAM and I’ve set it up a few times before for different clients. This setup was a little different that I had normally used and the documentation wasn’t as good as it could have been.

To fix that, I’m releasing a generic how to configure a mail gateway using Postfix, DSPAM, and ClamAV as a front end to a Microsoft Exchange server. It also shows how to configure Apache to proxy Outlook Web Access requests. The OS used is Ubuntu Server.

Comments/suggestions are welcome.

Creative Commons License

Sunday, August 12th, 2007

D620 Fingerprint Reader

I came across this post today which says that it’s possible to use the fingerprint reader on my Dell D620 notebook under Linux.

Unfortunately, it seems that it only works with a 32-bit system. I’m running 64-bit on my notebook. That’s too bad. Hopefully that will get fixed in the near future.

Saturday, July 14th, 2007

Days of action

I was planning to go to the Montreal Jazz Festival with some friends on the weekend. Alas that was not meant to be as some Indians decided to shutdown the railroad and 401 highway between Ontario and Quebec.

I’ve been working with Ruby on Rails for the last couple of weeks. We are using it to build our support website. So since I had some free time this weekend, I continued on with that.

Overall, I’ve been impressed by RoR. It’s been very easy to learn. It’s a huge improvement over other frameworks I’ve used.

Getting it working with Apache was fairly simple, only ran into a couple of small hick ups. Here is how I got things working on RHEL v5:

# yum install ruby ruby-devel ruby-rdoc
# tar zxvf /path/to/rubygems-0.9.4.tgz
# cd rubygem-0.9.4
# ruby setup.rb
# gem install rails --include-dependencies

# yum install httpd-devel httpd apr apr-devel apr-util-devel emacs-common mysql-devel
# wget http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz
# tar zxvf fcgi-2.4.0.tar.gz
# cd fcgi-2.4.0
# make && make install

# wget http://prdownloads.sourceforge.net/mod-fcgid/mod_fcgid.2.1.tar.gz?download
# tar zxvf mod_fcgid.2.1.tar.gz
# cd mod_fcgid-2.4.2
# cp Makefile.AP2 Makefile
# nano -w Makefile

top_dir =/usr/lib/httpd
INCLUDES=-I /usr/include/httpd -I /usr/include/apr-0

# make && make install

# nano -w /etc/ld.so.conf.d/ruby
/usr/local/lib
# ldconfig
# gem install fcgi
# gem install mysql -- --with-mysql-config=/usr/bin/mysql_config

(select option #3, mysql 2.7 (ruby))

# nano -w /etc/httpd/conf.d/fcgid.conf

LoadModule fcgid_module /usr/lib/httpd/modules/mod_fcgid.so

<IfModule mod_fcgid.c>
SocketPath /tmp/fcgid_sock/
AddHandler fcgid-script .fcgi
</IfModule>

# nano -w /etc/httpd/conf.d/vhosts.conf

<VirtualHost *:80>
SetEnv RAILS_ENV development
ServerName www.myserver.com
DocumentRoot /path/to/railsapp/public
ErrorLog /path/to/railsapp/log/apache.log

<Directory /path/to/railsapp/public>
Options ExecCGI FollowSymLinks
AddHandler fcgid-script .fcgi
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

# nano -w /path/to/railsapp/public/.htaccess

RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
AddHandler fcgid-script .fcgi

# service httpd restart

Tuesday, July 3rd, 2007

VMware Workstation 6.0

I upgraded to VMware Workstation 6.0 and I’ve been using it for the last day or so. Things I like about it so far:

  • VMware now available as 64-bit binaries
  • Fixes freezing issue I was having with v5.5 and kernel 2.6.21
  • Better integration into GNOME desktop
  • USB 2.0 support in VMs

My only complaint is that I can’t use the VMI paravirtualization interface because it’s x86 only (at least as of kernel 2.6.21). Hopefully that changes soon.

The upgrade from v5.5 costs $99 USD. I use it a lot and it’s worth it to me. I’ve looked at the open source KVM and Xen solutions but the management tools just are not there yet.

Saturday, May 12th, 2007

D620 Configuration

I got some email asking to see some of my configuration files for my Dell D620 laptop. I thought I’d put them online so if anyone else wants to see them, they will be available.

If there is something else you want to see, just ask and I’ll put it up.

Friday, March 2nd, 2007

  •  

    August 2008
    M T W T F S S
    « Jul    
     123
    45678910
    11121314151617
    18192021222324
    25262728293031
  • Categories

  • Archives

  • Meta