The following steps should take you from a freshly installed copy of Ubuntu Server 9.04 to a fully functioning Gitorious server. Install packages aptitude update aptitude install build-essential zlib1g-dev tcl-dev libexpat-dev libcurl4-openssl-dev postfix apache2 \ mysql-server mysql-client apg geoip-bin libgeoip1 libgeoip-dev sqlite3 libsqlite3-dev imagemagick \ libpcre3 libpcre3-dev zlib1g zli