The multiple lines for installing required packages around the 7:30 mark: sudo apt-get install -y gcc python3-dev libkrb5-dev && \ sudo apt-get install python3-pip -y && \ pip3 install --upgrade pip && \ pip3 install --upgrade virtualenv && \ sudo apt install krb5-user -y && \ pip3 install pywinrm && \ sudo apt install ansible -y I imagine most know this already if you're working with Linux shell commands, but this is basically all one command "line"; it's split up for easier reading but the "&& \" portion at the end of each line tells the shell to include the next line of text as part of the previous line's commands. I.E. This will execute multiple commands sequentially.
Thank you very much Alex! Always trying to improve the quality of the content and the video production. I appreciate the feedback as it helps to know things are going in the right direction. Thanks again!
Great video thank you sir. I have not use WSL in a while, now I need to take another look at it. Thanks all the best in 2023 looking forward to what you have for us in 2023..
It would be cool to have an ansible (?PowserShell) spin up a virtual stack with options to use differing vm mgrs....maybe one to convert existing system to virtual image and save/restore as one of many. Very info dense and amazing concepts....I want to create a home ceph storage net with varying numbers of hosts both real and virtual.
Really liked the video and the pace from "beginner" to installing Kubernetes for more advanced workflows. Maybe a good follow-up video (if not already done) would be to speak about the GPU and Kernel building, for the even more advanced needs. One little remark/question: could insert some of the references you're basing yourself? specially anything about installations as it may help reading further. Keep the excellent work.
Video is quite good. I am not using WSL for such functionalities as I am limited with resource. what I did is spun up a ubuntu server in Vmware, and installed all the tweaks there to play around.
Sorry, (noob question) I was unable to get what you did to accomplish the "Adding the command to suppress the sudo prompt" in (4:35) @VirtualizationHowto
Thanks for the systems tip. One question regarding to ssh remote connection. What would be the best practice for allowing wsl ssh connection from a remote client? Is it still through a port forwarding via the Windows?
The store (and your wsl --version) seems to show WSL version 1. If not interested in file-system performance wouldn't WSL-2 be better as it can run Rancher or "Docker Desktop For Windows" with the WSL2 backend? How does Hyper-V fit in?
I'm curious about the relations of Power Automate, Power Shell, Python and the M$/Knowledge graph.... and the costs involved .... I would prefer Python and the Eclipse enviornment.
hi. can you please do a video on how to properly expose the wsl network to the LAN of the host machine (with metallb or something) ? there are options like ngrok or windows virtual switch etc. but i dont know whats the best and how to set up. would be nice to know how to thanks
why people install docker inside a WSL distro? Does it add more complexity as unneeded as if you run docker on host machine and let them communicate to each other?
your video helped me to setup wsl2 with all the necessary tweaks. Just one question : are you using the insider build of wsl2 ? there are some major updates on networking and memory reclaim
Another thing I find myself doing every time I set up WSL from scratch is to have my SSH key/s loaded automatically using keychain. Something I did not manage to do is to bridge the network interface with the host... don't think this is possible yet (?).
Excellent video. Everything is running on my side except "kubectl get nodes" I get the command not found. kubectl is in my home directory but not with -x privileges. Maybe I missed something?
I found the solution. I changed the mode of kubecrl making it executable (chmod +x kubectl) and moved to /usr/local/bin. Now it is working. Thank you cgarafulic :)
Awesome thanks. I ran into this on Ubuntu 22. These are the commands I had to run if kubectl is in your home directory still. chmod +x kubectl sudo mv ./kubectl /usr/local/bin/
Really awesome, thanks for this Informative video. I have a question though, I wonder if we could install all of WSL2, Vmware Workstation, Virtualbox and Micorsoft Hyper-v all in one machine?!!! Thank you
Wow. Now I have a ❓ for the gurus. Can Ansible suck out (clone, I suppose) from a manually-configured system or environment, i.e., existing setup / configuration, that information and write an Ansible script that one can take to put on another vanilla machine to make it be set up the same way as the first one that was manually configured? And, if not, why not?
I been waiting for them to release a static IP for their linux subsystem. Seems after every reboot of windows the subsystem gets assigned a different IP. Not good if you are running say a server in that subsystem.
Dominic, I think this may not be on the roadmap as from what I can see from Microsoft, they don't want WSL to be used as a server for many reasons, although in my opinion it would be great.
Many thanks for the video, definitely helpful. I really like wsl and have been using it with k3d which I can really recommend as a great way to run Kubernetes in WSL. I have been able to get libvirt running and run various virtual machines. I have been trying to get ProxMox 8 running in WSL (either as a distro or on top of my Debian distro) but so far no luck and am continuing to investigate, has anyone managed to do this?
Where to find genuine Windows 11 lightweight version with crack or patch or serial keys 🔑 🤔 I need this to host kali linux in the wsl on my system. Thanks in advance for your help and support 👍
you don't explain properly. after pasting the command to suppress the password, you don't say the function applied used to save and someone new to this won't even know why the command appears that way. you have to tell people to put in their linux usernames
Sybell, I agree if you are a LInux user there is no point to WSL. However, if Windows is your daily driver, WSL is awesome and provides a great way to have quick and easy access to all the Linux tools.
David, thank you for the comment! WSL is intended to help those stuck on Windows environments for one reason or another have quick and easy access to Linux and for that I think it shines. Definitely a great tool.
One small note about using a .local TLD, use something else. .local is reserved for mDNS and you may run into issues. I understand people use it for labs, but it still important to understand the issue. en.wikipedia.org/wiki/.local
Excellent video. Everything is running on my side except "kubectl get nodes" I get the command not found. kubectl is in my home directory but not with -x privileges. Maybe I missed something?
The multiple lines for installing required packages around the 7:30 mark:
sudo apt-get install -y gcc python3-dev libkrb5-dev && \
sudo apt-get install python3-pip -y && \
pip3 install --upgrade pip && \
pip3 install --upgrade virtualenv && \
sudo apt install krb5-user -y && \
pip3 install pywinrm && \
sudo apt install ansible -y
I imagine most know this already if you're working with Linux shell commands, but this is basically all one command "line"; it's split up for easier reading but the "&& \" portion at the end of each line tells the shell to include the next line of text as part of the previous line's commands.
I.E. This will execute multiple commands sequentially.
thank you
Thanks for doing this, friend. no idea why the OP didnt post this to begin with
Amazing- the quality and substance of your videos has gone “up there” with the best. Well done!
Thank you very much Alex! Always trying to improve the quality of the content and the video production. I appreciate the feedback as it helps to know things are going in the right direction. Thanks again!
Thank you for showing the WSL2 installation for minikube sir!
Happy that most of the setup works with WSL 1, as I had some problems with WSL 2 not being able to reach the internet when on a VPN.
Great video thank you sir. I have not use WSL in a while, now I need to take another look at it. Thanks all the best in 2023 looking forward to what you have for us in 2023..
Just subscribed, as I may be your spooky action at a distance. Also maybe because I am home lab nerding.
Oh man! What is the world going to do with two of us! Brandon thanks for the comment and glad to know you are out there :)
10:15 you can also do source ~/.bash_aliases ;)
It would be cool to have an ansible (?PowserShell) spin up a virtual stack with options to use differing vm mgrs....maybe one to convert existing system to virtual image and save/restore as one of many.
Very info dense and amazing concepts....I want to create a home ceph storage net with varying numbers of hosts both real and virtual.
Superb. Many thanks!
Would be awesome if you would provide the powershell/ansible install commands
sudo apt-get install -y gcc python3-dev libkrb5-dev && \
sudo apt-get install python3-pip -y && \
pip3 install --upgrade pip && \
pip3 install --upgrade virtualenv && \
sudo apt install krb5-user -y && \
pip3 install pywinrm && \
sudo apt install ansible -y
Really liked the video and the pace from "beginner" to installing Kubernetes for more advanced workflows.
Maybe a good follow-up video (if not already done) would be to speak about the GPU and Kernel building, for the even more advanced needs.
One little remark/question: could insert some of the references you're basing yourself? specially anything about installations as it may help reading further.
Keep the excellent work.
Video is quite good. I am not using WSL for such functionalities as I am limited with resource. what I did is spun up a ubuntu server in Vmware, and installed all the tweaks there to play around.
Faadi, that is awesome and glad the video was helpful!
Sorry, (noob question) I was unable to get what you did to accomplish the "Adding the command to suppress the sudo prompt" in (4:35) @VirtualizationHowto
Thanks for the systems tip. One question regarding to ssh remote connection. What would be the best practice for allowing wsl ssh connection from a remote client? Is it still through a port forwarding via the Windows?
Where I can find those commands which you are firing in video...... is there any page in your website where you have listed them all ?
very helpful video ! thank you !
Glad it was helpful!
Amazing thank you!
The store (and your wsl --version) seems to show WSL version 1. If not interested in file-system performance wouldn't WSL-2 be better as it can run Rancher or "Docker Desktop For Windows" with the WSL2 backend?
How does Hyper-V fit in?
I'm curious about the relations of Power Automate, Power Shell, Python and the M$/Knowledge graph....
and the costs involved .... I would prefer Python and the Eclipse enviornment.
In reality I would like a UML based Jython code converter with real time interactive diagrams control and monitoring.
Interesting video, is there an associated blob with the steps and command listed?
hi. can you please do a video on how to properly expose the wsl network to the LAN of the host machine (with metallb or something) ? there are options like ngrok or windows virtual switch etc. but i dont know whats the best and how to set up. would be nice to know how to thanks
why people install docker inside a WSL distro? Does it add more complexity as unneeded as if you run docker on host machine and let them communicate to each other?
your video helped me to setup wsl2 with all the necessary tweaks. Just one question : are you using the insider build of wsl2 ? there are some major updates on networking and memory reclaim
Excellent
Great Video
Another thing I find myself doing every time I set up WSL from scratch is to have my SSH key/s loaded automatically using keychain. Something I did not manage to do is to bridge the network interface with the host... don't think this is possible yet (?).
Hi All,
When i do sudo apt-get update or try yo install anything i get error as temporary failure resolving.. Any hints how to fix this?
Thanks
Excellent video. Everything is running on my side except "kubectl get nodes" I get the command not found. kubectl is in my home directory but not with -x privileges. Maybe I missed something?
I found the solution. I changed the mode of kubecrl making it executable (chmod +x kubectl) and moved to /usr/local/bin. Now it is working. Thank you cgarafulic :)
@@cgarafulic thank you for posting the problem AND the solution, super helpful for others.
Awesome thanks. I ran into this on Ubuntu 22.
These are the commands I had to run if kubectl is in your home directory still.
chmod +x kubectl
sudo mv ./kubectl /usr/local/bin/
Can you make a video of using a gui with wsl
the snap install command said it isn't supported by wsl
Hi,
If I were to override my old installation of WSL with the one from Microsoft Store, would I lose all my files?
Great video, what are your thoughts on pros & cons between Microk8s & KinD?
Good morning. I am experiencing the hardest time installing Ansible. Can you assist?
Really awesome, thanks for this Informative video. I have a question though, I wonder if we could install all of WSL2, Vmware Workstation, Virtualbox and Micorsoft Hyper-v all in one machine?!!! Thank you
NSX togo, it should be possible, specially with the latest VMware Workstations coexisting with Hyper-V :)
@@VirtualizationHowto Thank you 🙂
Wow. Now I have a ❓ for the gurus.
Can Ansible suck out (clone, I suppose) from a manually-configured system or environment, i.e., existing setup / configuration, that information and write an Ansible script that one can take to put on another vanilla machine to make it be set up the same way as the first one that was manually configured? And, if not, why not?
Is network mode “host” available on wsl2?
Its not recognizing the command help please ty
I been waiting for them to release a static IP for their linux subsystem. Seems after every reboot of windows the subsystem gets assigned a different IP. Not good if you are running say a server in that subsystem.
Dominic, I think this may not be on the roadmap as from what I can see from Microsoft, they don't want WSL to be used as a server for many reasons, although in my opinion it would be great.
Many thanks for the video, definitely helpful. I really like wsl and have been using it with k3d which I can really recommend as a great way to run Kubernetes in WSL. I have been able to get libvirt running and run various virtual machines. I have been trying to get ProxMox 8 running in WSL (either as a distro or on top of my Debian distro) but so far no luck and am continuing to investigate, has anyone managed to do this?
new suscriber here
Alan! Thank you so much for the comment and the subscribe!
Where to find genuine Windows 11 lightweight version with crack or patch or serial keys 🔑 🤔 I need this to host kali linux in the wsl on my system. Thanks in advance for your help and support 👍
Ditch WIndows for Linux.
Actually, it doesn't install a Windows subsystem on Linux.
It's the other way around. :)
you don't explain properly. after pasting the command to suppress the password, you don't say the function applied used to save and someone new to this won't even know why the command appears that way. you have to tell people to put in their linux usernames
I am stuck there, can you please tell me what I am supposed to do here?
Edit: figured it out, you have to press ctrl + x
Whats the point, I will just run linux.. That way I dont have all the bloat and telemetry on my system.
Sybell, I agree if you are a LInux user there is no point to WSL. However, if Windows is your daily driver, WSL is awesome and provides a great way to have quick and easy access to all the Linux tools.
downvotes for the lack of command lines
i though i was window emulator on linux :(
Only a TRUE DIE HARD Windows user would build all this into a Windows environment when you can run Windows as a VM in Linux if you need it SO BAD.
David, thank you for the comment! WSL is intended to help those stuck on Windows environments for one reason or another have quick and easy access to Linux and for that I think it shines. Definitely a great tool.
Smh just switch to arch XD
Whenever I open ubuntu its showing like this only
"root@ZED_AIR_CX3:~#"
and its not opening through any user
can you plz help me with this?
One small note about using a .local TLD, use something else. .local is reserved for mDNS and you may run into issues. I understand people use it for labs, but it still important to understand the issue.
en.wikipedia.org/wiki/.local
David, good point, definitely for labs and other environments with the .local domains.
Excellent video. Everything is running on my side except "kubectl get nodes" I get the command not found. kubectl is in my home directory but not with -x privileges. Maybe I missed something?