Install a webserver on Linux in 15 minutes

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

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

  • @Thuras
    @Thuras 2 года назад +4

    Very well done.. I posted an error before, but that was a simple typo mistake on my end and I removed it.. thank you very much. this is the best docker webserver so far! keep it going

  • @sajaysam
    @sajaysam 3 года назад +6

    This is a really good step by step tutorial.. thanks for posting it

  • @pikewerfer
    @pikewerfer Год назад +2

    Why would I need Docker to run a web server? I don't get it....

  • @silasschmidt7852
    @silasschmidt7852 4 года назад +3

    Grandiose Erklärung. Werd´s direkt mal nachmachen ;)

  • @diegofirmianodarocha9849
    @diegofirmianodarocha9849 2 года назад +1

    Great job my friend ! this exactly what i was looking for

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

    This was very informative thank you

  • @MrFacproductions
    @MrFacproductions Год назад +1

    Thank you for this video, countless long videos to no avail. I have one more query I can't seem to get answered, how would I imply all this but with my own code-written project instead of WordPress?

  • @allisondealmeida
    @allisondealmeida 2 года назад +1

    Great project, can I use it in production? Are these images safe to use? Thanks for sharing your knowledge.

    • @christianlempa
      @christianlempa  2 года назад

      Well I can't tell you if it's a good idea to use it in production. But I don't see a reason why this should be a red flag.

  • @ZahidAliAyub
    @ZahidAliAyub Год назад

    Great job in 15mins. thanks

  • @rikomamadesu
    @rikomamadesu Год назад +1

    can you explain more on what is the URL attribute in docker-compose? would that be the public ip address of the host machine if I don't have domain name?

    • @rikomamadesu
      @rikomamadesu Год назад +1

      seems like couple of people is having the same questions. help us Christian!

  • @thanhpham-kv7xe
    @thanhpham-kv7xe 3 дня назад

    im begging for help why i so exactly the tutorial said but when i acces by browser notting happen

  • @WorldEnder
    @WorldEnder Год назад

    in your top level domain registrar, what nameserver did you enter? or did you just entered the IP?

  • @Rotzaff
    @Rotzaff 3 года назад +4

    Could you please explain, what I have write into URL if I have a local server at home (- maybe ports, too).
    I want to make a local Webserver, which is only accessible via VPN or local network.
    P.S.: with you -> docker makes a lot more fun than before!

  • @ivajungmannova
    @ivajungmannova 3 года назад +1

    Perhaps a stupid question. I am new to this and I have installed only one webserver so far, but what are the advantages of using a Docker sw?

    • @christianlempa
      @christianlempa  3 года назад +2

      It's easier portable and isolated from the host. I've done some videos on containerization, check them out :)

    • @ivajungmannova
      @ivajungmannova 3 года назад

      @@christianlempa Thanks for your prompt answer, I will. 🙂

  • @giannifed
    @giannifed 3 года назад

    thank you Christian

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

    very nice video and i wanna host a wordpress site now on my proxmox server. now i am wondering if it wouldn't be smarter to create a full VM instead of a container in order to have all the stuff that's going to be accessible publically in that VM separate from my private services, which i can run in containers and access via VPN/wireguard inside my local network? i wanna use a turnkey wordpress ISO for that VM. do you see any disadvantages to that approach besides slightly higher overall RAM/CPU usage for the additional OS?

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

      Of course, you can also do it in a VM, just keep in mind this will have slightly higher ram/cpu usage as you mentioned, but also that you have to manage another OS, with patches, configs, etc.

  • @wilfredalmeida6109
    @wilfredalmeida6109 3 года назад +1

    Heyy, I am planning to start my web hosting service where I'll provide Cyberpanel to host websites.
    Now on my hardware, I have make Centos VM's and assign them static ip's(which I can buy frm my isp) and give them out.
    I want to know how I can make vm's, configure network and stuff.
    One approach I figured was to make containers using docker and make virtual NIC's on my host and map container to that NIC and done.
    Is there any better approach? Thanks!

    • @WorldEnder
      @WorldEnder Год назад

      hey mate, I'm curious how your endeavor went in one year, did you succeed with your ideea?

  • @veekly72
    @veekly72 2 года назад

    Excellent

  • @ChrisDePasqualeNJ
    @ChrisDePasqualeNJ 3 года назад

    Question. Will this work on a Raspberry Pi? I'm new to the Linux world and so far and only have limited Raspbian skills. But I can follow your tutorial. But I don't want to start on my Raspberry Pi if only to find out something wont work. Thanks.

    • @christianlempa
      @christianlempa  2 года назад

      Yeah, you need to make sure that you're using Docker images that have been created for ARM architecture!

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

    I don't know why we need digital ocean for a lab :)
    I couldn't perform the lab but thanks anyways.

  • @HEWfunkingKNEWit
    @HEWfunkingKNEWit 4 года назад +1

    Nice I was just wondering how to do this as I already run a semi preconfigured nginx webserver.

  • @genkiferal7178
    @genkiferal7178 3 года назад

    Isn't Twitch owned now by a conglomerate or BigTech? Please use an alternative.

  • @TechGuruPradeep
    @TechGuruPradeep 2 года назад

    Can I run .net core application on this setup?

  • @taminoe.4081
    @taminoe.4081 3 года назад

    Hello, I also need a web server and did everything as described in the video. I also get the correct message with the last command:
    docker-compose ps
    Name Command State Ports
    -----------------------------------------------------------------
    swag /init Up 0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp
    Nevertheless, my website is not available. When I enter the IP address in chrome it says only the website cannot be reached. The server is at my home and the domain is assigned by a DynDNS. I know that it works, because Apache2 runs without problems, but unfortunately without ssl. So I want to change.

  • @any_account-b6x
    @any_account-b6x 3 года назад

    Vielleicht könntest du ein Video über die "Prerequisites before we can start" machen? Ich bekomm das mit der URL nicht hin

    • @christianlempa
      @christianlempa  3 года назад

      Ich hab zu Docker und Docker-compose schon zwei videos gemacht, eventuell könnte ich nochmal ein generelles video zu DNS machen :)

  • @sinamaleki3908
    @sinamaleki3908 2 года назад

    Is there any tutorial of how to set domain to webserver?

  • @AllahomAnsorGaza
    @AllahomAnsorGaza 3 года назад

    please tell me how you can open linux files by visual studio im using windows for my local machine and i can connect to my ubunto server remotly via ssh

    • @christianlempa
      @christianlempa  3 года назад

      You can use a remote SSH plugin for VSCode, I've shown that on my VsCode Extensions video

  • @sanskarmasurkar807
    @sanskarmasurkar807 Год назад

    ..thanks saitama

  • @Califosunify
    @Califosunify 3 года назад

    Hey,
    I would need to install a webserver on my linux, where I run a php website.
    Goal is, to turn that php website into an app by ionic (connect app to webserver).
    Do you have any ideao how to do that :D ??
    thx

    • @Califosunify
      @Califosunify 3 года назад

      geht auch auf deutsch ; )

    • @christianlempa
      @christianlempa  3 года назад +1

      Du könntest deine php seite in einen Docker Container packen, mit einem apache or nginx webserver image.

  • @вапвапвапвапва-ж1и
    @вапвапвапвапва-ж1и 8 месяцев назад

    Good video)

  • @Ichliebemeinefrauundkinder
    @Ichliebemeinefrauundkinder 3 года назад

    Hey, ich würde gerne einen Server für meine app (Android/iOS) über mein raspberry pi rig laufen lassen bzw veröffentlichen. Da linux natürlich auf den RPI3/4 läuft dachte ich du wärst der richtige Ansprechpartner dafür.
    Mein Haupt Anliegen ist dass ich eine App entwickelt habe die ich gerne über meinen eigenen Server laufen lassen würde anstatt einen Server zu mieten, ich habe da an ein Raspberry pi rig gedacht. Da auf dem pi linux sehr gut läuft und ich nicht auf externe Server angewiesen sein möchte.
    Ich hoffe du liest dieses Kommentar und hast eventuell eine Idee/ Lösung um mir zu helfen.
    BTW… sehr gutes Video, guter Inhalt, deinen Akzent musst du loswerden, ich habe ab Sekunde 1 gehört dass, du deutsch bist. Lg Reko

    • @christianlempa
      @christianlempa  3 года назад

      Hi, ist natürlich alles möglich, die Frage ist immer was für Anwendungen und Funktionen du auf dem Server brauchst.

  • @iknowiminsane1949
    @iknowiminsane1949 3 года назад

    Perhaps kinda stupid:) Yo! I'm thinking about starting a web hosting business I already have a vultr with ubuntu (I don't have a good pc so I use dat for my everyday use.. especially for learning linux as I'm a student of 10) so can I know how to setup linux that just automatically creates a user and provided configuration when someone buys a plan from my website. Can you please make a video about it .....thanks in advance

    • @christianlempa
      @christianlempa  3 года назад

      As I'm not into webhosting or similar, I probably couldn't make a good tutorial about it. I might checkout systems like cpanel or plesk which are really good doing this stuff.

    • @iknowiminsane1949
      @iknowiminsane1949 3 года назад

      @@christianlempa oh okay thanks

  • @iknowiminsane1949
    @iknowiminsane1949 3 года назад

    *Bruhhh* How do you type dat faster

  • @gamersshrine9216
    @gamersshrine9216 3 года назад

    Literally i don't want to hurt your feelings but please stop your English accent

    • @christianlempa
      @christianlempa  3 года назад +3

      Don't worry man ☺️, but that's something I probably can't easily change, so you need to live with it unfortunately 😋

    • @gamersshrine9216
      @gamersshrine9216 3 года назад

      😁 No problem i will try my best

    • @CuriouslyWatching
      @CuriouslyWatching 2 года назад

      Your accent is fine as far as I'm concerned anyway