http://ip/drupal5/install.php, to initialize the db and everything else.
Turning clean urls on was as simple as typing two lines of code:
sudo a2enmod rewrite
sudo /etc/init.d/apache2 restart
Then testing the clean urls and turning it on. This may be Ubuntu-specific though.
A bunch of modules were downloaded and installed:
The amfphp is a plugin that requires the implementation available here.