User Tools

Site Tools


vdb:installation

This is an old revision of the document!


Installation (outdated)

لا إله إلا الله الحي القيوم الواحد الأحد وأن محمد رسول الله الصادق الامين المبعوث رحمة للعالممين عليه افضل الصلاة واتم التسليم إذكر الله الحي القيوم الملك القدوس

Requirements

VideoDB works with the typical LAMP and WAMP environments. Here are the requirements in detail:

  • A Webserver which supports PHP (Apache recommended)
  • A recent version of PHP, at least 4.3.2(in 2.x version) is required – PHP 5 works, too
  • A MySQL Database
  • A Webbrowser (something new with stylesheet support is probably better)

VideoDB can Bold Text

First time installation

Unzip the tarball into a directory below your webserver document root and make the cachedirectories writable.

Example:

$> cd /var/www
$> tar -xzvf ~/videodb-*.tgz
$> chmod 777 videodb/cache/*

You can then use the installer script to create your database. Just point your browser to http://www.hemptec.pointclark.net/videodb/install.php and follow the instructions.

Manual Installation

If this script doesn't work for you, file a bugreport to the mailinglist and create the database yourself by using the createtables.sql file in the doc directory.

Example:

$> mysqladmin -p create videodb
$> mysql -p videodb < /var/www/videodb/doc/createtables.sql

Now edit the /videodb/config.inc.php file to match your database settings.

Update from a previous version

For updating from a previous version just delete all files but the cache directory and keep your database. Then unzip the new tarball as described above.

When opening the videoDB index page, videoDB will automatically recognize that a new database version is required and run the installer. Alternatively, you may call the install.php to upgrade your database or apply the updatedb.sql by using mysql's -f switch to ignore errors.

Example:

$> mysql -p -f videodb < /var/www/videodb/doc/updatedb.sql
vdb/installation.1340686307.txt.gz · Last modified: 2012/06/26 06:51 by 117.229.102.213