Thursday, December 29, 2011

esxi 5.0 - love it or hate it

I love it. Come on, you have to.
It's free (for two cpu's up to 6 cores each and 96 GB of RAM)!
It's easier than Esxi 4.0 (service management included)!
AND it is missing rsync - just like the previous versions. Well, that is the only downside.

Esxi 5.0 changed a bit the way of customizing the barebone hypervisor. No more oem.tgz (which was a pain anyway), welcome .vib's (which hurts even more).

SSH enabling for an example, is now easily done through the ESXi vSphere client (from the Security profile panel). The key management changed a bit tho.
The /.ssh directory is no more; instead, ssh can easily be configured from the


location. More specifically, certificates stored in the


file allows for "freedom of connectivity" for certified hosts. Easy!

If on one side vSphere client has alot of new features for easing your virtual manager life (service enabling / disabling), some things still are missing - like the rsync for example.

Monday, December 26, 2011

svn client for n9

svn is available from the Apache subversion repository.

svn depends on the libapr, libaprutils, libexpat and libdb packages; the first two can be found from the Fremantle 1.3 repo extras-devel. Grab them through wget and install them with dpkg -i (in that order).

The libdb has to be taken from the latest harmattan beta repo (provided you have installed the repository package as mentioned in here); sqlite is also needed but a simple

apt-get install sqlite3-dev

is good enough.

Libexpat can be installed as dev package from apt:

apt-get install libexpat1-dev

Afterwards, you can configure svn (with reference to apr / apr-util corrected):

configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr

and make should work just like a charm :).
After that, make install and your svn will be installed (by default) under /usr/local/bin

Saturday, December 10, 2011

Harmattan repository dependencies package

A first problem that the (few) N9 developers face is presented by the fact that there seems to be no apparent possibility for on-device compilation.
Nokia provides a proper Scratchbox and QT as development environments.
But what can be done for the people who would like to work from Windows and still compile natively?

Well, as always, the truth lies just beneath the surface, and specifically, it lies in a special .deb package deployed on the Nokia Harmattan Beta Repository

At that location, all the different beta's are made available.
We are looking for a very specific package, namely the package harmattan-repository_0.4+0m6_all.deb, which, when installed, will update our aptitude sources with the proper beta repository.

NOTE: at this time, it has not been tested if packages from previous beta versions refer to the latest beta. Thus, I strongly suggest you to grab the mentioned package from the latest beta, always.

So, in order to access the beta repository (and finally perform on-device compilation), follow the simple steps:

1) fire up a shell on your N9, wget the following package:
2) switch to root (devel-su)
3) dpkg -i

Once this has completed, install libc6-dev, gcc, g++ with apt-get and you will be ready to develope on your device! :)