Deploy Laravel on Ubuntu Nginx server

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ย. 2024

ความคิดเห็น • 155

  • @wormy_coder
    @wormy_coder 3 หลายเดือนก่อน

    First time i watched your videos, i successfully deploy my laravel apps. You deserve a subscriber

  • @mohamedmansor9035
    @mohamedmansor9035 ปีที่แล้ว +2

    Thank you. It was very helpful finding a clear way of deploying into nginx

  • @wormy_coder
    @wormy_coder 3 หลายเดือนก่อน

    From now on I will now move to nginx to deploy my apps its not difficult compare to apache so much configuration. You have to run this or else your app will not work. Thanks for this tutorial.❤❤❤

  • @didianasfudi1629
    @didianasfudi1629 10 หลายเดือนก่อน +2

    thank you, for making this part ♥

  • @bohemianrhapsody3920
    @bohemianrhapsody3920 ปีที่แล้ว +1

    you described it as simple as possible keep it up

  • @chibuikeumezinwa7827
    @chibuikeumezinwa7827 6 หลายเดือนก่อน

    Good lesson.
    I'm having issue making my uploaded files in storage served by nginx. i have followed every step in this video. i use public disk and has ran the "PHP artisan storage:link" command but no luck. what else do I need to do
    Thanks

  • @imanaski1878
    @imanaski1878 9 หลายเดือนก่อน +1

    Very nice walk through, Thank you.

  • @qwizzwizz
    @qwizzwizz ปีที่แล้ว +1

    Very concise and clear. Thank yoU!

  • @nickponcho
    @nickponcho ปีที่แล้ว +1

    Thank you so much!! THis really helped me deploying my laravel apps on Azure as well

  • @irfan_susilo
    @irfan_susilo ปีที่แล้ว

    well documented instructions, thank you

  • @helloitsjury
    @helloitsjury ปีที่แล้ว +1

    So easy to follow, thank you!

  • @EddieMao
    @EddieMao 8 หลายเดือนก่อน

    Fantastic tutorial video, thank you so much, Susan.

    • @codewithsusan
      @codewithsusan  8 หลายเดือนก่อน

      You're welcome; thanks for watching Eddie.

  • @brandong8323
    @brandong8323 หลายเดือนก่อน

    how do i make nginx server find my build files in the public/build/assets folder I'm confused

  • @andraan07
    @andraan07 10 หลายเดือนก่อน

    Going to try this out on my next project - thanks!

  • @taofeekakinkunmi8990
    @taofeekakinkunmi8990 14 วันที่ผ่านมา

    Thank you, this video is helpful

  • @shadrackabely1013
    @shadrackabely1013 ปีที่แล้ว

    I have struggled with this but thanks alot you have helped me alot

  • @mahdisolati697
    @mahdisolati697 2 หลายเดือนก่อน

    Very Thanks .it was helpful

  • @cubedev4838
    @cubedev4838 ปีที่แล้ว

    Amazing, please cover how to deploy in staging, production and how to setup all this things...

  • @okerik8099
    @okerik8099 5 หลายเดือนก่อน

    Thank you Susan, it works!

  • @Just-dg4je
    @Just-dg4je 10 หลายเดือนก่อน

    Very helpful video

  • @mahmoudalsharqawi9019
    @mahmoudalsharqawi9019 6 หลายเดือนก่อน

    Thanks for your efforts. It was very helpful.

  • @imcalled_ali
    @imcalled_ali 6 หลายเดือนก่อน

    tnx for your clear and easy explanation

  • @gowthamchakkarapani1482
    @gowthamchakkarapani1482 11 หลายเดือนก่อน

    I tried, it didnt worked for me. Need to see the issues list mentioned

  • @fiacrebarthelemyngouang1328
    @fiacrebarthelemyngouang1328 ปีที่แล้ว +1

    good, thanks

  • @da_saint2948
    @da_saint2948 ปีที่แล้ว

    this is apt and very clear. Thank you.

  • @Uri77
    @Uri77 ปีที่แล้ว

    I have read and done many tutorials to deploy laravel in an aws instance (lightsail) and none have worked for me. Why is so complicated ? Maybe with docker I can do it. I noob in devOps job.

  • @Vishwanath-u6z
    @Vishwanath-u6z ปีที่แล้ว

    great video helped me alot with my deploying process

  • @cardenat
    @cardenat ปีที่แล้ว

    Excellent explanation, please could you make a video deploying to aws ec2 instance for Laravel api app?. Thanks a lot

  • @CodeFusionDev
    @CodeFusionDev 11 หลายเดือนก่อน

    it so helpful and easy guide

  • @teamscits5621
    @teamscits5621 10 หลายเดือนก่อน

    Nice explanation. Thanks.

  • @SaidFlores-z3j
    @SaidFlores-z3j ปีที่แล้ว

    me encata tus videos

  • @jamesanuncio2773
    @jamesanuncio2773 ปีที่แล้ว

    Thanks for this

  • @wtatari
    @wtatari ปีที่แล้ว

    Really helpful, thank you

  • @psreepathi
    @psreepathi ปีที่แล้ว

    Going to try this in my next project

  • @rafaelmaghari8033
    @rafaelmaghari8033 ปีที่แล้ว

    Thanks for this!

  • @logsnroll
    @logsnroll 11 หลายเดือนก่อน

    Good tutorial!

  • @Afhamou
    @Afhamou ปีที่แล้ว

    Thank you. The video was helful

  • @chathushkarodrigo8071
    @chathushkarodrigo8071 ปีที่แล้ว

    going to try this out Thanks

  • @HarrisMariano-m2h
    @HarrisMariano-m2h ปีที่แล้ว

    Thank You!

  • @Uri77
    @Uri77 ปีที่แล้ว

    I follow all steps but, when a try to clone: fatal: could not create work tree dir 'my-repol': Permission denied, I did all steps in your tuto..SSH Keys and Github ... and Permission denied, What do I have to do ?

    • @Uri77
      @Uri77 ปีที่แล้ว

      what kind of permission I have to give to www folder ?? What is the best practice for permission in that folder ?

    • @codewithsusan
      @codewithsusan  ปีที่แล้ว +1

      It sounds like the user you are operating as does not have write access to the www directory.
      You can try prefixing the clone command with `sudo` so it will execute it with root privileges.
      Alternatively, you can change the owner of the `www` directory to whatever user you’re operating as. This can be down with the `chown` command following this pattern: `chown username -r www`

  • @luispinedamiranda793
    @luispinedamiranda793 ปีที่แล้ว

    Thanks a lot Sussan!!!

  • @bluesky6704
    @bluesky6704 ปีที่แล้ว

    thank you but i have a an issue my defualt nginx web page still showing not my app

    • @codewithsusan
      @codewithsusan  ปีที่แล้ว

      Try running the command nginx -T | grep "server_name " to see all the server names your nginx server currently has enabled. Confirm the domain (or subdomain) you're setting up is listed there. If it's not, recheck all the steps outlined in the video. If it is and it's still not working, drop me an email at mail@codewithsusan.com with a copy of your site config and I can take a look.

  • @tahaabujrad7806
    @tahaabujrad7806 11 หลายเดือนก่อน

    Great Video

  • @rakhafebryzarasendriya2313
    @rakhafebryzarasendriya2313 ปีที่แล้ว

    very useful, thanks

  • @qwizzwizz
    @qwizzwizz ปีที่แล้ว

    After following all steps I keep encountring 403 Forbidden issue on nginx. I assume its not laravel issue but more of nginx issue. Can you please advise what i may be doing wrong.

    • @codewithsusan
      @codewithsusan  ปีที่แล้ว

      Check the output of running "sudo nginx -t". It will let you know if you have any issues in your site configs.
      Also, here's a separate guide I have on setting up sites on Nginx specifically that might be helpful: th-cam.com/video/omPd93uLQDc/w-d-xo.html
      If neither of those things get you on track, drop me an email (mail@codewithsusan.com) and I can help you troubleshoot further.

    • @qwizzwizz
      @qwizzwizz ปีที่แล้ว

      @@codewithsusan running sudo nginx -t
      gives following output:
      nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
      nginx: configuration file /etc/nginx/nginx.conf test is successful
      Thanks for the link I will check that if still stuc will email you! Cheers Susan.

  • @germanramirez9535
    @germanramirez9535 ปีที่แล้ว

    Super useful thanks :)

  • @danialadzlizan7771
    @danialadzlizan7771 ปีที่แล้ว

    Thank youuuu

  • @antwibosiako7840
    @antwibosiako7840 11 หลายเดือนก่อน

    Very helpful video

  • @ykadi551
    @ykadi551 ปีที่แล้ว

    Thank you for your share

  • @trickas9861
    @trickas9861 10 หลายเดือนก่อน

    Thank you!

  • @mootuun
    @mootuun ปีที่แล้ว

    Thank you so much!!

  • @MuhammedSaidTaylan
    @MuhammedSaidTaylan ปีที่แล้ว

    thanks for your sharing

  • @yassineachour8352
    @yassineachour8352 ปีที่แล้ว

    Great video, can you cover how to host multiple Laravel apps in one nginx server

    • @codewithsusan
      @codewithsusan  ปีที่แล้ว

      I have a guide that's not specific to Laravel but it does show how to set up multiple sites on one Nginx server: th-cam.com/video/omPd93uLQDc/w-d-xo.html

  • @ShaminurRezaRana
    @ShaminurRezaRana ปีที่แล้ว

    going to try this out

  • @nataliesagnoy3579
    @nataliesagnoy3579 ปีที่แล้ว

    very informative.

  • @boochiboochi
    @boochiboochi 11 หลายเดือนก่อน

    thx for this tutorial!

  • @JobyElias
    @JobyElias ปีที่แล้ว

    informative...

  • @PratikPawar-i9v
    @PratikPawar-i9v 11 หลายเดือนก่อน

    great video

  • @МаксимЯнак
    @МаксимЯнак ปีที่แล้ว

    Very good

  • @dineshindn4404
    @dineshindn4404 10 หลายเดือนก่อน

    nice videos

  • @WahyuWidiastono
    @WahyuWidiastono ปีที่แล้ว

    try this for my new project

  • @CTO-q6m
    @CTO-q6m ปีที่แล้ว

    perfect and simple)

  • @emerydusabe5813
    @emerydusabe5813 ปีที่แล้ว

    Tres bonne pratique

  • @JMBAWORKS
    @JMBAWORKS ปีที่แล้ว

    thanks for the info

  • @itsronnylicious
    @itsronnylicious 11 หลายเดือนก่อน

    thank you!

  • @PolycampusLearningManagement
    @PolycampusLearningManagement 11 หลายเดือนก่อน

    Thanks.

  • @sumitkumarbag9113
    @sumitkumarbag9113 ปีที่แล้ว

    helpful video

  • @codedjango
    @codedjango ปีที่แล้ว

    Do you have any video on how to deploy backend e.g. Django and frontend e.g. Vue3 both on nginx?

    • @codewithsusan
      @codewithsusan  ปีที่แล้ว

      Not at the moment - I don't work much with Django (nothing against it, just don't use it currently).

    • @codedjango
      @codedjango ปีที่แล้ว

      Sure thanks...

  • @ytwatcher-e7x
    @ytwatcher-e7x ปีที่แล้ว

    thank you

  • @caXos
    @caXos ปีที่แล้ว

    Subscribed!

  • @programmingcircuit
    @programmingcircuit 10 หลายเดือนก่อน

    thank you

  • @jintuvincent8732
    @jintuvincent8732 ปีที่แล้ว

    good one

  • @RiddleRover
    @RiddleRover 11 หลายเดือนก่อน

    Thanks

  • @Autopoietico
    @Autopoietico 10 หลายเดือนก่อน

    Good video! :D

  • @BhavyaDaiya
    @BhavyaDaiya 11 หลายเดือนก่อน

    Thanks!

  • @carlsagan4285
    @carlsagan4285 10 หลายเดือนก่อน

    good job

  • @mohammedinam4324
    @mohammedinam4324 ปีที่แล้ว

    Helpful

  • @lucasguedes3498
    @lucasguedes3498 ปีที่แล้ว

    ty

  • @manjulsigdel3671
    @manjulsigdel3671 11 หลายเดือนก่อน

    Good video

  • @DimasBayuSampurno
    @DimasBayuSampurno ปีที่แล้ว

    Good!

  • @PsixTsix
    @PsixTsix 10 หลายเดือนก่อน

    Nice

  • @rootuser-i8w
    @rootuser-i8w 5 หลายเดือนก่อน

    Can recommend ne what is the best solutuon for setting owrmisison for my latavel directory
    Assuming var/www/test is my laravel oroject stored
    Currently im doing as owner is root
    Group owber is www data
    Is this a good solution.
    Sometimes i need to run acript in the server.
    Please guide me on how to setup a proper permissions

    • @codewithsusan
      @codewithsusan  5 หลายเดือนก่อน

      The solution you mentioned, with the owner set to root and the group set to www-data (or the user under which your web server runs), is a common and reasonable approach.
      That being said, it's generally recommended to set the owner to the user account that will be managing the project (e.g., your user account), rather than root. This helps prevent accidental changes or modifications by the root user.

  • @josematimbe638
    @josematimbe638 11 หลายเดือนก่อน

    thanks !

  • @KienNguyen-sg1nf
    @KienNguyen-sg1nf ปีที่แล้ว

    Good

  • @Intelligaia-Studio
    @Intelligaia-Studio 11 หลายเดือนก่อน

    it is showing file not found

    • @codewithsusan
      @codewithsusan  11 หลายเดือนก่อน

      My best guess based on the info you provided is there was an issue during the step of configuring the site with Nginx. Double check the settings you added to the file in /etc/nginx/sites-available/. If you want to email me a copy at mail@codewithsusan.com I can give it a second set of eyes for you.

  • @Bathmaraj-c5r
    @Bathmaraj-c5r ปีที่แล้ว

    tq

  • @tiengdev
    @tiengdev 10 หลายเดือนก่อน

    great

  • @DimasBayuSampurno
    @DimasBayuSampurno ปีที่แล้ว

    Nice Konten

  • @imadelcass7182
    @imadelcass7182 10 หลายเดือนก่อน

    thanks

  • @tanphan3426
    @tanphan3426 ปีที่แล้ว

    Or, simply say, ”Subscribed!”

  • @parinda.befikar
    @parinda.befikar ปีที่แล้ว

    nice video

  • @POPEYE11
    @POPEYE11 ปีที่แล้ว

    nice

  • @MhadiAhmed
    @MhadiAhmed ปีที่แล้ว

    good

  • @jcp637
    @jcp637 ปีที่แล้ว

    ¡Suscrito!

  • @ongaming-9858
    @ongaming-9858 ปีที่แล้ว

    good

  • @akashdhiiman
    @akashdhiiman ปีที่แล้ว

    Subscribed

  • @abdulkarimomer6290
    @abdulkarimomer6290 10 หลายเดือนก่อน

    nice

  • @Un1KeN
    @Un1KeN ปีที่แล้ว

    cool

  • @Pranavdazzler
    @Pranavdazzler ปีที่แล้ว

    graet

  • @bluesky6704
    @bluesky6704 ปีที่แล้ว

    done