Installation

[article] [edit page] [discussion] [history]

From AMF Wiki

15 minutes

This is the time u need to install AMF from a clear OS.

Requirement

What you need before:

And now install AMF

For install the Apache Mobile Filter suite follow this steps:

CENTOS

mkdir foo
cd foo
aptitude install libapache2-mod-perl2 libgd-gd2-perl libgd-tools
a2enmod perl
cpan Apache2::AMFWURFLFilter Apache2::Filter Apache2::RequestRec Apache2::RequestUtil Apache2::Connection\
Apache2::SubRequest Apache2::Log CGI::Cookie\
APR::Table CGI::Cookie LWP::Simple Imager Image::Resize Image::Scale IO::Uncompress::Unzip Cache::FileBackend Cache::Memcached
wget http://www.sourceforge.net/projects/mobilefilter/files/latest/download
tar -xzvf Apache2-ApacheMobileFilter*
cd Apache2-WURFLFilter-X.XX/
perl Makefile.PL
make
sudo make install

Note: replace X.XX with the last version (for ex. 3.30)

UBUNTU (many thanks to Scott Pakin)

apt-add-repository ppa:pakin/other
apt-get update
apt-get install libapache2-apachemobilefilter-perl

LINUX

Another solution is to use the installer script AMF_Packages_Installer.sh:

wget http://sourceforge.net/projects/mobilefilter/files/Packages/AMF_Packages_Installer.sh/download
. ./AMF_Packages_Installer.sh

REMEMBER: This is script is tested in all platform for any issue write to http://groups.google.com/group/amf-device-detection

Configuration AMF+ filter
AMF and mod_rewrite
Personal tools