0x1A Application Server

Sdílet
Vložit
  • čas přidán 13. 09. 2024
  • 0x1A Application Server
    Host Python flask web application on ubuntu server and Use nginx reverse proxy for remote connection.

Komentáře • 55

  • @Low-key657
    @Low-key657 Před 3 měsíci +5

    Man Excellent work on the 'magic script' hahaha🤣... That is a world class build in automation!!!

  • @lifeofsin__
    @lifeofsin__ Před 4 měsíci +5

    i think u don't get much credit as u deserve and honestly I appreciate you brother...

    • @addisuelectrical1376
      @addisuelectrical1376 Před 20 dny

      ofcourse he don't get credit. how can i achieve this kind of knowledge

  • @Javanseal
    @Javanseal Před 24 dny +1

    Thank you. this was very helpful

  • @user-iv3vh3de2u
    @user-iv3vh3de2u Před 2 měsíci +1

    I need help on this bro,, I ssh--connect the terminal from power shell as it was blank and accessed the web01 through PS. the when i install flask,, the path is not the default i think. i get this warning after installation.
    ARNING: The script flask is installed in '/home/ubuntu/.local/bin' which is not on PATH.%0D%0A Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
    please what to do? Thank you in advance while waiting

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  Před 2 měsíci

      @@user-iv3vh3de2u I don't fully understand the error. If you could send a screenshot via email to this email opeoluwa@adeyeri.tech

    • @user-iv3vh3de2u
      @user-iv3vh3de2u Před 2 měsíci

      @@opeoluwaadeyeri sure

  • @hyperayoub
    @hyperayoub Před 4 měsíci

    what about advanced task did you did it sir

  • @user-zh2xu2qd2i
    @user-zh2xu2qd2i Před 24 dny

    HI, I was deferred now I'm doing this task again. I asked for new sever okay, so will I have to do all the work of ssh from 0x0B-ssh to now scratch for this app -sever to work?

  • @amanuelesayas9822
    @amanuelesayas9822 Před 22 dny +1

    uffffff Thankkkkk youuu brooo!!!

  • @DARLINGTON-dn6ex
    @DARLINGTON-dn6ex Před 23 dny

    i can log in my webserver Permission denied (publickey)

  • @PreciousPalesa-fs6fe
    @PreciousPalesa-fs6fe Před 4 měsíci

    Hi my task 5 is not checking completely.. I followed the script and task 0 to 4 they check but task 5 two check are red

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  Před 3 měsíci

      This issue is associated with conflicting configurations on nginx, Easiest fix is to get a new server.

  • @SinmisolaAjao
    @SinmisolaAjao Před 4 měsíci

    @opeoluwaadeyeri hi my task 0 doesn't run as the example. Error says port 5000 is used by another program, couldn't resolve this. Help!

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  Před 4 měsíci

      run this command `lsof -i -P -n`, It will show all the active ports, Look for the one with port 5000 check the pid section, there will be a number copy it and run, `kill {Number}` where {Number} is the number you copied. ie kill 928

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  Před 4 měsíci

      After That run the script again

    • @mazibukosibonelo9985
      @mazibukosibonelo9985 Před 3 dny

      I had the same problem. One of the projects required us to run a datadog-agent on our server, which listens on port 5000. If killing the process does not work, try running the command: sudo systemctl stop datadog-agent
      When you want to run the agent again:
      sudo systemctl start datadog-agent

  • @olakunleabiodun1489
    @olakunleabiodun1489 Před 3 měsíci

    thank for this tutorial but the place of git checkout server i have error "error: pathspec 'app-server' did not match any file(s) known to git"

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  Před 3 měsíci

      What did you change in the script

    • @olakunleabiodun1489
      @olakunleabiodun1489 Před 3 měsíci

      i change only the github path my name

    • @olakunleabiodun1489
      @olakunleabiodun1489 Před 3 měsíci

      how do i create the branch and what will be inside of the branch

    • @olakunleabiodun1489
      @olakunleabiodun1489 Před 3 měsíci

      i hv figure out some error i requested for new server but my code configuration have direct ip address so i will correct that now but please reply do i nee to create a branch for flask file from airbnb_clone_v2 and call it app-server before running the script or not

    • @olakunleabiodun1489
      @olakunleabiodun1489 Před 3 měsíci

      i figure out some error do i need to create a new branch name app-server in airbnb clonev2 please reply

  • @olakunleabiodun1489
    @olakunleabiodun1489 Před 3 měsíci

    oga the branch stuff will be name app-server

  • @andilenkabanhle6076
    @andilenkabanhle6076 Před měsícem

    Mines, I don't have the IP Adress. It's like i have to generate it but I don't know how to

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  Před měsícem +1

      You would have to get a new server

    • @andilenkabanhle6076
      @andilenkabanhle6076 Před měsícem

      @@opeoluwaadeyeri I finally was able to get the IP, but now it's giving me permission denied (publickey). I generated my bublic key on puttygen and I did save it on my profile

  • @hyperayoub
    @hyperayoub Před 5 měsíci

    I want 0x14mysql réplication task that you say in the last video
    Still waiting you boss

    • @felicitya.9077
      @felicitya.9077 Před 3 měsíci

      This is now available, you can check it out!

    • @hyperayoub
      @hyperayoub Před 3 měsíci

      @@felicitya.9077 Thanks but before video i did it alone

  • @BukolaOlatunji-e6u
    @BukolaOlatunji-e6u Před 4 měsíci

    Hello, is there a way i can privately communicate with you. I have a serious problem that I can think you can help me with

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  Před 4 měsíci

      Yea, Send an email here. adeyeriopeoluwa05@gmail.com

    • @kaymacharia2912
      @kaymacharia2912 Před 4 měsíci

      @@opeoluwaadeyeri hi my checker for task 2 and zero are red what could be the issue

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  Před 4 měsíci

      Make sure you have the required files and README in your repo

    • @PreciousPalesa-fs6fe
      @PreciousPalesa-fs6fe Před 4 měsíci

      Hi so on the script u created, wer there's your repos i put my repos, right?

    • @PreciousPalesa-fs6fe
      @PreciousPalesa-fs6fe Před 4 měsíci

      Hi so i dd exactly what you did my i didn't get the last message switched to the new branch although i have added new branch will that affect the output

  • @felicitya.9077
    @felicitya.9077 Před 3 měsíci

    do i need to also change my branch? it's not in the requirements

    • @felicitya.9077
      @felicitya.9077 Před 3 měsíci

      I didn't checkout to a new branch because I didn't understand why, now nothing checks, please assist

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  Před 3 měsíci +1

      Some of the tasks require that we reconfigure some existing files to match certain requirements, I did not want to mess up code on the main branch, so i created a new branch and updated all files that are needed. so that branch is tailored to the specifications of this particular project. You can simply leave the script as is and Use my code in your server to complete the task, If you update the script and change my username to yours, You would have to create a new branch on your repo also and update required files.

    • @felicitya.9077
      @felicitya.9077 Před 3 měsíci

      Okay I used the same branch on my end and the first tag weren’t checking
      Just to understand does the script make those required changes on the files ?
      I’m not quite sure that it does
      So we’re supposed to manually make the file changes yes ?

    • @felicitya.9077
      @felicitya.9077 Před 3 měsíci

      Also, thanks for even responding

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  Před 3 měsíci

      Yea we are supposed to manually update the files, So in order to make it automated, I already made those changes in my repository on a different branch, so as soon as i change branch to that app-server branch, it automatically fetches the updated files from my repo.

  • @FunmilayoFayemi
    @FunmilayoFayemi Před 2 měsíci

    Mine doesnt work even though i did everything

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  Před 2 měsíci

      @@FunmilayoFayemi It's usually due to a conflict with installation, Get a new server complete the ssh task and do the application server again. Should work

    • @FunmilayoFayemi
      @FunmilayoFayemi Před 2 měsíci

      @@opeoluwaadeyeri I got a new server but I have done the ssh task before, do I need to redo all over again

  • @jacktoneokwemba1081
    @jacktoneokwemba1081 Před 3 měsíci

    Serving Flask app '0-hello_route'
    * Debug mode: off
    Address already in use
    Port 5000 is in use by another program. Either identify and stop that program, or start the server with a different port.
    after running this command `lsof -i -P -n` i get this
    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    gunicorn 2823229 ubuntu 5u IPv4 1668899 0t0 TCP *:5002 (LISTEN)
    gunicorn 2823243 ubuntu 5u IPv4 1668899 0t0 TCP *:5002 (LISTEN)
    i cant see the program ruuing on port 500

    • @Low-key657
      @Low-key657 Před 3 měsíci

      try using netstat command as well to identify the process associated with port 5000 in your infrastructure

    • @Low-key657
      @Low-key657 Před 3 měsíci +1

      specifically: sudo netstat -tulnp | grep 5000

    • @jacktoneokwemba1081
      @jacktoneokwemba1081 Před 3 měsíci

      @@Low-key657 tcp 0 0 localhost:5000 0.0.0.0:* LISTEN 446/agent

    • @jacktoneokwemba1081
      @jacktoneokwemba1081 Před 3 měsíci +1

      I killed the process and it worked. thank you big time