Warning

These documentation pages are currently under construction and their structure is not ready yet.

As soon as a sufficient number of pages is present, the site navigation will be shown.

Debian / Ubuntu

Specific instructions for Linux Debian-based distributions (such as Ubuntu and others)

Install Apache

# apt-get install apache2

If you want to use mod_rewrite

# a2enmod rewrite# a2enmod proxy

Install MySQL

# apt-get install mysql-server

MySQL on Debian unfortunately comes with latin1 as default character set. You may prefer to change to utf8 in /etc/mysql/my.cnf if that doesn't have an impact on other applications.

[mysqld]
default-character-set=utf8
default-collation=utf8_general_ci
character-set-server=utf8
collation-server=utf8_general_ci

[client]
default-character-set=utf8

Then install the additional required packages

# apt-get install imagemagick curl

For PHP, you have to install a number of libraries as well

# apt-get install php5 php5-mysql php5-xsl php5-curl php-pear php5-cli php5-imagick php5-mhash php5-mcrypt php5-imap

If you want to use server-side video/audio encoding, add the debian-multimedia repository in /etc/apt/sources.list

deb http://www.debian-multimedia.org lenny main

import its key

# wget http://debian-multimedia.org/gpgkey.pub -O - | apt-key add - && apt-get install debian-multimedia-keyring

and install ffmpeg

# apt-get install ffmpeg

If you want to use APC cache

# apt-get install php-apc
Powered by PhPeace 2.5.4