Installing PIL in a virtualenv on Ubuntu 12.04

http://www.sandersnewmedia.com/why/2012/04/16/installing-pil-virtualenv-ubuntu-1204-precise-pangolin/ APR 16, 2012 The following technique should work for both 32-bit and 64-bit systems. Install the build dependencies: sudo apt-get build-dep python-imaging Symlink the libraries: sudo ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib/ sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/ sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/ Install: pip install PIL You should see something like …

Installare PostgreSQL 9.0 e pgAdmin3 su Ubuntu Server 10.04LTS

I repository per PostgreSQL 9.0 sono mantenuti da Martin Pitt, come comunicato anche dal sito Postgresql Procediamo con l’installazione, apriamo un terminale e digitiamo: sudo apt-get install python-software-properties sudo add-apt-repository ppa:pitti/postgresql sudo apt-get update sudo apt-get install postgresql-9.0 libpq-dev postgresql-contrib-9.0 php5-pgsql   L’installazione è terminale e da questo momento avremo …

Git Repository How To Create a Remote Shared

Per annullare l’ultimo push: “git reset –hard HEAD^” for one commit behind HEAD or “HEAD^^” for two commits behind HEAD – one ^ for each commit behind HEAD. I prefer this way. per connettersi (git clone): ssh://claudio@esempio.it:22/home/git/project2.git http://kovshenin.com/2011/howto-remote-shared-git-repository/ So Github doesn’t work for you? This article is about setting up …

Apache Settings Virtualhost

Debian Logo

Here an example of a setting for Apache virtualhost First of all install apache2 if is not installed then chose www-data as owner of the directory var/www recursively create the directory www.esempio.it create the directory www.esempio.it/cgi-bin for log files create the directory /var/log/www.esempio.it [shell] apt-get install apache2 chown -R www-data:www-data /var/www …