[B]
AVS 2.2 - NON-ADULT VERSION - Documentation[/B]
[B]I. Server Requirements[/B]
Please make sure that your server meets the following configuration.
If you are unsure, contact your hosting company / server administrator for
confirmation.
[LIST]
[*][B]Linux Server[/B] (Fedora Core, CentOS, Ubuntu, Slackware or SuSE).
[*][B]Apache Web Server[/B]
[LIST]
[*]Support for AcceptPathInfo
[*]Support for MultiViews (or mod_rewrite which is slower)
[/LIST]
[*][B]MySQL[/B] 5.x
[*][B]PHP[/B] 5.x (mod_php/CGI)
[LIST]
[*]Support for GD2 Library
[*]Support for MySQL
[*]Support for Curl
[*]Support for uploadprogress ([URL]http://pecl.php.net/package/uploadprogress[/URL] - only if you want to display an upload progress on uploads)
[/LIST]
[INDENT] [B]Recommended PHP Configuration[/B]
[/INDENT]
[LIST]
[*]safe_mode off
[*]open_basedir off
[*]max_execution_time 7200
[*]max_input_time 7200
[*]memory_limit (with 1MB more then the maximum video upload size)
[*]post_max_size (maximum video upload size)
[*]upload_max_size (maximum video upload size)
[*]exec() should be allowed
[/LIST]
[*][B]PHP CLI 5.x[/B] (see above + register_argc_argv ON)
[*][B]Mencoder 1.0rc1[/B] (support for jpeg, gif, png, freetype, h264, lame, xvid, mad, win32codecs, dv, 3gp, mp4, theora)
[*][B]Mplayer 1.0rc1[/B]
[*][B]FFmpeg (from SVN)[/B] (support for jpeg, gif, png, freetype, h264, lame, xvid, mad, win32codecs, dv, 3gp, mp4, theora
[*][B]flvtool2 or yamdi[/B] (yamdi recommended))
[*][B]MediaInfo[/B] ([URL]http://mediainfo.sourceforge.net/en[/URL])
[/LIST]
HD Requirements
[LIST]
[*][B]x264 Library[/B] for Mencoder ([URL]http://www.videolan.org/developers/x264.html[/URL])
[*][B]GPAC MP4Box[/B] ([URL]http://gpac.sourceforge.net[/URL])
[*][B]neroAacEnc[/B] ([URL]http://www.nero.com/eng/technologies-aac-codec.html[/URL])
[*][B]Additional codecs[/B] required for some rare video formats ([URL]http://www.sklav.com/?q=node/2[/URL])
[/LIST]
[B]II. Installation and Configuration Instructions[/B]
1. Edit [B]include/config.paths.php[/B] and set [B]$config['BASE_URL'][/B] to your site's url.
2. [B]OPTIONAL:[/B] If you use a subdirectory for your installion set [B]$config['RELATIVE'][/B] to your subdirectory (eg: $config['RELATIVE'] = '/subdirectory')!
3. [B]OPTIONAL:[/B] If you use a subdirectory for your installation edit [B]loader.php[/B] and set [B]$relative[/B] to your subdirectory (eg: $relative = '/subdirectory')!
4. [B]Create a database[/B]. Edit [B]include/config.db.php[/B] and set the database information (name, user and password).
5. Import the sql dump from [B]sql/avs.sql[/B] in your database (most likely using phpMyAdmin).
6. [B]Upload[/B] all files and folders from [B]/upload[/B] to your server.
7. Chmod following files and directories to 0777.[INDENT] /include/config.local.php
/cache/frontend
/cache/backend
/media/albums
/media/categories/game
/media/categories/photo
/media/categories/video
/media/games/swf
/media/games/tmb
/media/games/tmb/orig
/media/photos
/media/photos/tmb
/media/player/adv
/media/users
/media/users/orig
/media/videos/flv
/media/videos/tmb
/media/videos/vid
/media/videos/hd
/media/videos/iphone
/templates/emails
/templates/emails/*.tpl
/templates/frontend/default/static/*.tpl
/tmp/albums
/tmp/avatars
/tmp/downloads
/tmp/logs
/tmp/sessions
/tmp/thumbs
/tmp/uploader
/scripts/media_general.txt
/scripts/media_video.txt
[/INDENT]
8. Go to [B][URL="http://www.domain.com/siteadmin"]www.domain.com/siteadmin[/URL][/B] (login using: admin/admin) and start configuring your website. 9. You can use the Google Video Sitemap generator using the link: [URL]http://www.yourdomain.com/sitemap.php[/URL]