0x03 AirBnB Clone Deploy Static

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024
  • AirBnB Web Static Deploy static files using Fabric

Комментарии • 70

  • @Enjor-i
    @Enjor-i 2 месяца назад +1

    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

  • @BerissaMuyizere
    @BerissaMuyizere 3 месяца назад +1

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

  • @r_i_k_si-t8791
    @r_i_k_si-t8791 4 месяца назад +1

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

  • @cargoextra2920
    @cargoextra2920 5 месяцев назад +4

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

  • @optimisticpsychology
    @optimisticpsychology 5 месяцев назад

    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.

  • @HealthyBlossom
    @HealthyBlossom 5 месяцев назад

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

  • @CreedEntertainment-ws5no
    @CreedEntertainment-ws5no 4 месяца назад

    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  4 месяца назад

      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.

  • @OwolabiOluwasemilogo
    @OwolabiOluwasemilogo 4 месяца назад

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

  • @temidayooladele9856
    @temidayooladele9856 4 месяца назад

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

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  4 месяца назад

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

    • @temidayooladele9856
      @temidayooladele9856 4 месяца назад

      @@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  4 месяца назад

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

  • @iank8681
    @iank8681 5 месяцев назад

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

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  5 месяцев назад

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

  • @OwolabiOluwasemilogo
    @OwolabiOluwasemilogo 4 месяца назад

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

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  4 месяца назад

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

    • @OwolabiOluwasemilogo
      @OwolabiOluwasemilogo 4 месяца назад

      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  4 месяца назад

      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

  • @AddisuZola
    @AddisuZola 5 месяцев назад

    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  5 месяцев назад

      Please Rephrase, I don't get your question.

    • @AddisuZola
      @AddisuZola 5 месяцев назад

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

  • @PreciousPalesa-fs6fe
    @PreciousPalesa-fs6fe 5 месяцев назад

    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  5 месяцев назад

      ssh-keygen on which device snadbox or local terminal?

    • @PreciousPalesa-fs6fe
      @PreciousPalesa-fs6fe 5 месяцев назад

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

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  5 месяцев назад

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

  • @ganiyatbabalola9266
    @ganiyatbabalola9266 5 месяцев назад

    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  5 месяцев назад

      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.

  • @TEGIBARBERHANU
    @TEGIBARBERHANU 6 месяцев назад

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

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  6 месяцев назад +1

      github.com/hardope/AirBnB_clone_v2

    • @elormheletsi1728
      @elormheletsi1728 4 месяца назад

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

  • @PreciousPalesa-fs6fe
    @PreciousPalesa-fs6fe 5 месяцев назад

    How do i regain it

    • @AddisuZola
      @AddisuZola 5 месяцев назад

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

  • @ukjariel3255
    @ukjariel3255 5 месяцев назад +2

    Hi boss do you have a video on attack_is_the_best_defense

  • @OsimenObehi
    @OsimenObehi 4 месяца назад +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 4 месяца назад +1

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

  • @abayomirobertonawole
    @abayomirobertonawole 5 месяцев назад +1

    my 3 and 4 checkers aint working completely

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  5 месяцев назад

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

  • @MICHAELMURITHI-y7y
    @MICHAELMURITHI-y7y 4 месяца назад +1

    That fabric made me miss my first deadline

  • @MemeStream-k3x
    @MemeStream-k3x 6 месяцев назад +1

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

  • @violetshiko7367
    @violetshiko7367 5 месяцев назад

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

  • @CHUKSONTV
    @CHUKSONTV 5 месяцев назад +1

    Thank you bro

  • @SinmisolaAjao
    @SinmisolaAjao 5 месяцев назад

    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  5 месяцев назад

      As in the shell script or Python fabric scripts ?

  • @yoniem9835
    @yoniem9835 6 месяцев назад

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

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  6 месяцев назад +2

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

  • @Returnoninvestment-j3p
    @Returnoninvestment-j3p 5 месяцев назад

    search algorithms please

  • @PreciousPalesa-fs6fe
    @PreciousPalesa-fs6fe 5 месяцев назад

    Is the a wayi can gain access again?

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  5 месяцев назад

      You would have to get new servers

    • @PreciousPalesa-fs6fe
      @PreciousPalesa-fs6fe 5 месяцев назад

      @@opeoluwaadeyeri so start all projects that needed server?

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  5 месяцев назад

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

  • @Maniac12348
    @Maniac12348 5 месяцев назад

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

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  5 месяцев назад

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

  • @lantanatijani3271
    @lantanatijani3271 4 месяца назад

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

    • @opeoluwaadeyeri
      @opeoluwaadeyeri  4 месяца назад +1

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

    • @lantanatijani3271
      @lantanatijani3271 4 месяца назад

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

    • @nkeirulois5607
      @nkeirulois5607 2 месяца назад

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

    • @nkeirulois5607
      @nkeirulois5607 2 месяца назад

      @@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

    • @RexEjikeOnyegbule-iv5wm
      @RexEjikeOnyegbule-iv5wm Месяц назад

      @@opeoluwaadeyeri please, I dont understand what you mean here. I am facing the same issue, can you please explain

  • @9starsCode
    @9starsCode 4 месяца назад

    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  4 месяца назад

      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.

  • @sammyob4280
    @sammyob4280 4 месяца назад

    Your email, please?