Posts

Showing posts with the label linux

Using Gmail to Relay Email

I'm preparing to move everything I host in house to save on monthly fees. My bandwidth needs are very low, but I need a lot of storage for home movies. Running a small linux server off my cable modem makes the most sense now. Sending email from this server is a bit tricky, but with the help of some excellent tutorials, I've managed to tell postfix to relay all email through gmail . Google Apps For Your Domain is hosting my email, so this works out perfectly. (note: I'm only using regular gmail for my relay so far. I will try to use my google apps account soon.) If you want to use gmail to relay email, check out the Gmail Relay Emails for Postfix on Redhat tutorial or the Gmail Relay Emails for Postfix on Ubuntu tutorial . Note that if you are running Ubuntu , you need to download the Thawte root SSL certificates, as outlined in a comment at that tutorial . As a side note, I'm using DNS Park for my DNS hosting. DNS Park will host two free domains for you, and ...

Installing OpenSSL Support for Ruby on Ubuntu

The more I work with Ubuntu , the more I think it's a very good desktop, but not a good development machine. For instance, you can install Ruby 1.8.4 from the package management system, but not 1.8.5 (or 1.8.6 which is now the latest). So you're stuck compiling ruby on your own. Usually that's not too big of a deal. However, for some reason, the default way of compiling Ruby from source on Ubuntu leaves out the installation of OpenSSL support. I had the development openssl libraries package installed, so that wasn't it. I didn't see any errors in the configure process or during compilation. Turns out, to get OpenSSL to compile and install with Ruby on Ubuntu, you need to follow these steps *after you've installed ruby*: cd ruby_src_dir/ext/openssl ruby extconf.rb make make install Success! That seems a bit harder than it should be, huh?