bawdo2001's blog

compiling git on a default ec2 ami

I like to use the latest stable git release on my ec2 instances. Here are the steps I follow to get this done:

wget http://kernel.org/pub/software/scm/git/git-1.7.3.3.tar.bz2
mkdir src
cd src

rvm and gentoo

If you are a Gentoo and Ruby user and you have decided to try out rvm you might end up having trouble using gems.

Japanese Keyboard with xorg 1.8+

Xorg has decided to dramatically change the way input devices are handled again. Without too many gory details basically input device configuration has moved back into the xorg.conf file.

Using the modem in KDDI phones for mobile Internet connectivity

This is related to an earlier blog I wrote about connecting my W41H up. I have recently bought a new W52T and found the setup is identical so I though I would elaborate on my earlier post within the context of a Gentoo install. 

Convert a MySQL DB from latin1 to UTF8

I had a latin1 collated MySQL 4.1 db that contained both English and Japanese text. I dumped the data and then tried to migrate it into my new MySQL 5.0.26 installation. Of course being a bit lazy I did not take the time to check things out properly and was not surprised to find that all Japanese text had become mojibake. I set off on a mission to fix the problem.

StarDict - an excellent replacement for gjiten and rikaichan

"Gjiten is [an excellent] Japanese language dictionary program for Gnome". It has served me well for several years, but yesterday I found a better tool - StarDict.

VMware Appliance - mini distro

I have created a small linux distro compiled specifically for the VMware platform using Linux From Scratch (6.2) as the base. The aim is to provide a basic command line only environment that is quick to boot, and will provide many of the basic GNU/Linux tools that a new user will want to study. Specifically this distro is aimed at students who may not be confident enough to repartition their hard drives and install a complete distro.

This version is specifically designed for dual CPU (or core) machines, as such VMware Player may spit the dummy if you only have one CPU. I have not tested this so if you have any issues with it drop me a line.

Anyway, you can download it from here:

http://www.bawdo.com/index.php?entry=9

Regards, Bawdo2001

TLUG Mailing List is acting up

Hello All,

I have confirmed with tlug.org.au that the mailing list server is acting up. Emails are not finding their way onto the list. That is the list has become a bit of a black hole...

linux.org.au are working on the problem and will hopefully have the mailing lists back online soon.

 Regards, Bawdo2001

 

Automatically reattach to a screen session after logging in via ssh

The following code when added to your .bashrc file will, after logging in via ssh, look for any unattached screen sessions and automatically attach to the first one found. If only attached sessions are found then a list of these will be outputted to std out. Finally, If there are no screen sessions running at all then a new screen session will be created.

How to "select" and generate locales on Ubuntu LTS 6.06 (Dapper)

For those of you who are used to running "dpkg-reconfigure locales" on Debian to select and generate locales you may be a bit disappointed at the seemingly broken way it is done under Ubuntu.

Syndicate content