Posts Tagged ‘Linux’

Compiling Spring 3 from SVN on Linux

Wednesday, November 11th, 2009

Mostly so I don’t forget myself next time :-)

Don’t forget to checkout only the wanted HEAD revision from svn:

svn co -r HEAD https://src.springframework.org/svn/spring-framework/trunk spring-framework

If you have ant as part of your distro (as is the case in gentoo), download a binary ant distribution and run <your_new_ant_path>/bin/ant instead of the ‘default’ ant to prevent any classpath issues.

Make sure you do

export ANT_OPTS=”-XX:PermSize=128m -XX:MaxPermSize=128m”

If necessary add -Xmx512m or more too.

Enter build-spring-framework and run

<your_new_ant_path>/bin/ant

to build Spring. In order for Eclipse to be able to find all required jar’s, you’re probably best running the resolve ant target in most of the subprojects.

Open import the projects to an Eclipse workspace, set the IVY_CACHE classpath var in Eclipse prefs to spring-framework/ivy-cache

I had a few errors in tests for the oxm bundle failing, but since I don’t really need them anyways I just removed the src/test source dirs from the oxm project in Eclipse :-)

It’s 2 AM so yea, the above is probably pretty messy :)

Enabling networking in CentOS 5.2 on my ASUS P6T Deluxe

Wednesday, February 18th, 2009

Update : below stopped working after upgrading the kernel to version 2.6.18-92.1.22. Trying to find out why :-|

Update2 : okay I was too fast probably, seems to be working fine after a reboot :-)

The 2 onboard Marvell 88E8056 PCI-E ethernet on my P6T Deluxe weren’t autodetected by CentOS 5.2.

Got this workaround from the CentOS bugtracker :

# modprobe sky2
# echo “11ab 4364″ > /sys/bus/pci/drivers/sky2/new_id

It works! :-)

There’s a warning of data corruption on Gigabyte boards with this workaround, so better check first and do some more looking if you’re in that category.

Still no Google Chrome for Linux -> byebye Chrome for me

Saturday, January 10th, 2009

Google, while not doing any evil and supporting open source and all, is really screwing up it’s browser by simply only providing a decent build for window, even in with it’s latest 2.0 pre-beta (whatever the hell that might mean, where are the days when an alpha was an alpha build and a beta was a beta)

We all should have known this would be the case, it’s a company and in the end, the numbers are against us linux users. Who cares if a substantial part of the tech community runs linux or apple, it’s a browser for the end user!

This little joyride has gone on long enough, back to firefox, opera and some konqueror for me. Really looking forward to firefox 3.1 by the way, native ogg theora support and omg-faster-than-chrome-javascript!

I should have known that ‘comic’ looked too neat for an app targeting linux + not that I could live without my firefox extensions anyways :-)

So, although I’ve used and not especially dislike chrome, getting stuck on a single platform browser is the last of my intentions. Uninstalled baby!

64bit Flash plugin for Linux, finally!

Monday, November 17th, 2008

Pigs seem to be able to fly as Adobe today released a preview 64bit release of it’s Flash plugin!

Are the days of using nspluginwrapper finally over? I suppose we can’t expect too much of a preview but those days seem to be coming!

If now we get a fast 64bit native java runtime (with a working -client option please), I guess the productive life in the 64bit Linux world is finally no more painful than the 32bit world.

Kudos Adobe, this is a step in the right direction!

Now, please also create a Linux version equivalent (or even something better maybe) to Digital Editions and I can actually take advantage of my digital subscribtion to www.standaard.be to read the entire paper digitally.

Nice overview of VMWare config settings

Saturday, June 21st, 2008

First of all, the overview

This actually helped me resolve running VMWare images on ntfs partitions mounted with ntfs-3g on linux, which generated errors with the default configuration. Once I set added

mainMem.useNamedFile = "false"

to the .vmx file, I was able to run the images just fine from my ntfs partitions.

Managing drives and devices in Linux

Friday, April 18th, 2008

Although I’ve got persistent device naming etc. configured, I’m still hoping to fully grasp & master the needed configfiles for udev, hal etc. So I found a few links (lots of overlap but hey):

On a sidenote, the annoying bug in Ubuntu Hardy Beta (causing new mount dirs to be created in /media with appended underscores) appears to have been fixed. Time to install some more (92 in fact) updates :-)

