No video

[Docker] How to install an Nginx, MySQL, PHP (LEMP) stack in 60 seconds (2020)

  Рет қаралды 10,122

Gary Clarke

Gary Clarke

4 жыл бұрын

ℹ In this recording I demonstrate how YOU can install an Nginx, MySQL, PHP (LEMP) stack in 60 seconds on any computer and the only pre-requisites are that you have git and Docker.
📺 This is a shortcut that will take you to the same end result as I achieved in this video:
• Create a Symfony 5 pro... - Create a Symfony 5 project with Docker PHP MySQL Nginx and Node - Part1
But not everyone wants to work through a 22 minute tutorial...they just want the end result...and I get that, because I've quite often been that guy.
So in this recording I show you how to clone the repo and then spin everything up with a simple docker-compose command. Then I just add an index file to the public folder, check my browser, and BOOM...a living LEMP stack in 60 seconds.
💻Source code here:
github.com/Gar...
📺 If you want to take things one step further, then you can follow this tutorial:
• Create a Symfony 5 pro... - Create a Symfony 5 project with Docker PHP MySQL Nginx and Node - Part2
..then add Symfony, connect to a DB admin tool, pull in Webpack Encore, and compile some assets. If that sounds like your kinda thing...you'll LOVE IT!
🆓 Join garyclarke.tech for course DISCOUNTS and a FREE Docker + PHP course (worth $49)
www.garyclarke...
👇Follow me on Social Media:
Twitter: / garyclarketech
Linkedin: / garyclarketech
💕Show support:
www.paypal.com...

Пікірлер: 17
@vladyslavsvizinskyi4558
@vladyslavsvizinskyi4558 3 жыл бұрын
Thanks ! Your videos are awesome you perfectly convey the essence in simple words.
@GaryClarkeTech
@GaryClarkeTech 3 жыл бұрын
Thanks Vladyslav..I appreciate it!
@chrisn6972
@chrisn6972 Жыл бұрын
Great tutorials Gary! I bookmarked this video for every single Symfony installation I now do. Symfony seems to have changed slightly, I documented my troubleshooting attempts. I ran: $ docker compose up -d --build I saw: => ERROR [6/6] RUN mv /root/.symfony/bin/symfony /usr/local/bin/symfony #0 0.382 mv: cannot stat '/root/.symfony/bin/symfony': No such file or directory I modified file: ./php/Dockerfile ln15 RUN mv /root/.symfony5/bin/symfony /usr/local/bin/symfony Ran it again, and it worked. I believe Symfony may have changed upstream, after the creation of this video.
@GaryClarkeTech
@GaryClarkeTech Жыл бұрын
Cheers Chris..yes that's quite possible as this stuff is now over 2 years old. I'm going to be revisiting Docker + PHP in a couple of months once I've got myself back up to date with it all.
@WolfszeitYT
@WolfszeitYT 10 ай бұрын
thanks chris that was also my problem
@WolfszeitYT
@WolfszeitYT 10 ай бұрын
the localhost 8080 is not working. I have folder Projektname/ than in there app and nginx and so on. Exactly made the stuff from your video. And by the way awesome video short and good. not like all these othe rpeople with 20 min videos. but it says File not found. so something dont seem to match with my structure it seems.
@webdev723
@webdev723 3 жыл бұрын
Thanks for video, I don't know why I am afraid of docker. Hhhh, thanks anyway.
@GaryClarkeTech
@GaryClarkeTech 3 жыл бұрын
Haha..everyone is a little afraid of Docker I think..self included!
@Dirt33breaks
@Dirt33breaks 3 жыл бұрын
hey guy! i have latest docker installed which is running a container for azurahost, all is well but when i run your script to install everything after i have downloaded and moved to the created folder i get this error ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running? any ideas?
@Dirt33breaks
@Dirt33breaks 3 жыл бұрын
never mind! my docker was installed buy root a sudo !! installed it lol
@GaryClarkeTech
@GaryClarkeTech 3 жыл бұрын
I'm glad you figured it out.
@timothel440
@timothel440 3 жыл бұрын
ty dude I won a lot of time with this ty
@GaryClarkeTech
@GaryClarkeTech 3 жыл бұрын
🤝 beautiful
Symfony Forms Tutorial
16:57
Gary Clarke
Рет қаралды 25 М.
NGINX Tutorial - What is Nginx
14:32
TechWorld with Nana
Рет қаралды 84 М.
No empty
00:35
Mamasoboliha
Рет қаралды 12 МЛН
Идеально повторил? Хотите вторую часть?
00:13
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 16 МЛН
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 125 МЛН
Hello, old friend…
13:34
Linus Tech Tips
Рет қаралды 1,4 МЛН
1. Настройка Docker. PHP+Nginx+MySQL
14:02
Alex Skrashuk
Рет қаралды 31 М.
~/.dotfiles in 100 Seconds
13:54
Fireship
Рет қаралды 414 М.
Creating a LEMP stack with Docker Compose
11:16
Pentacode
Рет қаралды 46 М.
Nginx Proxy Manager - How-To Installation and Configuration
12:15
Christian Lempa
Рет қаралды 423 М.
I forced EVERYONE to use Linux
22:59
NetworkChuck
Рет қаралды 334 М.
Docker - nginx, php-fpm, mysql, phpmyadmin. From scratch to finished website
50:07
DanilovCode - Уроки PHP, Yii2
Рет қаралды 23 М.
How To Install phpmyadmin on an Nginx Server (in less than 5 minutes)
5:54
Laravel Docker Nginx + PHP-FPM + op_cache
22:07
Emad Zaamout
Рет қаралды 14 М.
No empty
00:35
Mamasoboliha
Рет қаралды 12 МЛН