Тёмный

Install a webserver on Linux in 15 minutes 

Christian Lempa
Подписаться 208 тыс.
Просмотров 85 тыс.
50% 1

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/xcad2k/videos/tree...
Follow me:
TWITTER: / christianlempa
INSTAGRAM: / christianlempa
DISCORD: / discord
GITHUB: github.com/christianlempa
PATREON: / christianlempa
MY EQUIPMENT: kit.co/christianlempa
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.

Опубликовано:

 

23 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 63   
@Thuras
@Thuras Год назад
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
@diegofirmianodarocha9849
@diegofirmianodarocha9849 Год назад
Great job my friend ! this exactly what i was looking for
@sajaysam
@sajaysam 3 года назад
This is a really good step by step tutorial.. thanks for posting it
@christianlempa
@christianlempa 3 года назад
Thanks, glad you like it 😜
@silasschmidt7852
@silasschmidt7852 3 года назад
Grandiose Erklärung. Werd´s direkt mal nachmachen ;)
@MrFacproductions
@MrFacproductions Год назад
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?
@WorldEnder
@WorldEnder Год назад
in your top level domain registrar, what nameserver did you enter? or did you just entered the IP?
@rikomamadesu
@rikomamadesu Год назад
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!
@ZahidAliAyub
@ZahidAliAyub Год назад
Great job in 15mins. thanks
@christianlempa
@christianlempa Год назад
Thanks :)
@pikewerfer
@pikewerfer Год назад
Why would I need Docker to run a web server? I don't get it....
@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
@HEWfunkingKNEWit
@HEWfunkingKNEWit 3 года назад
Nice I was just wondering how to do this as I already run a semi preconfigured nginx webserver.
@christianlempa
@christianlempa 3 года назад
Thank you man 😊
@allisondealmeida
@allisondealmeida 2 года назад
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.
@wilfredalmeida6109
@wilfredalmeida6109 2 года назад
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
@ivajungmannova
@ivajungmannova 3 года назад
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 года назад
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 2 года назад
thank you Christian
@christianlempa
@christianlempa 2 года назад
You're welcome
@Rotzaff
@Rotzaff 2 года назад
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!
@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!
@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 :)
@TechGuruPradeep
@TechGuruPradeep 2 года назад
Can I run .net core application on this setup?
@christianlempa
@christianlempa 2 года назад
I'm not sure, never tried that
@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 года назад
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?
@christianlempa
@christianlempa 2 года назад
what exactly do you need?
@user-gk3ep5mq9r
@user-gk3ep5mq9r 5 месяцев назад
Good video)
@christianlempa
@christianlempa 5 месяцев назад
thanks!
@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.
@iknowiminsane1949
@iknowiminsane1949 3 года назад
*Bruhhh* How do you type dat faster
@yassinou4269
@yassinou4269 2 месяца назад
I don't know why we need digital ocean for a lab :) I couldn't perform the lab but thanks anyways.
@genkiferal7178
@genkiferal7178 3 года назад
Isn't Twitch owned now by a conglomerate or BigTech? Please use an alternative.
@christianlempa
@christianlempa 3 года назад
Erm, what?
@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
@sanskarmasurkar807
@sanskarmasurkar807 11 месяцев назад
..thanks saitama
@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 года назад
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
Далее
Reverse proxy nginx letsencrypt tutorial
17:12
Просмотров 116 тыс.
Elden Ring DLC - ПОДОЖГЛО ПОПУ!
07:26
Просмотров 509 тыс.
Maybe i need to add instructions @popflexactive
00:14
Ubuntu Server: Getting started with a Linux Server
1:09:33
Web Server Concepts and Examples
19:40
Просмотров 235 тыс.
Buying the Most EXPENSIVE Temu Items
23:44
Просмотров 511 тыс.
por que parei de usar Vim depois de 2 anos de uso
14:44
Essential First Steps for Every New Linux Server Build
20:39
Don’t run Proxmox without these settings!
25:45
Просмотров 148 тыс.
Your Old PC is Your New Server
11:07
Просмотров 6 млн
What's the BEST home server operating system?
17:35
Просмотров 622 тыс.
Manage all your SSH servers with teleport
33:28
Просмотров 75 тыс.
Linux File System/Structure Explained!
15:59
Просмотров 4 млн
Elden Ring DLC - ПОДОЖГЛО ПОПУ!
07:26
Просмотров 509 тыс.