How to create PostGIS database on PostGRESQL (case of Ubuntu)

PROBLEM:
I like to use PostGIS for my GIS work. Creating a GIS database inside PostGRESQL is not straigth forward. I mean just a couple of lines but I do it by hand. My problem is Ubuntu rep installations do not match to the documentation installations. Therefore, I wanted to take a note to myself in this post how do I do it; so I can use it in the future. Maybe you find helpful too.

SOLUTION:
Continue reading

CheckInstall for your locally compiled applications

PROBLEM:
I do mostly compile my scientific tools from source. That gives me an option to compile them with the latest libraries that they are depended on. Most of the source codes are very well maintained and uses great tools like Autotools etc. Of course when you choose to maintain a personal PC like that, you end up with a lot of compiling. My problem was that when I install a successfully compiled code I cannot remove it most of the time or in another words “uninstall” them. One solution is to create Debian packages, or I can install and remove when ever I want with apt tools. BUT, this needs a lot of knowledge on package management. I do not want to spend my time on learning that, I just want a solution that I can remove and compiled code I want whenever I want. Yet, I did not know that there was already a solution for such need. Here is 3 easy steps to do that:
Continue reading

Problem with NEC uPD720200 USB 3.0 Host Controller on Ubuntu 12.04 precise

PROBLEM:
I use 12.04 precise long term service release. I bought a USB 3.0 adapter which repleaces the DVD player and comes with two USB 3.0 ports. After, I have upgraded some time ago to linux kernel >3.0.20 the module for USB 3.0 (xhci) disappered from the kernel. I was suprised because I would expect USB 1.0 to disspaear not a newer technology. But I found a way to make it work again.
Continue reading