问题
I am trying to deploy my project on VPS(Ubuntu). I tried following all the steps from the Django documentation as well as other websites without any success.
My issue is that when i run the server, it will be alive only till the terminal is open.
So i am predicting that there is some issue with the procedure am using.
I am using Django with Apache2, mod_wsgi, cartridge, mysql, python.
I am now struck with a VPS and nothing in mind.
I wish if somebody could suggest me tutorial or any documentation which will help me continue.
I have successfully run the server on Ubuntu VPS. But it is on Development server.
thanks in advance
Sameer
回答1:
you will use this Link please do not miss any step after complete all steps you will able to run your application.
there are more guideline's, follow the step by step.
http://thecodeship.com/deployment/deploy-django-apache-virtualenv-and-mod_wsgi/ http://michal.karzynski.pl/blog/2013/09/14/django-in-virtualenv-on-webfactions-apache-with-mod-wsgi/ https://library.linode.com/frameworks/django-apache-mod-wsgi/ubuntu-10.10-maverick
来源:https://stackoverflow.com/questions/21257894/deploying-django-on-vps-using-apache2-mysql-using-ubuntu