Linux for Programmers #14 - Deploying a Simple Python Web Server

preview_player
Показать описание
Hello and welcome to another Linux for programmers video. In this video, we'll talk about creating a Flask application and hosting it on our Linux machine. We won't talk a lot about coding or Python, rather I'll show you how we can take a basic web app and host it on the public IP address of our virtual private server.

⭐️ Timestamps ⭐️
0:00 | Introduction & Overview
02:31 | Installing Python and Pip
03:52 | Creating the Flask Web Server
06:32 | Installing & Configuring NGINX
10:35 | Installing & Using Gunicorn
11:42 | Running the Web Server

◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
💰 Courses & Merch 💰

🔗 Social Medias 🔗

🎬 My YouTube Gear 🎬

💸 Donations 💸
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️

⭐️ Tags ⭐️
- Python web app
- Virtual private server
- Gunicorn
- NGINX
- How to install Python

⭐️ Hashtags ⭐️
#LinuxTutorial #WebApp #Python
Рекомендации по теме
Комментарии
Автор

4th. Tim, you have the best tech channel. I learned oop from your video. my father, a programmer, taught me the basics of python, and the rest is self taught (I'm making websites with django now). Your videos have taught me tons. Thanks!

kovyjacob
Автор

i don't use a calendar nowadays to keep track of the days. I use tim's video count for that. He literally posts one everyday. Great job tim.

kavitharajni
Автор

Loving your Django Video. still at 44 minutes from the last 24 hours.
Keep making these video

adithmanu
Автор

When is the 12 hour coding livestream?? Waiting for it

srikarkandula
Автор

Hey Tim, you should do an Apache server series for beginners. It would help a lotta people !

bora
Автор

Great explanation! I really appreciate the copy and paste commands available on your github.

BramSLI
Автор

Woah, you don't even need a hosting provider to host a web app?! You can just host on your machine. That is really nice!

ayaanp
Автор

Thanks, setting up a server is probably the most boring part of the development process. Glad this can help getting one to run.

Vancha
Автор

GitHub Walkthrough not found
remove /blob/main

hassanmoneer
Автор

I'm runing it in an old computer with Arch Linux installed and when I installed nginx, the directory named /etc/nginx/ only contains files, so I can't edit the flask_project you mention in 8:05 . I got over it by editing the nginx.conf file.
BUT MY PROBLEM IS that I can't access de web app by typing in my public IP address but I can if I type my local IP address.
And in the nginx.conf (instead of sites-enabled/flask_project) I wrote my public IP address.
Any help would be great!!

Thanks Tim for your effort in making these videos, I'm loving this series of linux for programmers

Keep it UPPP!!!!

Edit:
The only thing I had to do is enable the port forwarding (please excuse me if I don't use the correct terms I'm a newbie in all of this) in my router. I made it listen to port 80 and redirect it to my local IP address.

ianselley
Автор

looks old one? facing issue with AWS ec2 centOS cannot unlink No such file or directory Some folders not available

prabhudevbm
Автор

Awesome tutorial! Just FYI, though, nginx is pronounced “engine X”

provocateach
Автор

I have a problem, when I tried to go to the webserver, it said that it couldn't be reached and that it took too long to respond. I tried running the command again but with less workers, but it says that there's a Connection in use. I don't know how to stop the server and try with less workers. Also I'm doing this on a raspberry pi.

gameplaygamer
Автор

Hey Tim, hope you doing great, can you make video Python for Linux Administrators

PetritK
Автор

Why you don't install the linux like the base operating system on you pc ?, and uninstall windows

johnjhonyk
Автор

Very helpful thank you!
Edit: Please show without linode. And Junicorn? Really? It's G Unicorn

kickflipz
Автор

remove "/blob/main" on GitHub link

__________________________
Автор

Is this also viable using sockets? If i dont wanne host this as a website

bronzeleague
Автор

Please Make video like this for Django

thedhruvunde
Автор

Followed it verbatim, didnt work, and your github link has been removed....

Mogwai