How to install itdb in ubuntu?
sudo apt-get update
sudo apt-get install apache2
second, install php and related modules
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
sudo apt-get install php5-gd php5-json php5-sqlite
sudo apt-get install sqlite3 libsqlite3-dev
third, download the itdb package and put it into apache root
wget https://github.com/sivann/itdb/archive/1.23.zip
unzip 1.23.zip
sudo mv itdb-1.23 /var/www
fourth, change permissions of itdb-1.23
sudo cp pure.db itdb.db
sudo chown www-data itdb.db
sudo chmod u+w itdb.db
sudo chown www-data /var/www/itdb-1.23/data
sudo chmod u+w /var/www/itdb-1.23/data/
sudo chown www-data /var/www/itdb-1.23/data/files/
sudo chmod u+w /var/www/itdb-1.23/data/files/
sudo chown -R www-data /var/www/itdb-1.23/translations
sudo chmod u+w /var/www/itdb-1.23/translations
fifth, change the apache configs and restart
# /etc/apache2/sites-available/000-default.conf
DocumentRoot /var/www/itdb-1.23
sudo services apache2 restart