Ubuntu Easy Install
you need admin right to execute these commands
apt-get install libapache2-mod-php5 php5-mapscript php5-cli php5-sqlite gettext apache2ctl restart
download Cartoweb install package http://www.cartoweb.org/downloads/cw3.4/cartoweb-withdemo-3.4.0.tar.gz
uncompress it in /var/www/ :
cd /var/www/ tar xzvf cartoweb-withdemo-3.4.0.tar.gz
setup Cartoweb :
cd cartoweb3 php cw3setup.php --install --base-url test
you can now access it: http://localhost/cartoweb3/htdocs/demoCW3.php
for language support, you need to add the related two(2) letter lang alias :
nano /etc/locale.alias
and add the following line (you can copy an existing line, simply modify the alias)
fr fr_FR.ISO-8859-1
(this is only for french) then run
locale-gen fr_FR.UTF-8 locale-gen fr_FR dpkg-reconfigure locales