|Version 5 (modified by 11 years ago) ( diff ),|
Installation Guidelines: Linux (Production)
Whilst any Linux distribution should be suitable, we use & hence support Debian v6 'Squeeze'. This is best installed using the netinst CD image. Default settings can be accepted, although we would recommend a dedicated partition for /var/log to reduce the possibility of a Denial of Service attack. It is not recommended to install a graphical desktop, so this should be de-selected.
The easiest way to install onto Debian is to use the scripts which we've developed. If you wish to do a manual install, then you may use these parts of these scripts as guidance (they are suitably commented). The scripts can be uploaded to the server using WinSCP. All administration can be done using PuTTY.
We support either:
Other combinations are, of course, possible, but we don't provide installation scripts for these.
For the Survey module:
mkdir /home/web2py/.matplotlib chown web2py /home/web2py/.matplotlib echo "os.environ['MPLCONFIGDIR'] = '/home/web2py/.matplotlib'" >> ~web2py/wsgihandler.py sed -i 's|TkAgg|Agg|' /etc/matplotlibrc
Here are a few notes on other platforms which should work, but which aren't supported by us: