Changes between Version 123 and Version 124 of GIS/InstallationGuidelines/Linux


Ignore:
Timestamp:
03/04/11 08:41:51 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIS/InstallationGuidelines/Linux

    v123 v124  
    713713== Cache ==
    714714 * http://mapproxy.org
    715   * http://mapproxy.org/docs/latest/install.html
    716 {{{
    717 wget http://effbot.org/downloads/Imaging-1.1.7.tar.gz
    718 tar zxvf Imaging-1.1.7.tar.gz
    719 cd Imaging-1.1.7
    720 python setup.py install
    721 cd ..
    722 
    723 wget http://pyproj.googlecode.com/files/pyproj-1.8.6.tar.gz
    724 tar zxvf pyproj-1.8.6.tar.gz
    725 cd pyproj-1.8.6
    726 python setup.py install
    727 cd ..
    728 
    729 wget http://pyyaml.org/download/pyyaml/PyYAML-3.09.tar.gz
    730 tar zxvf PyYAML-3.09.tar.gz
    731 cd PyYAML-3.09
    732 python setup.py install
    733 cd ..
    734 
    735 wget http://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.1.1.tar.gz
    736 tar zxvf Jinja2-2.1.1.tar.gz
    737 cd Jinja2-2.1.1
    738 python setup.py install
    739 cd ..
    740 
    741 wget http://pypi.python.org/packages/source/f/flup/flup-1.0.3.dev-20100525.tar.gz
    742 tar zxvf flup-1.0.3.dev-20100525.tar.gz
    743 cd flup-1.0.3.dev-20100525
    744 python setup.py install
    745 cd ..
    746 
    747 wget http://pypi.python.org/packages/source/P/Paste/Paste-1.7.4.tar.gz
    748 tar zxvf Paste-1.7.4.tar.gz
    749 cd Paste-1.7.4
    750 python setup.py install
    751 cd ..
    752 
    753 wget http://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-1.3.3.tar.gz
    754 tar zxvf PasteDeploy-1.3.3.tar.gz
    755 cd PasteDeploy-1.3.3
    756 python setup.py install
    757 cd ..
    758 
    759 wget http://pypi.python.org/packages/source/P/PasteScript/PasteScript-1.7.3.tar.gz
    760 tar zxvf PasteScript-1.7.3.tar.gz
    761 cd PasteScript-1.7.3
    762 python setup.py install
    763 cd ..
    764 
     715  * http://mapproxy.org/docs/1.0.0/install.html
     716{{{
    765717wget http://pypi.python.org/packages/source/M/MapProxy/MapProxy-1.0.0.tar.gz
    766718tar zxvf MapProxy-1.0.0.tar.gz
     
    772724paster create -t mapproxy_conf mapproxy
    773725}}}
    774   * http://code.google.com/p/modwsgi/wiki/IntegrationWithPylons
    775 {{{
    776 wget http://pypi.python.org/packages/source/C/ConcurrentLogHandler/ConcurrentLogHandler-0.8.4.tar.gz
    777 tar zxvf ConcurrentLogHandler-0.8.4.tar.gz
    778 cd ConcurrentLogHandler-0.8.4
    779 python setup.py install
    780 cd ..
    781 
    782 mkdir /var/www/.python-eggs
    783 chown www-data /var/www/.python-eggs
    784 
    785 vim /home/mapproxy/mapproxy.py
    786 import os, sys
    787 from paste.script.util.logging_config import fileConfig
    788 BASEDIR = os.path.dirname(__file__)
    789 INIFILE = os.path.join(BASEDIR, 'etc', 'config.ini')
    790 LOGFILE = os.path.join(BASEDIR, 'etc', 'log_deploy.ini')
    791 sys.path.append(BASEDIR)
    792 os.environ['PYTHON_EGG_CACHE'] = '/var/www/.python-eggs'
    793 fileConfig( LOGFILE )
    794 from paste.deploy import loadapp
    795 application = loadapp('config:%s' % INIFILE)
    796 
     726  * [http://mapproxy.org/docs/1.0.0/deployment.html#production WSGI configuration]
     727{{{
    797728vim /etc/apache2/sites-available/proxy
    798729<VirtualHost *:80>
     
    800731  ServerAdmin webmaster@sahanafoundation.org
    801732 
    802   WSGIScriptAlias / /home/mapproxy/mapproxy.py
     733  WSGIScriptAlias / /home/mapproxy/etc/config.wsgi
    803734  WSGIDaemonProcess mapproxy user=www-data group=www-data home=/home/mapproxy processes=2 maximum-requests=100
    804735 
     
    818749/etc/init.d/apache2 force-reload
    819750}}}
    820   * http://mapproxy.org/docs/latest/configuration.html
     751  * http://mapproxy.org/docs/1.0.0/configuration.html
    821752{{{
    822753