django setup with Apache, mod_wsgi and cx_Oracle

Posted by pablo on Stack Overflow See other posts from Stack Overflow or by pablo
Published on 2010-04-13T11:30:46Z Indexed on 2010/04/13 11:33 UTC
Read the original article Hit count: 324

Filed under:
|
|

Hi,

I need to setup the same django project on several identical servers. Details: - os - free edition of oracle enterprise linux 5 - Apache / mod_wsgi - python - custom python2.6 installation - oracle db with cx_Oracle

What is the simplest way to set it up? Would you recommend creating a system user for the django project and use daemon mode? What type of user and what privileges does it need? Can I set ORACLE_HOME, LD_LIBRARY_PATH, PATH=$ORACLE_HOME/bin:$PATH for this user?

Would you use a virtualenv for cx_Oracle? Can I somehow put the python2.6 inside the virtualenv so it will portable to other servers?

Thanks

© Stack Overflow or respective owner

Related posts about mod-wsgi

Related posts about Oracle