Тёмный

Vagrant Crash Course 

Traversy Media
Подписаться 2,3 млн
Просмотров 189 тыс.
50% 1

In this crash course we will dive into Vagrant which is used to create isolated & portable development environments. We will go into each part of the Vagrantfile, do some exploring via SSH and create a LAMP stack box (Linux, Apache, MySQL, PHP).
Vagrantfile & bootstrap.sh:
github.com/bradtraversy/vagra...
💖 Become a Patron: Show support & get perks!
/ traversymedia
Website & Udemy Courses
www.traversymedia.com
Follow Traversy Media:
/ traversymedia
/ traversymedia
/ traversymedia

Наука

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

 

1 май 2018

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 247   
@Carl-yu6uw
@Carl-yu6uw 6 лет назад
Great crash course, thanks. I'm always impressed with your presentations - it's like you reinforce every detail you touch upon with examples so people aren't left wondering. Must take a lot of time to prepare.
@brandymedia
@brandymedia 4 года назад
Thanks again Brad. I've been watching your videos now for a couple of years and you've taught me so much. Thanks mate.
@andrewhollister9967
@andrewhollister9967 4 года назад
Thanks for this content boss! I'm doing a vagrant project rn and went from knowing very little to confident. Had to watch on 2x but this was very useful, thank you again!
@dedpossum66
@dedpossum66 2 года назад
Thank you so much! Any time there is a Brad Traversy video on a topic I must learn I let out a sigh of relief.
@liuhongqian
@liuhongqian 5 лет назад
Best IT tutorial on youtube so far. Both course structure and pronunciations are clear. Thank you!
@rockthemic12
@rockthemic12 Год назад
Thanks for the great tutorial! Very practical and clear. I've gone through multiple Vagrant tutorials over the past few weeks, and this has been the most helpful.
@TheSerphmx
@TheSerphmx 5 лет назад
This is one of the best explanations of how to use Vagrant, thank you very much for sharing this lesson.
@giangbioinformatics
@giangbioinformatics 2 года назад
You make my day. Somehow, your tuturial is better than the official document with only less than 1 hour I can get the fundamental of Vagrant.
@warchild2726
@warchild2726 6 лет назад
Literally today I was trying to make lamp stack working with vagrant, but I was failing, thanks for video! Also big fan of your courses
@kaustavganguly8071
@kaustavganguly8071 4 года назад
This is a really simple and straightforward lesson for vagrant. Thank you Brad
@JorgeAmengol
@JorgeAmengol 3 года назад
Thanks for putting together this crash course! I was asked to use Vagrant in a CS class and had no clue about it until now.
@OladipupoPopoola
@OladipupoPopoola 6 лет назад
I can't believe I just overcame a knowledge I have been procrastinating for so long!!! Thank you man.
@ekrresa
@ekrresa 4 года назад
Thank you Brad. Just started a job where they use vagrant. This has cleared a lot of things for me
@ricardocolares716
@ricardocolares716 6 лет назад
Brad always knows what i'm trying to learn. This is awesome!
@bidam1984
@bidam1984 6 лет назад
not only you know every programming language possible, but you also read mind ??? i was looking for vagrant not half an hour ago and tadaaaaaaa , thank you very much
@SweetieOranges
@SweetieOranges Год назад
Thank you for the lesson. I am totally an newbies on this kind of environment, the lesson is simple and straightforward, it helps me a lot. Thank You for the sharing.
@rajtheo
@rajtheo 4 года назад
Excellent tutorial. I spent much time without success to get php7.2 going. eventually I did upgrade it to 16.04 with the commands I looked up sudo apt-get update sudo apt-get upgrade sudo do-release-upgrade -f DistUpgradeViewNonInteractive once it was all done. changed the bootstrap.sh lines to reflect php7.3 and it all ended up good.
@indianocean29
@indianocean29 5 лет назад
Simply awesome video on setting up LAMP stack on a Virtual machine. Many kudos !!!
@saltdomeguy
@saltdomeguy 2 года назад
This is really great and thorough explanation. Makes me want to check out more classes. Thanks!
@edgardo8929
@edgardo8929 6 лет назад
Brad, you are the light at the end of the tunnel! Seriously thanks a lot!
@arunganesan8559
@arunganesan8559 3 года назад
Found this pretty useful today to just catch up. Thanks Brad. You rock!
@grahamhardie7847
@grahamhardie7847 3 года назад
Great practical into to Vagrant. Really help me to frame where Vagrant sits in the automation stack.
@akashdubey.consultant
@akashdubey.consultant 5 лет назад
this was a beautiful course, thanks for putting it together. loved the explanation sir, you have a great weekend :-)
@MoatazMohamady
@MoatazMohamady 4 года назад
Thanks, Traversy I enjoyed this lecture. I'm going to install lamp also I will use homestead for travel.
@DanielK48
@DanielK48 6 лет назад
Brad's mind has more information than Wikipedia!
@TraversyMedia
@TraversyMedia 6 лет назад
It may seem that way but trust me, I have A TON of docs, tutorials, blog posts, snippets that I constantly need to refer to. A person can only hold so much in their mind. Programming is not about memorization, it's about knowing how to figure stuff out and where to look :)
@albertgalvez2556
@albertgalvez2556 6 лет назад
Bradepedia*
@meharsingh9725
@meharsingh9725 6 лет назад
Traversy Media This should get pinned as it gives so much confidence 👏👏
@rebeka1212100
@rebeka1212100 6 лет назад
Traversy Media yessss i agree with you👍
@TraversyMedia
@TraversyMedia 6 лет назад
Richard Dale thanks for your input. Very helpful lol. I don’t think he really meant it, he was just referring to the vast amount of tutorials that i put out, so relax.
@YonasBehailu
@YonasBehailu 3 года назад
This was what I need. thank you. Keep up the good work. I was on Windows so I need to give you this confirmation that NFS is not working on Windows. it will give this error while I reload the box. "It appears your machine doesn't support NFS, or there is not an adapter to enable NFS on this machine for Vagrant. Please verify that `nfsd` is installed on your machine, and try again. If you're on Windows, NFS isn't supported. If the problem persists, please contact Vagrant support."
@rafdnaah6078
@rafdnaah6078 5 лет назад
Excellent explanation. This got me educated on this new technology. You are the best.
@JasonWierakaJDub
@JasonWierakaJDub 6 лет назад
Dude you rock. (side note) I like watching your videos on my system that as the sub woofer! Great info!
@Cronofear
@Cronofear 3 года назад
Beautifully explained tutorial, subscribed just 5 minutes in the video. I would have only added a way to visualize the permissions and file synchronization with something like an ftp client, but apart from that it's perfect.
@rossgeography
@rossgeography 2 года назад
When the student is ready, the master appears :) Late to the vagrant party but this is ideal for a newbie that doesn’t want to screw up their own os - esp trying to learn apache httpd (so many conf options!)
@nikzim2132
@nikzim2132 2 года назад
the best tutorial for beginners in youtube ! Good work!) thanks )
@izharkazmi
@izharkazmi 4 года назад
Thanks Brad. Learnt a lot from this video. You explained it well.
@rabrahierpa
@rabrahierpa 6 лет назад
Very nice Brad. I like what your are doing and I am waiting for the docker tutorial :)
@trustmub1
@trustmub1 6 лет назад
nice, just what i wanted for my LPI DevOps tools Engineer, we need more og these
@hammertonmwawuda2837
@hammertonmwawuda2837 5 лет назад
Thanks for the tutorial. You really simplied things for me.
@Super_Cool_Guy
@Super_Cool_Guy 6 лет назад
Hi Brad , Brilliant video man , but we need more .... and for docker too ! ☺☺☺
@KelvinChuchu17
@KelvinChuchu17 5 месяцев назад
Great content even today. Thank you so much for sharing.
@cancer10in
@cancer10in 6 лет назад
Brad, thanks for this video. I am waiting for the docker video. many thanks
@prabeen90
@prabeen90 6 лет назад
this was a surprise. I have never heard of it before. thank you
@emanoelnascimento9496
@emanoelnascimento9496 5 лет назад
Great tutorial as always!! Your tutorials are so easy to understand without being too long or packed with excessive/useless information Quick question: does Vagrant download the OS files every time you create a new box or it keeps them locally after you create the first one? Something like saving the Docker image
@abidalica
@abidalica 2 года назад
Loved it , just loved your work man, thanks
@mstafadev6729
@mstafadev6729 6 лет назад
As usual , the great content. I hope one day you make a video where you share with us your daily routine as a programmer.
@osamaa.h.altameemi5592
@osamaa.h.altameemi5592 6 лет назад
Neat as usual. Thx a ton, waiting for docker :)
@RuqiRevolt
@RuqiRevolt 5 лет назад
i was only here just to learn briefly about vagrant and only sticks for around 5 mins when i clicked this video, and then i ended sticking for the whole 46 mins and learned a lot more lol
@djspacetooth
@djspacetooth 2 года назад
2022 and still a very helpful video 👍 Thanks Brad
@rotinaindependente
@rotinaindependente 6 лет назад
Excellent work Brad, but please, the next video could be about docker, here in Brazil I see a lot of enterprises using docker more than vagrant.
@gediminasgineitis1725
@gediminasgineitis1725 5 лет назад
Brad, another awesome tutorial! Thank you so much! I've got a question though. How do I connect to the DB using something like HeidiSQL? Which IP/Port do I need to enter? Do I have to edit /etc/mysql/my.cnf inside the Vagrant box?
@juliemoore728
@juliemoore728 6 лет назад
Great tutorial! You have the Midas touch!!!
@yosephbirhanu9838
@yosephbirhanu9838 2 года назад
the best explanation about vagrant.
@stepnforlife7948
@stepnforlife7948 Год назад
Great explaining! Ty for your work! Got my subscription!
@robitops1547
@robitops1547 4 года назад
Your Tutorial is always awesome.
@pesiok
@pesiok 6 лет назад
Docker+Kubernetes+Terraform bundle crash course(s) would be great!
@maxkinli
@maxkinli 6 лет назад
How can i start react-app with vagrant? I tryed to install my dependensies, but it sayes what cant find the package.json in this directory
@kchausheva
@kchausheva 2 года назад
Brad, you are a legend!
@SirxMMPD
@SirxMMPD 4 года назад
Thanks for the tutorial video on vagrant. I was able to get Ubuntu 18.04 with LAMP running with vmware with a few tweaks! :)
@mdiazftw
@mdiazftw 4 года назад
This was so helpful thanks for making it!
@jaimsseuma4022
@jaimsseuma4022 6 лет назад
You are the best, Brad!
@Chriptus
@Chriptus 5 лет назад
Very good tutorial! Well done and thanks!
@sagarmaheshwary3150
@sagarmaheshwary3150 6 лет назад
Nice, I wanted to learn vagrant.
@olexandrplakhotniuk7728
@olexandrplakhotniuk7728 5 лет назад
Thank You very much. How to use multisites in this vagrant box?
@k4ishida
@k4ishida 5 лет назад
Thank you very much! That's one of the beast tutorial!
@ErnestoBarreto
@ErnestoBarreto 6 лет назад
Well done my friend !
@SaurabhModh
@SaurabhModh 6 лет назад
28:32 if your facing issue with nfsd, Try following command on ubuntu 17.10 sudo apt-get install nfs-common nfs-kernel-server
@mohammadakbar32
@mohammadakbar32 6 лет назад
thanks Brad, love u bro!
@mustafaomar9192
@mustafaomar9192 5 лет назад
No wasting time, greate tutorial BRAD!
@vincentricci445
@vincentricci445 3 года назад
Thanks! Very nice and helpful.
@m19i93
@m19i93 4 года назад
Hi! I would have a question! If I have synced folder, what is for example 100MB. Will it use double place on my physical drive (200MB), or just 100MB. So use it place in the virtual machine and in the host too, or just once? Thanks!
@JohnSmith-fi6vb
@JohnSmith-fi6vb 6 лет назад
Hey traversy media do you know what types of entry level programming positions you can apply to without a college degree?
@ArenitaHernandez
@ArenitaHernandez Год назад
Loved it! Thanks!
@crudolph1573
@crudolph1573 4 года назад
Hi Thank You for the video. What font are you using in the VS Code text editor ? At 13:05 minute, how did you uncomment multiple lines in a single stroke ?
@faharanoeliahjohnson3619
@faharanoeliahjohnson3619 4 года назад
Nice video, I learned a lot from it. Vagrant is very interesting . I have a question, if for example I finished my web development like you did in index.html and I do vagrant destroy. Is there a way not losing the content of my index.html, I mean all my previous coding after I do vagrant up? thanks in advance
@danielbenson2856
@danielbenson2856 5 лет назад
awesome course man!
@fvgoya
@fvgoya 6 лет назад
Brad, in terms of performance, is better having Mac apache native installed or is better to use Apache in Vagrant? Sounds to me that is better with Vagrant, also because looks more flexible and portable.
@user-gb6xdwgzdtq4
@user-gb6xdwgzdtq4 4 года назад
Спасибо за крутое видео про Vagrant! Thanks for the cool video about Vagrant!
@josbexerr5166
@josbexerr5166 6 лет назад
Gracias mister..... excelente muy conciso y claro
@soycloud
@soycloud 6 лет назад
Hey Brad, a little request, a video with what OS is the best for developer and a little introduction to tell us what have that OS that make you decided, something like Linux/Debian and what tools Debian has for a developer of 2018. Hope you can make a video with this
@pabloruiz577
@pabloruiz577 4 года назад
If I simply add the line of vm.synced_folder when I run vagrant ssh I receive a vagrant@127.0.0.1: Permission denied (publickey). Anyone else?
@synthmania7275
@synthmania7275 3 года назад
Thank you so much for the video!
@sorcererstone3303
@sorcererstone3303 5 лет назад
@10:36, if I am using a local loopback and not communicating with other system, should I un-comment line 26, 31 & 35 and key in the local IP of my computer in line35 instead? Or just leave these commented lines alone. Also, what if I plug my computer into another network, say a school, what should line 35 be modified to meet this location requirement.
@laurentiudaniel3075
@laurentiudaniel3075 2 года назад
Great video!
@SivakD
@SivakD 5 лет назад
It's good, but it seems like PHP is unable to be installed. I use the same bootstrap.sh file and also tried doing some manual commands. I have Vagrant on Windows 10. Have there been any updates since this video? *UPDATE: It looks like the support for the version of Ubuntu shown in this video has ended, hence why I was unable to install PHP.
@a.s.5986
@a.s.5986 6 лет назад
Really appreciate this. +1 for Docker
@arindammondal9492
@arindammondal9492 4 года назад
Do I need to install all the softwares again in the VM..after I do vagrant destroy?
@aligeshani410
@aligeshani410 2 года назад
I have problem with Private Network Section, I don't know what Ip address should i place there ,I tried many Ip addresses but doesn't work, terminal show me an error and my vm can not boot
@Codeytek
@Codeytek 5 лет назад
Awesome tutorial as always.I am one of your fans
@kyu9649
@kyu9649 4 года назад
Can you also use docker as provider from vagrant? Aka you design a box in vagrant but instead of running it on virtualbox run it as docker image?
@rhkina
@rhkina 3 года назад
Great tutorial!!! Thank you!
@user-zd4jl7gj9m
@user-zd4jl7gj9m Год назад
Each time I run the vagrant up command in the vs code terminal I get the timeout error, can you help me to solve this error as I have been struggling a lot correct it.
@AbhishekKumar-mq1tt
@AbhishekKumar-mq1tt 6 лет назад
Thank u for this awesome video, U r awesome Brad
@Yogesh_Kushwaha
@Yogesh_Kushwaha Год назад
Thanks Brad!!!!
@yasirshakeel7790
@yasirshakeel7790 5 лет назад
very helpful video highly appreciated !
@macaronivirus5913
@macaronivirus5913 6 лет назад
Hi Brad, can you make a video about how do you manage to find a time to learn all this stuff, or how some busy person can optimize his daily routine to find a time to learn, or how learn efficiently. For example I have problem with interest/motivation, i'm starting to learn one stuff and then suddenly get interested in another stuff, thus never learn anything deep enough
@SneakPeak
@SneakPeak 3 года назад
Yo, maybe you have problems with Dopamine? I have same issues, diagnozed with ADHD soo.. Check that out
@KeeganGeorge
@KeeganGeorge 4 года назад
I hope I can help someone with this problem I was having. If you are on macOS Catalina or higher and you've run into the issue of the shared folders not working/having access to it. I found out that this was because my project was located in the Documents folder of the Mac. But since, Catalina, I guess there is some new write permissions changes so it is causing the error. If you move your vagrant folder to a folder outside of your Documents folder it should solve the problem.
@priyankamahadevu3830
@priyankamahadevu3830 3 года назад
Awesome professor :)
@bogdanM29
@bogdanM29 4 года назад
for those using ubuntu on windows, before running vagrant commands, you should add: export VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1" and in the synced folder edit the values to: config.vm.synced_folder ".", "/vagrant", disabled:true
@vitshirgazin7845
@vitshirgazin7845 3 года назад
Amazing tutorial. Thanks a lot )))
@generalg007
@generalg007 6 лет назад
Thanks Brad!
@koukiadem
@koukiadem 6 лет назад
Nice Tutorial ♥ I want to what is the difference between Docker and Vargant ?
@michielim
@michielim 4 года назад
this is amazing, thank you so much
@ethio-code6509
@ethio-code6509 6 лет назад
Thanks for your videos Brad. Can you make a video about how to make REST api in PHP without any framework?
Далее
Bootstrap Beginner Crash Course
1:13:27
Просмотров 1 млн
Exploring Docker [1] - Getting Started
34:38
Просмотров 409 тыс.
شربت كل الماء؟ 🤣
00:31
Просмотров 16 млн
The Most Legendary Programmers Of All Time
11:49
Просмотров 537 тыс.
How NVIDIA just beat every other tech company
9:20
Просмотров 1,2 млн
How Could ANYONE Spend $4000 on a SOUNDBAR??
11:40
Просмотров 832 тыс.
Coding a Web Server in 25 Lines - Computerphile
17:49
Просмотров 329 тыс.
SSH Crash Course | With Some DevOps
55:02
Просмотров 549 тыс.
Google Chrome Developer Tools Crash Course
51:20
Просмотров 677 тыс.
Using docker in unusual ways
12:58
Просмотров 419 тыс.
Самый быстрый пылесос!
0:30
Просмотров 23 тыс.