The server in turn makes a request call into django via wsgi, which is an apache module. I have a small vps with a minimum install of ubuntu lucidlynx with about 256mb memory, its newly installed with nothing special running on it. In order to complete this guide, you should have a fresh ubuntu 14. So i thought to write this blog post so that users and developers like me can find a goto solution a template kind of thing to host django applications over apache 2. To begin the process, well download and install all of the items we need from the ubuntu repositories. How to serve django application with apache2 and mod wsgi. By keith dechant, software architect, june 22, 2017. This guide assumes that you have a running ubuntu 16. Django processes the request and returns the response to apache for transmission back across the internet to the browser. A stepbystep cookbook to install apache and django using wsgi on ubuntu linux.
Stack overflow for teams is a private, secure spot for you and your coworkers to find and share information. Django is a python based web framework, that can help you to create your web application rapidly. Web server gateway interface to make python scripts be fast. Quick install of apache, wsgi, and django on ubuntu linux 18. Set up a django site on an apache virtualhost, using wsgi. Quick install of apache, wsgi, and django on ubuntu linux. Django will work with any version of apache which supports. Lamp is an acronym for a solution stack of free, open source software, referring to the first letters of linux. Many linux distributions have a tendency to screw around with the standard apache software foundation layout for installation of apache.
1218 1262 285 60 701 924 1439 1148 876 683 131 782 353 543 130 505 1188 1471 534 939 1271 266 1158 463 1238 713 43 1167 682 1486 1068 850 740 865 1239 1231