Installing PostgreSQL 9.0 on Ubuntu

Thanks to Martin Pitt , who maintains the packages for Ubuntu, nstalling the latest version of PostgreSQL on Ubuntu (Lucid) is nothing more than updating your /etc/apt/sources.list with

deb lucid main
deb-src lucid main


apt-get update


apt-get installpostgresql-9.0

I recommend reading the release notes and he outstanding good postgresql documentation.

Install Glassfish on a virtual server

If you happen to rent a virtual server, you might want to check the mem limits first before starting an endeavour to install Glassfish on it. The installer requires more than 256MB which is the confirmed available memory of my virtual box. I get this straight away:

h000000:/opt # sudo java -Xmx256m -jar glassfish-installer-v2ur2-b04-linux.jar
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

Doesnt matter what mem value I assign, I get the same answer. I gave up on this and move on to another (bigger) V server.

Some Links:

  • SUN Installation Doc (link)
  • Plasticboy Blog (link)
  • Plugin Smithy Software Blog (link)