Це відео не доступне.
Перепрошуємо.

Install a webserver on Linux in 15 minutes

Поділитися
Вставка
  • Опубліковано 14 сер 2024
  • Let's install a containerized web server stack on Linux! That will also deploy an intrusion prevention system with fail2ban, obtain trusted https certificates and a database server to install a WordPress blog. #Webserver #Linux #HomeLab
    DOCS: github.com/xca...
    Follow me:
    TWITTER: / christianlempa
    INSTAGRAM: / christianlempa
    DISCORD: / discord
    GITHUB: github.com/chr...
    PATREON: / christianlempa
    MY EQUIPMENT: kit.co/christi...
    Timestamps:
    00:00 - Introduction
    01:32 - Prerequisites before we can start
    04:09 - Prepare the Linux Server
    06:02 - Create the folders and a simple docker-compose file
    12:01 - Deploy a database server
    14:34 - Install WordPress
    ----
    All links with "*" are affiliate links.

КОМЕНТАРІ • 65

  • @Thuras
    @Thuras Рік тому +3

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

  • @diegofirmianodarocha9849
    @diegofirmianodarocha9849 Рік тому +1

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

  • @thenoisyelectron
    @thenoisyelectron 5 днів тому

    This was very informative thank you

  • @silasschmidt7852
    @silasschmidt7852 3 роки тому +3

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

  • @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 Рік тому

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

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

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

  • @wilfredalmeida6109
    @wilfredalmeida6109 2 роки тому +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?

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

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

  • @ZahidAliAyub
    @ZahidAliAyub Рік тому

    Great job in 15mins. thanks

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

  • @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 роки тому +1

      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. 🙂

  • @WorldEnder
    @WorldEnder Рік тому

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

  • @giannifed
    @giannifed 3 роки тому

    thank you Christian

  • @HEWfunkingKNEWit
    @HEWfunkingKNEWit 3 роки тому +1

    Nice I was just wondering how to do this as I already run a semi preconfigured nginx 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

  • @veekly72
    @veekly72 2 роки тому

    Excellent

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

  • @ChrisDePasqualeNJ
    @ChrisDePasqualeNJ 2 роки тому

    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!

  • @user-gk3ep5mq9r
    @user-gk3ep5mq9r 6 місяців тому

    Good video)

  • @TechGuruPradeep
    @TechGuruPradeep 2 роки тому

    Can I run .net core application on this setup?

  • @genkiferal7178
    @genkiferal7178 3 роки тому

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

  • @fluFFPfizschi
    @fluFFPfizschi 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 :)

  • @Califosunify
    @Califosunify 2 роки тому

    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 2 роки тому

      geht auch auf deutsch ; )

    • @christianlempa
      @christianlempa  2 роки тому +1

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

  • @sinamaleki3908
    @sinamaleki3908 2 роки тому

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

  • @sanskarmasurkar807
    @sanskarmasurkar807 11 місяців тому

    ..thanks saitama

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

  • @Ichliebemeinefrauundkinder
    @Ichliebemeinefrauundkinder 2 роки тому

    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  2 роки тому

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

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