Recent database tricks learned

Lately I've been busy working with databases for my spare time projects. I imported a huge dump of data into the db via CSV import, but forgot to add an Unique Id Column (Primary Key). Not willing to do the whole import job again, I searched for a solution ...

View comments.

more ...

How to fix Ubuntu 12.04 LTS bugs

While installing a new server on my work this week, I found 2 most irritating (and non-professional) bugs in the LTS release (latest version) Ubuntu 12.04 (server).

“Signal out of range” when starting grub after server installation

Fix: Boot from the live cd and open a terminal. Assuming your ...

View comments.

more ...

Artikel: Is cloud computing de toekomst?

Voor het vak SOTA (State of the Art) binnen mijn opleiding Informatica aan de Hogeschool Rotterdam, heb ik een artikel geschreven waarin diverse aspecten van Cloud computing uitgelicht worden. Het is voornamelijk vanuit de invalshoek van Security en Privacy geschreven, maar ook aspecten als Kosten en Beheer komen aan bod ...

View comments.

more ...

How to auto-generate Doctrine db migrations

Because I always seem to forget this (for Symfony 1.4 btw).
(this assumes you have a running system with an existing database)

  • First, edit schema.yml

  • Then run this from the command line:

symfony doctrine:generate-migrations-diff
  • Then run:
symfony doctrine:build --all-classes

A migration will be generated in /lib ...

View comments.

more ...

Install JBoss AS 7 on a Debian 6 VPS

I followed the following steps, all instructions as root ofcourse:

First install the JDK package for Linux:

wget http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-x64.tar.gz
mkdir /usr/lib/jvm/  
tar zxvf jdk-7-linux-x64.tar.gz -C /usr/lib/jvm/

set it as default:

update-alternatives --install /usr/bin ...

View comments.

more ...