Update: I forgot to add a nice PDF from Linux Magazine on the subject : Dynamic device management in udev

That went well

Saturday, April 5th, 2008

The only thing which seemed to cause a problem was my lack of use of persistent naming. I changed the label of my ubuntu partition to Ubuntu using

e2label /dev/sdc7 Ubuntu

and changed the root partition definition in my grub.conf to

root=/dev/disk/by-label/Ubuntu

and everything worked flawlessly.

OpenOffice 2.4 OpenGL transitions are nice, and so far the entire distro has a pretty nice feel to it. I’ll be looking forward to the result in 3 weeks.

Enabling FXP transfers from a different IP address than the source IP in vsftpd

Friday, October 19th, 2007

Since I keep forgetting, to enable fxp transfers from a different IP than the one initiating the transfer put the following in /etc/vsftpd/vsftpd.conf:

pasv_promiscuous=YES
port_promiscuous=YES

That’ll be all :-)

Installing RHEL 5 packages on CentOS 5

Sunday, October 14th, 2007

Good idea is to make /etc/redhat-release
look like : Red Hat Enterprise Linux Server release 5 (Tikanga)

Might suppress a few errors because of failed OS detection for example.

Hello world

Sunday, October 14th, 2007

After having posted occasionally @ blogs.dogzor.org, I finally got around to creating a personal blog.

I suppose my life has been increasingly infiltrated by technology since my youth.
I ‘wrote’ my first application (copying it from a book) using QBasic on DOS 5 in SoftPC on a Macintosh Performa 630 when I was 11 or 12 years old.
What can I say, those were the days :-)

By the time I was 16 I got Ivor Horton’s Beginning Java 2 published by Wrox Press for my birthday (€ 60 was a lot of money). It was a first edition and
I was sad to find out the latest available JDK for Mac was version 1.1 (back then Apple had it’s MRJ, MacOS Runtime for Java), and even worse, Java 2 would never be supported on the 68k platform (PowerPC was *expensive*). In the end it didn’t really make a difference as I only got around to doing real Swing development when I started university. As it turned out by the way, the first MacOS version to support full Java 2 was Mac OS X. I was a happy Mac user, but not always.

By the time I was 19 I got to know Filip in Leuven who became a dear friend and an influence to be reckoned with when it comes to IT. He was the first I knew to have GNU/Linux as his primary platform (Gnome 1.4 powered Gentoo) and I remember gasping as I saw him pull in some dir structure over an SMB network from a commandline after filtering out the files he didn’t want. Furthermore, his Dell laptop had a nice framebuffer, HD encryption and so on. I wanted it.

It took me at least a year to get up to speed on Linux (still learning of course) but by the time I had switched to a professional highschool (university was a tad too theoretical for my taste I guess) I was doing school work in OpenOffice 1.0 and fought many fights. At the same time I got more and more into Java and finally got around to using Eclipse as an IDE. As the Java as a language and framework became more and more clear to me, I got to use Netbeans once they release version 5.0 (Matisse!) and spent quite some time developing this ‘n that.

In February 2 years ago, I left to do an internship in Nantes, France, where I spent my time in mysql, php, xhtml, css & javascript.

After graduating, I started my own one-person company and got to work on a made to measure software solution for the medical sector.
About six months later I joined an IT company and was lucky enough to be able to run Linux on a ThinkPad in a fully supported manner.
At home I still enjoy my Gentoo most of the time, although a CentOS found it’s way onto my system a few months back as RHEL is one of the supported platforms. Learning the ins & outs of WebSphere Portal, Workplace Web Content Management and Lotus Quickr prove to be a challenge in their own right, but I love the software itself so no problem there :-)

In my time away from the screen I quite often grab a hold of my guitar or lay back and enjoy a good music DVD or episode. One day I hope to be able to produce some quality music, on the right place at the right time.

I’ve been lucky enough to have a good thing with someone going for a good 2 years now, so quite often we’ll be cooking and watching a movie, getting some beers, doing some trip. Needless to say she provides a welcome counterweight to my sometimes too IT-dominated life (it’s an imperfect world) .

I’ll probably be adding some of my posts from their previous location, since some were as much for self-reference as anything else. And yep, the theme etc. is on the todolist … somewhere :-)