|
||||||||||
|
|
How to install Python in linux serverApril 29, 2008 on 2:38 pm | In Installation, Python | No CommentsEasy….. cd /usr/local/src How to install Mod_Python in Linux serverApril 29, 2008 on 2:35 pm | In Installation, Python | 2 CommentsBoth instruction for Apache 1.x and Apache 2.x are given below. First, you need to check what version of Python you are running. python -V If you are running Apache 1.3.x, you should use mod_python version 2.7.11 and for Apache 2.2.x, use 3.3.1. Python with version 2.1.x greater than are only supported The step are for Apache 1.3.x. However, for Apache 2.1.x download mod_python 3.3.1 and follow the same steps cd /usr/local/src ./configure –with-apxs=/usr/local/apache/bin/apxs –with-python=/usr/local/bin/python The –with-python path should reflect the location of the python binary If you are on Apache 1.3, follow the steps below. If not, go for make and make install. vi src/Makefile Then add -lutil to the LIBS line like so: Run the make and make install. This should be done. for both Apache versions. Edit httpd.conf and create your handlers. Apache 1.3.x Apache 2.1.x How to install docutils in Linux serverApril 29, 2008 on 1:50 pm | In Installation, Python | No CommentsDownload manually the docutils tar gz from http://prdownloads.sourceforge.net/docutils/docutils-0.4.tar.gz?download cd /usr/local/src/ sudo easy_install /pathto/docutils-0.4.tar.gz How to install Python Imaging Library PIL on Linux serverApril 29, 2008 on 1:47 pm | In Installation, Python | No CommentsPython Imaging Library (PIL) Make sure Python is installed. Prerequisites. If you need any of the features described below, make sure you feature library http://www.ijg.org http://www.ijg.org/files/jpegsrc.v6b.tar.gz ftp://ftp.uu.net/graphics/jpeg/ PNG support zlib (1.1.4 or later is recommended) http://www.gzip.org/zlib/ OpenType/TrueType freetype2 (2.1.3 or later is recommended) http://www.freetype.org http://freetype.sourceforge.net Installation Make sure Python is installed. Then go for wget http://effbot.org/downloads/Imaging-1.1.6.tar.gz python setup.py install Thant’s all |
![]() Powered and designed by Presoon.com. |