Skip to content

Installation

ifuschini edited this page Mar 21, 2018 · 1 revision

15 minutes

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

Requirement What you need before:

*Install perl 5.8.8 or newer (downloadable from http://www.perl.org) *Install apache webserver 2.0.x or 2.2.x or newer (downloadable from http://httpd.apache.org) *Install mod_perl2 2.0.4 or newer (downloadable from http://perl.apache.org) *Install memcached 1.4.4 or newer (downloadable from http://memcached.org)

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

Tutorial

Clone this wiki locally