2009-04-01から1ヶ月間の記事一覧

Ubuntu and static IPs

It is difficult to configure an Ubuntu 8.10 Desktop to have a static IP due to some software called Gnome Network Manager smashing the relevant configuration file. The following blog post has more information: http://chrisjohnston.org/2008…

Ruby 1.9, mysql, Phusion Passenger, and rails on Ubuntu

Here are some gotchas when trying to install Ruby on Rails on Ubuntu using Ruby 1.9, mysql, and Passenger (mod_rails).The mysql gem fails. In particular, running gem install mysqlwill fail with something like this: gem install mysql Buildi…

Sound distortion in Ubuntu

This entry is more of a running notebook than an informative post intended for others.Occasionally, sound in Ubuntu 8.10 (Intrepid) gets heavily distorted: there is severe reverb and voices come out robotic and alien-like to the point of i…

Ubuntu: no sound in Flash

One of the most common problems with a fresh Ubuntu installation is sound not working, particularly with Flash videos. This is apparently due to a bad configuration of PulseAudio. The web is riddled with blog entries and forum posts about …

Adding a certificate to the Java SSL keystore

The Java SSL keystore file is typically located at: $(JAVA_HOME)/jre/lib/security/cacertsThis file contains the certificates of CAs that you want to trust. To add a certificate to this file, use the keytool program that comes with the JRE.…

in `require': no such file to load -- zlib (LoadError)

When trying to install rails on an Ubuntu 8.10, I got the following sort of error: $ sudo gem install rails ... in `require': no such file to load -- zlib (LoadError)The same error occurs when running: $ sudo gem updateTo fix this, ensure …

mod_rails and environment variables, proxy setting for ruby-openid

The ruby-openid library has support for deployments behind a corporate proxy, but you have to enable it programmatically. Place this in environment.rb after the Rails::Initializer block. ENV['HTTP_PROXY'] = "http://myproxy" ENV['HTTPS_PROX…

最初は

Hi.I need something to jot down notes mostly related to programming and other systems stuff...So now I am trying this out.