Тёмный

Django in Production with Apache Web Server (includes info about nginx, mod_wsgi, wsgi pre-loading) 

Django Lessons
Подписаться 6 тыс.
Просмотров 45 тыс.
50% 1

#production #apache #django #mod_wsgi #wsgi #nginx
Apache HTTP Server is without doubt one of the best web server available. In this screencast you will learn first of all why to consider apache for production, you will learn some important concepts which will ease you friendship with Apache and most importantly how to quickly deploy a django project with Apache Web Server.
Notice that in this screencast I use dev version of django settings i.e. DEBUG=True. On real production machine you must change that to DEBUG=False.

Наука

Опубликовано:

 

27 май 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 49   
@MahlerLab
@MahlerLab Год назад
The way you explain why you do each step is super helpful. Thank you so much!
@thorstengonschior1184
@thorstengonschior1184 3 года назад
Eugen thx a lot. Your tutorial brought me further than other 90 min lessons although I run a slightly different system than you described. Saying your infos are made so generic that it is easy to transfer them. great background infos as well.
@7999rahul
@7999rahul 10 месяцев назад
Very nice lesson, thanks a lot. Clear and concise.
@mahmoudshehata9540
@mahmoudshehata9540 Год назад
very good , very easy and very simple way to lean not simple topics. thank you very much ❤
@rolandoriley
@rolandoriley 3 месяца назад
What I liked the most of this tutorial is that some errors were intentionally generated to see the root cause of them. Good job and thanks!
@eng.robsoneduardo8142
@eng.robsoneduardo8142 Год назад
The best explanation I had found.
@npinc9988
@npinc9988 2 года назад
Great great video and information. Thank you.
@Chenard612
@Chenard612 3 года назад
Very helpful video, thank!
@AboutCinemaTechnologies
@AboutCinemaTechnologies 2 года назад
It was very useful, thanks!
@musicarroll
@musicarroll 5 месяцев назад
Excellent! Thanks!
@nugnoy8631
@nugnoy8631 4 года назад
another great video, thank you.
@djangolessons4614
@djangolessons4614 4 года назад
Thank you!
@Pedroallesss
@Pedroallesss 3 года назад
Tks a lot from Brazil
@vipinkumarniranjan3052
@vipinkumarniranjan3052 Год назад
Thanks for the tutorial!
@user-in1rg6dk1e
@user-in1rg6dk1e Год назад
это отличное объяснение. спасибо. Стронг рашн аксент is funny too)
@creativeprogramming3788
@creativeprogramming3788 4 месяца назад
Thanks sir 👍
@dencasio6141
@dencasio6141 Год назад
забавно что хоть автор говорит на английском, ютуб распознает это как русский 🙃 и предлагает русские субтитры
@mastrake
@mastrake 3 года назад
Well done!
@andreagrillini9261
@andreagrillini9261 Год назад
Thanks for the tutorial. Though I came across an issue: in my setup I get both the html source and the static files (an image and a css file), the contents are correctly rendered but the browser is stuck with "Transferring data from" as if it was still waiting for something else to arrive. As well, I cannot login as administrator, though I fill in the admin login form with the right credentials. This does not occur whenever a simple text is sent with "return HttpResponse" (no static files involved). And, as well, this does not occur if I use STATICFILES_DIRS instead of STATIC_ROOT and I resort to the "built-in" development server. Why? Thanks in advance!
@groove00
@groove00 3 года назад
❤️ thanks bro
@shukhratmirrakhimov2317
@shukhratmirrakhimov2317 3 года назад
Thank you for your video! I have configured my website and put in in production. However, sometimes there's an error "Content-Length mismatch" for some images and browser cannot load them from the server but if you try to open the broken image on a new window you, you can see the image. What might cause this issue?
@pavanikarra196
@pavanikarra196 2 года назад
Please do a video on clustering and loadbalance with apache+mod_wsgi
@becunim
@becunim Год назад
I'm using apache2 2.4.52 (ubuntu), and the file system is completely different it uses a enable or available method
@user-qp8hg4ds2b
@user-qp8hg4ds2b 2 года назад
Thanks!!!
@mustafaberker1453
@mustafaberker1453 2 года назад
Question: I have Plesk panel and ubuntu 20.04 LTS version. Can I use this method? or Should I use passenger method ?
@SanteeRocks
@SanteeRocks 10 месяцев назад
👏🏽
@AmitKumar-rc4pv
@AmitKumar-rc4pv 3 года назад
how can i access the pro video lecture on APACHE + mod_wsgi
@abcdefg1492
@abcdefg1492 3 года назад
good video
@djangolessons4614
@djangolessons4614 3 года назад
Thanks
@simon1430
@simon1430 3 года назад
Thank you. My only issue is that I can't find the modules directory in etc/apache2/ (I'm using Ubuntu)
@HopeUnveiled
@HopeUnveiled 2 года назад
Me too..
@jakdjjopagdhwoowjh9690
@jakdjjopagdhwoowjh9690 2 года назад
It is in /usr/lib/apache2/modules
@qr9529
@qr9529 3 года назад
hi how to run multiple django sites on mod_wsgi on xampp
@manojmusings
@manojmusings Год назад
When I updated my python code it said "Apache WSGI Script Error"
@bombdrive3880
@bombdrive3880 Год назад
However, in terms of microservices, apache2 and django are in different container. This would not work.
@Human-de8nf
@Human-de8nf 9 месяцев назад
Субтитры отпад12:42😂
@nareshyanduri3867
@nareshyanduri3867 3 года назад
can you send me the project github that your using for testing
@andrewryabchenko2407
@andrewryabchenko2407 2 года назад
You'r Russian Genius)
@KrishnaManohar8021
@KrishnaManohar8021 4 года назад
what happens when i hit python manage.py runserver??
@djangolessons4614
@djangolessons4614 4 года назад
You will have django's built-in web server running on port 8000. Because this is different port ( != 8001) it will not interfere with Apache Web Server. In other words, you will have two running web servers - one on port 8000 and other one on port 8001.
@KrishnaManohar8021
@KrishnaManohar8021 4 года назад
@@djangolessons4614 django use built-in web server?? its' already existing web server(like apache, Xamp, etc) or django own(there is any name)?
@djangolessons4614
@djangolessons4614 4 года назад
@@KrishnaManohar8021 yes, Django uses a buit-in web server. But it is not like Apache. It is suitable ONLY for local development and only with DEBUG=True. Don't use it in production.
@KrishnaManohar8021
@KrishnaManohar8021 4 года назад
@@djangolessons4614 thanks for the update.
@Jalan-Api
@Jalan-Api Месяц назад
starts at 6:39, thank me later
Далее
All You Need to Know about WSGI
11:11
Просмотров 64 тыс.
Apache Virtual Hosts
40:20
Просмотров 98 тыс.
Django | Server Setup (WSGI, Gunicorn, Nginx)
9:37
Просмотров 132 тыс.
Basics of Apache Webserver
32:43
Просмотров 164 тыс.
Apache vs NGINX
7:53
Просмотров 249 тыс.
WSGI for Web Developers (Ryan Wilson-Perkin)
24:52
Просмотров 91 тыс.
Intro to AWS - The Most Important Services To Learn
50:07
Configure NGINX as a Reverse Proxy
16:43
Просмотров 200 тыс.
Lost Vape Ursa Pocket
0:17
Просмотров 89 тыс.
Не обзор DJI Osmo Pocket 3 Creator Combo
1:00
Гибкий телефон 📱
0:16
Просмотров 88 тыс.
Lost Vape Ursa Pocket
0:17
Просмотров 89 тыс.