Це відео не доступне.
Перепрошуємо.
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.
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
This is a really good step by step tutorial.. thanks for posting it
Thanks, glad you like it 😜
Why would I need Docker to run a web server? I don't get it....
Great job my friend ! this exactly what i was looking for
This was very informative thank you
Thanks for watching
Grandiose Erklärung. Werd´s direkt mal nachmachen ;)
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?
seems like couple of people is having the same questions. help us Christian!
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!
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?
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!
hey mate, I'm curious how your endeavor went in one year, did you succeed with your ideea?
I don't know why we need digital ocean for a lab :)
I couldn't perform the lab but thanks anyways.
Great job in 15mins. thanks
Thanks :)
Great project, can I use it in production? Are these images safe to use? Thanks for sharing your knowledge.
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.
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?
It's easier portable and isolated from the host. I've done some videos on containerization, check them out :)
@@christianlempa Thanks for your prompt answer, I will. 🙂
in your top level domain registrar, what nameserver did you enter? or did you just entered the IP?
thank you Christian
You're welcome
Nice I was just wondering how to do this as I already run a semi preconfigured nginx webserver.
Thank you man 😊
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
You can use a remote SSH plugin for VSCode, I've shown that on my VsCode Extensions video
Excellent
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.
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.
Yeah, you need to make sure that you're using Docker images that have been created for ARM architecture!
Good video)
thanks!
Can I run .net core application on this setup?
I'm not sure, never tried that
Isn't Twitch owned now by a conglomerate or BigTech? Please use an alternative.
Erm, what?
Vielleicht könntest du ein Video über die "Prerequisites before we can start" machen? Ich bekomm das mit der URL nicht hin
Ich hab zu Docker und Docker-compose schon zwei videos gemacht, eventuell könnte ich nochmal ein generelles video zu DNS machen :)
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
geht auch auf deutsch ; )
Du könntest deine php seite in einen Docker Container packen, mit einem apache or nginx webserver image.
Is there any tutorial of how to set domain to webserver?
what exactly do you need?
..thanks saitama
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
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.
@@christianlempa oh okay thanks
*Bruhhh* How do you type dat faster
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
Hi, ist natürlich alles möglich, die Frage ist immer was für Anwendungen und Funktionen du auf dem Server brauchst.
Literally i don't want to hurt your feelings but please stop your English accent
Don't worry man ☺️, but that's something I probably can't easily change, so you need to live with it unfortunately 😋
😁 No problem i will try my best
Your accent is fine as far as I'm concerned anyway