ADIVI System
How-to Install - Linux Version (Ubuntu)
ADIVI requires:
and is tested on these Linux distributions:
- Ubuntu 6.06 LTS; Ubuntu 6.10
- Gentoo
For more information about the operating-system requirements of ADIVI contact us here.
If these components are already installed, you can start installing ADIVI.
[ Install and Configure ADIVI System ]
Check out the Troubleshooting for installation help.
For more information please visit: http://adivi.meticube.com or contact us here.
Install Apache2
- Using the apt-get (Advanced Package Tool) from Ubuntu, it's easy to install Apache2
[ http://httpd.apache.org ] :
- Open the console application and type:
> ' sudo apt-get install apache2 ' ;

Click here to consult the official guide from Ubuntu, about installing Apache2.
If the installation of the Apache 2 webserver its successfully, you can see the default webpage of apache.
Open a Web Browser:

Installing Mod_Mono (Mono)
- Using the apt-get (Advanced Package Tool) from Ubuntu, it's easy to install mod_mono
[ http://www.mono-project.com ]:
- To begin, open the console application and type:
> ' sudo apt-get install libapache2-mod-mono ' ;
- After installing the mod_mono and the related packages, activate the module on apache using:
> ' sudo a2enmod mod_mono ' ;
- Next we will select which version of ASP.NET to be used (version 1):
> change the file ' /etc/apache2/mods-available/mod_mono.conf ' in a text editor like the fallowing image:

- To finish restart the Apache web server
> ' sudo /etc/init.d/apache2 restart ' ;
- Click here to consult the official guide from Ubuntu, about installing Mod_Mono.
Install SQLite3
- Using the apt-get (Advanced Package Tool) from Ubuntu, it's easy to install sqlite3 [ http://www.sqlite.org/ ] :
- To begin, open the console application and type:
> ' sudo apt-get install sqlite3 '

- To check that sqlite its installed correctly, you can see the available commands using:
> ' sqlite3 .help ' ;
Install and Configure ADIVI
- To begin copy the ADIVI files to the directory '/var/www/adivi/' (or choose a different directory):
- After, change the directory structure permissions:
> ' sudo chmod -R 777 /var/www/adivi/ '

- Next we need to configure the web application, so we will create a new configuration file (adivi.webapp):
> 'sudo pico /etc/mono-server/adivi.webapp';

Note: Change the <vhost> to your machine IP Address, and the <path> to the directory here you copy Adivi files
- After the web application configuration, we need to create the apache site configuration:
> ' sudo pico /etc/apache2/sites-available/adivi ' ;

- Install the website adivi:
> ' sudo a2ensite adivi ' ;
- Finally Reloading apache configuration:
> ' sudo /etc/init.d/apache2 reload ' ;
Next we must change ADIVI config files. We start by changing the config file for the webservices ' /var/www/adivi/bin/hibernate.cfg.xml

Note: Click on the image to see full-size.
In this configuration change the Data Source to point to the ' adivi.db ' file ('/var/www/adivi/adivi.db').
Next we change the flash client config file ' /var/www/adivi/flash/config.xml ':

In this configuration change the ServerUrl to point to the 'webservices layer'
(' http://<IP Address>/adivi ').
You can try if the webservice layer of ADIVI is correctly configured by pointing your web browser to: ' http://<IP Address>/adivi/ServiceAdmin.asmx ',
you should see the fallowing screen.

Finally try the ADIVI Flash client by pointing your web browser to: ' http://<IP Address>/adivi/flash/HypervideoFlashClient.html ',
you should see the fallowing screen:

Login in the ADIVI application and have fun.
Troubleshooting
- If you cannot login on the system, check if the webservice layer is correctly configured here, you can also check the
Adivi log file for errors ' /var/www/adivi/AdiviServer.log ' :

- Aditionally If you cannot login on the system, you can check the Apache log file for errors, and if you find the error ' File does not exist: /var/www/adivi/crossdomain.xml ', this is a security error thrown by flash.
More info here. Change the file ' crossdomain.xml ' in your apache server root to meet your needs:

- If you cannot upload new multimedia files, check the directory permissions in ' /var/www/adivi/Files/ '

|