0x03 AirBnB Clone Deploy Static

Поділитися
Вставка
  • Опубліковано 20 бер 2024
  • AirBnB Web Static Deploy static files using Fabric

КОМЕНТАРІ • 69

  • @r_i_k_si-t8791
    @r_i_k_si-t8791 2 місяці тому +1

    You too good bro. I havent done project yet but I trust you.

  • @BaristaChristian_250
    @BaristaChristian_250 4 місяці тому +1

    Thank you man I was asking u to do this video finally u made it

  • @CHUKSONTV
    @CHUKSONTV 3 місяці тому +1

    Thank you bro

  • @user-ez6dn5do9p
    @user-ez6dn5do9p 2 місяці тому +1

    That fabric made me miss my first deadline

  • @cargoextra2920
    @cargoextra2920 3 місяці тому +4

    see bro, my love for has no bound😅😅 thank you so much

  • @BerissaMuyizere
    @BerissaMuyizere Місяць тому +1

    what can you when there is no option of destroying the sandbox

  • @violetshiko7367
    @violetshiko7367 2 місяці тому

    Have you done a video for 0x05 , restful API?

  • @HealthyBlossom
    @HealthyBlossom 3 місяці тому

    I actually had some issues with the advanced tasks. Can you help with that?

  • @ukjariel3255
    @ukjariel3255 3 місяці тому +2

    Hi boss do you have a video on attack_is_the_best_defense

  • @optimisticpsychology
    @optimisticpsychology 3 місяці тому

    please, my fabric3 sandbox is returning 'host key verification failed' when i called web01 (ssh ubuntu...) on it even after echoing the ssh key generated on my web01, same thing for web02, please, help.

  • @Enjor-i
    @Enjor-i 14 днів тому

    check 4 and 5 of task 3 is failing and says it is not deploying; even though everything seems the same as yours and i also checked using curl localhost... and it works. Do you have any idea why it is failing? Thank youuu

  • @user-nc8yy1ig9y
    @user-nc8yy1ig9y 2 місяці тому

    I did that but it is still saying the same thing.

  • @CreedEntertainment-ws5no
    @CreedEntertainment-ws5no 2 місяці тому

    got a tip for you
    when you write the first letter of a file or folder in a directory e.g /.ssh/authorized_keys you just press tab after typing /.ssh/a and it will auto complete the file name

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  2 місяці тому

      This feature ultimately depends on what terminal or operating system you're running, For example it comes by default on Kali Linux. It is certainly not pre installed on ubuntu and I do not plan on installing it. Thanks anyways.

  • @iank8681
    @iank8681 3 місяці тому

    One question bro, where did the 8-index.html file come from? Can I have a link?

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  3 місяці тому

      github.com/hardope/AirBnB_clone_v2/tree/main/web_static

  • @OsimenObehi
    @OsimenObehi 2 місяці тому +1

    pls i tried using my ubuntu 20.04 fabric 3 but it is saying limited reach cant i use my own ubuntu terminal

    • @malikhussein4185
      @malikhussein4185 2 місяці тому +1

      the limit is 2 sandboxes you have to destroy one of them

  • @TEGIBARBERHANU
    @TEGIBARBERHANU 3 місяці тому

    Hi Opeoluwa Thank you for these amazing lessons, I have subscribed your channel. Pls share us the scripts for AirBnB_clone_v2.

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  3 місяці тому +1

      github.com/hardope/AirBnB_clone_v2

    • @elormheletsi1728
      @elormheletsi1728 2 місяці тому

      @@opeoluwaadeyeri hello boss, do you have videos for AirBnB_clone_v2 ??

  • @yoniem9835
    @yoniem9835 3 місяці тому

    When i am trying to curl to localhost it's saying "failed to connect to localhost port 80: connection refused"

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  3 місяці тому +2

      Nginx is not running. Maybe an error with the configuration file.

  • @abayomirobertonawole
    @abayomirobertonawole 3 місяці тому +1

    my 3 and 4 checkers aint working completely

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  3 місяці тому

      Is the server response correct ? if yes there is an issue with your script in the repo.

  • @SinmisolaAjao
    @SinmisolaAjao 3 місяці тому

    Hi bro really appreciate what you did but having a problem thou. I don't understand the codes in the files, please help with any resource or anything possible

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  3 місяці тому

      As in the shell script or Python fabric scripts ?

  • @AddisuZola
    @AddisuZola 3 місяці тому

    i totally check task 0 the same with you. and in addition to that i just have do by intranet local checker but still the checker don't pass. please help me i just already one day left for submission

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  3 місяці тому

      Please Rephrase, I don't get your question.

    • @AddisuZola
      @AddisuZola 3 місяці тому

      @@opeoluwaadeyeri i follow the same step with you. but i didn't pass the checker green light. can i push to github

  • @ganiyatbabalola9266
    @ganiyatbabalola9266 3 місяці тому

    Well done bro for the great job, you are doing well.
    but my web-01 didn't return the html doc, that is my web-01 didn't get disconnected , it's only the web-02 that got disconnected, and i followed all the steps, kindly help me out

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  3 місяці тому

      If I get you right, Your web-01 is not responding with the html, but your web-02 is. Is it for the first dummy HTML or the full deployment.

  • @PreciousPalesa-fs6fe
    @PreciousPalesa-fs6fe 3 місяці тому

    Hey so i did another ssh keygen now wen i try to login to my web01 it says permission denied (public key) how do i solved that

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  3 місяці тому

      ssh-keygen on which device snadbox or local terminal?

    • @PreciousPalesa-fs6fe
      @PreciousPalesa-fs6fe 3 місяці тому

      @@opeoluwaadeyeri i dd on the local terminal coz when i tried to run fabric3 it said limit reached

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  3 місяці тому

      No you shouldn't have done that, You might have lost access to all your servers

  • @temidayooladele9856
    @temidayooladele9856 2 місяці тому

    Please i am having an error of "Can't find any collection named 'fabfile'!"

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  2 місяці тому

      Make sure you are using the right sandbox and you're in the correct directory when you run the command

    • @temidayooladele9856
      @temidayooladele9856 2 місяці тому

      @@opeoluwaadeyeri Thanks, I discovered the the version of fabric i was using doesn't support fabric.api. so i downgraded to version 1.x and worked.
      However when i visit the URL it doesn't load but loads when i use curl localhost/hbnb_static/8-index.html. any idea what could be wrong?

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  2 місяці тому

      The nginx config, make sure the script you ran to prepare the server for deployment is correct

  • @user-nc8yy1ig9y
    @user-nc8yy1ig9y 2 місяці тому

    Please Ope, My sandbox has been sayynig limit reached. All attempts to run it failed.

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  2 місяці тому

      Destroy The one you are not using, You can't have more than 2 sandboxes running simultaneously.

    • @user-nc8yy1ig9y
      @user-nc8yy1ig9y 2 місяці тому

      I destroyed the sandbox but when i put it my web-01 ip address, it is saying this(Permission denied (publickey))
      Please, what do i do from here?

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  2 місяці тому

      Follow the same process in the video, Generate an ssh key on the new sandbox, Log into your server from the normal Terminal You use ad put the generated ssh in the .ssh/authorized_keys file

  • @user-ro1hk7ne8l
    @user-ro1hk7ne8l 3 місяці тому

    search algorithms please

  • @PreciousPalesa-fs6fe
    @PreciousPalesa-fs6fe 3 місяці тому

    How do i regain it

    • @AddisuZola
      @AddisuZola 3 місяці тому

      can i push task 0 to github? after i done the same with you?

  • @PreciousPalesa-fs6fe
    @PreciousPalesa-fs6fe 3 місяці тому

    Is the a wayi can gain access again?

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  3 місяці тому

      You would have to get new servers

    • @PreciousPalesa-fs6fe
      @PreciousPalesa-fs6fe 3 місяці тому

      @@opeoluwaadeyeri so start all projects that needed server?

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  3 місяці тому

      Yea, You can skip web server though. It will be covered by load balancer

  • @Maniac12348
    @Maniac12348 3 місяці тому

    yoo bro
    please my own keeps saying that
    private network not secure

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  3 місяці тому

      That's most likely caused by your browser security, try another browser.

  • @9starsCode
    @9starsCode 2 місяці тому

    Hello, pls I think I made a mistake on my part and somehow my code shows that it has been executed properly but hbnb_static/0-index.html is not available in the web-01 and web-02 servers. Pls, any guidance will be appreciated.

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  2 місяці тому

      I do apologize for the particularly late response, But if the scripts executed properly and yet the file in question is nowhere to be fount then the error most likely is from your repository. The script compresses static files present in your repo (same folder as the file). If the static files are not present or incomplete, It will be the same in the server also.

  • @lantanatijani3271
    @lantanatijani3271 2 місяці тому

    pls i am getting this error
    ubuntu@54.208.215.244: Permission denied (publickey)

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  2 місяці тому +1

      Copy the ssh from the sandbox to the server .ssh/authorized_keys File. Steps are at the beginning of the video.

    • @lantanatijani3271
      @lantanatijani3271 2 місяці тому

      Pls do I have to create new server if I want to used a new sandbox?
      ​@@opeoluwaadeyeri

    • @nkeirulois5607
      @nkeirulois5607 15 днів тому

      @@opeoluwaadeyeri but how to get access to the authorized file since permission is denied

    • @nkeirulois5607
      @nkeirulois5607 12 днів тому

      @@opeoluwaadeyeri does it mean that anytime you use new terminal to gain access to server one has to create ssh key, update in profile and get a new server

  • @sammyob4280
    @sammyob4280 2 місяці тому

    Your email, please?