Комментарии:
Thanks!
ОтветитьWow great series for a noob in the Python. Currently working with Akamai(formerly Linode) as you have referenced in this final great video.
Why didn't you select the LAMP setup? Any particular reason? I set my stuff up using your recommendations, but a service ticket reply from Akamai asked if I knew they had it.
Again, appreciate your help!
Anyone else getting an internal server error when they finish the guide and go to the site?
Ответитьpronounced uh patchy
Ответитьbro, why do you say "just don't touch anything". cant fix errors with this kind of explanation
ОтветитьThanks tim for your video series . It is very helpful
Ответитьhello...can you give me a video to how i can change the ip to my domain name !!
ОтветитьThat was very pleasurable, thank you.
ОтветитьHi, thanks for your video. It really helped me set it up in my 1st generation iPad air. However, I would like to set up openssh's SFTP. How can I do this?
ОтветитьActually I did not get why you may need all these Apache sfuff.
Flask can work as without. Just need to change the default port from 5000 to 80 and take care of all static files in your application (which Apache take care about usually).
Thanks @Tim. very helpful guide! however cmd: sudo apt-get install libapache2-mod-wsgi python-dev didnt work for me because of python3 I guess. so did cmd: sudo apt-get install libapache2-mod-wsgi-py3 instead and it did work. Thanks. you are the best
Ответитьi think many linux people will get mad after see you using sudo as root
ОтветитьI am getting a 500 Internal Server Error :( any things I should check? I was able to follow the video pretty easily, the only problem I ran into is that these two files were not found when I was transferring my files over:
/.venv/Lib/site-packages/pip/_internal/operations/_pycache_
/env/Lib/site-packages/jedi/third-party
I'm not sure what those were for, or what the content should be, so I would be surprised if that was the issue. Any ideas would be helpful, thanks!
thanks Tim, I have a secure apache home server and I've been struggling to get my django and flask apps running online. I will give it a shot with your configs!
ОтветитьI've followed the series in this and learned quite a bit about flask. Just a quick note that if you are "root" you don't need to type sudo. A security tutorial would be great because there are many things that can be improved on this section. Otherwise, great work, great explanations!
ОтветитьThank you!!!
ОтветитьAmazing playlist, thank you Tim. I hope to see the update version - Or comments about what has changed. Thank you very much.
ОтветитьGreat tutorial - I ran into an issue on the winSCP part of moving files to the directory.
Reason : lack of privileges and needing root.
winSCP can inject a shell command at the point of connection under the Advanced setting within the session configuration.
click Advanced then under the Environment > SCP/Shell option add the command to the shell: field in this case 'sudo su -'
(this elevates the user id to root privileges at point of connection.)
Step 6: Install and enable mod_wsgi - sudo apt-get install libapache2-mod-wsgi-py3
python-dev
got me past the error on this step which occurs in newer version of linux
very nice
Ответитьanyone else getting a 500 Internal Service Error?
ОтветитьHi Tech, my script give me problem with Flask Session. The server response with a PermissionError: Permission Denied "/flask_session". I've tried all but nothing
ОтветитьVery cool man!!
ОтветитьI want to kiss you computer server man, you have helped me greatly, keep up the helpful videos!
ОтветитьThank you.
Ответитьi did the exact same steps until the end i got a 500 error
ОтветитьThank you! Your tutorial is great!
ОтветитьEnjoyed your videos , but i think you just performed half of steps to install apache and most of the time apache is for Php cause python has its own web server and apache installation is useless ,i personaly hate linux so these mistake are part of the bad OS documentation, Great playlist
Ответитьfantastic tutorial!!
Ответитьi think linode changed. apache error says "no module named flask" which is a python2 error
ОтветитьMadman typing sudo while root. True sigma grindset.
Ответитьerror
Not Found
The requested URL was not found on this server.
I created a face recognition program and now i want to create a web app for the same.
I have a problem, if anyone can help me:
1) This is the function to simply start my website
@app.route("/")
def start():
return render_template("home.html")
2) after the website opens, if i click on the button "CHECK", only then my web cam gets open and face recognition starts.
3) It then recognizes me and tells my name.
4) I want my name to be printed on the web page "home.html" , this is my code for that
@app.route("/home.html")
def wtf()
return render_template("home.html", Value=name)
5)this does not work at all. I think the problem is because I have the same route.
6) If i use another web page, then it works and prints the name, but i dont wanna use another page just to show my name, i wanna be able to do it in the same page.
help!!!.
ty tim great content as always
ОтветитьTim, Can you also tell us how to deploy using docker containers - Flask app + DB and deploy on Cloud if possible
ОтветитьThis took me a while to get working, I found that I could not see the error logs, so I had to change the webApp.conf to point to the apache2 directory as the env variable must of not have been set (. Once I could see the error logs I found that the error was "no module admin". So I just added the basic flask app code from the linked digital ocean article and now it all works! I was getting "Internal service error before this"
ОтветитьTry "sudo apt-get install -y libapache2-mod-wsgi-py3" if you can't find libapache2-mod-wsgi.
ОтветитьThe Linode offer is now $100.00 instead of $20.00 now in 2021 fyi.
ОтветитьWhat if we need to run more than one app on a server and/or on different ports? Thanks!
ОтветитьI had hosted my site using this Apache but I am getting Hello World program instead of my actual web site ... Could you help me ?
Ответитьplease do a flask-socketio app deployment using gunicorn, nginx, eventlet
ОтветитьHi, great video. Thank you very much! Does this also work for Dash (Plotly Dash) Apps? Dash is based on Flask.
Ответитьlogin doesn't work
ОтветитьYou should teach Teachers how to teach.
ОтветитьUh, why sudo in root?
ОтветитьWhen typing the command:
sudo apt-get install libapache2-mod-wsgi python-dev
I get the following message:
"Note, selecting 'python-dev-is-python2' instead of 'python-dev'
Package libapache2-mod-wsgi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source"
Does it need to be:
apt-get install libapache2-mod-wsgi-py3
?
tim i love you but "a-potch-e"?!?!?!? lmao.
Ответитьscript link sorry
Ответить