Problems with nested Virtualization in VMware VMs & the Solution worked for me

Host OS: Windows 11 Pro

Guest OS: Windows 11 Pro DEVELOPMENT VM BY MICROSOFT

Guest OS: downloaded from here free Dev Version valid ~3 mo: VMware version:

https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/

After having downloaded unzipped and imported to VMware Workstation Pro 17.0.2.

Nested Virtualization problems followed by solution:

SOLUTIONS TO TRY OUT

SOLUTION STEP-1

Go to HOST OS: Turn Windows Features On or Off ENSURE THESE 4 GREEN CIRCLED ARE UNCHECKED – IF NOT UNCHECK, AND SAVE AND RESTART.

IF Nested Virtualization problems CONTINUE GO TO STEP 2

===

SOLUTION STEP-2 [After Step-1 still not working]

The process to turn off virtualization-based Security:


Below are steps that can be followed to turn off virtualization-based Security for Windows 10 Home & Pro:
For Microsoft Windows 10 Pro & above:

Go To: Edit group policy ( gpedit.msc )
Go to Local Computer Policy > Computer Configuration > Administrative Templates > System
Double-click on Device Guard on the right-hand side to open.
Double Click on “Turn On Virtualization Security” to open a new window
It would be “Not Configured”, Select “Disable” and click “OK”
Close the Group Policy Editor.
Restart the system

TO BECOME:

If you still having problems put in the article comments and I will reply soon!

Setup Laravel 10.x Homestead in Windows 10/11

Section – 1 [Install Software]

https://laravel.com/docs/10.x/homestead#installation-and-setup

vagrant_2.3.7_windows_amd64.msi – https://developer.hashicorp.com/vagrant/downloads

VirtualBox-6.1.46-158378-Win.exe – https://www.virtualbox.org/wiki/Download_Old_Builds_6_1

VirtualBox 6.1.46 (released July 18 2023) << This and Not the >> VirtualBox 7.0.10 platform packages – ​Windows hosts

According to: https://laravel.com/docs/10.x/homestead#installation-and-setup

Code Editor/IDE: PhpStorm-2023.1.4.exe or VSCodeSetup-x64-1.80.1.exe

Lastly install: Git-2.41.0.3-64-bit.exe – https://git-scm.com/downloads

Section – 2 [ENABLE VT-x in Hardware/BIOS/UEFI if disabled]

http://leonidassavvides.com/blog/2023/07/23/enable-vt-x-in-hp-z640-workstation/

Section – 3 [Installing Homestead]

https://laravel.com/docs/10.x/homestead#installing-homestead

Go To CLI Terminal in IDE/Editor or Windows Terminal or Git Bash Terminal and execute:

git clone https://github.com/laravel/homestead.git D:\htdocs_xampp\Homestead

where D:\htdocs_xampp\Homestead the Homestead directory, after entering this directory:

d:
cd d:\htdocs_xampp\Homestead

Next, execute the bash init.bat command from the Homestead directory to create the Homestead.yaml configuration file. The Homestead.yaml file is where you will configure all of the settings for your Homestead installation. This file will be placed in the Homestead directory: if there is a problem with the

init.bat 

use

./init.bat

Section – 4 [Configuring Homestead]

Follow the instructions at:

https://laravel.com/docs/10.x/homestead#configuring-homestead

For configuring the file: Homestead.yaml

Section – 5 [Launching The Vagrant Box]

After all, the steps above, it is time to:

Launching The Vagrant Box

You must have in mind the 4 most used CLI commands FROM CLI/Terminal at d:\htdocs_xampp\Homestead\:

vagrant up # if error on this - please Section 6 below
vagrant status
vagrant suspend
vagrant ssh

Section – 6 [Configuring SSH Keys]

In case the first attempt of running:

vagrant up

you getting

Please give the command to generate ssh keys in Windows:

ssh-keygen -t rsa -C "username@email.com"

This will create the:

C:\Users\lwdls\.ssh\id_rsa.pub
C:\Users\lwdls\.ssh\id_rsa

Then you have to go to Homestead.yaml and edit the SSH Keys with the correct Keys you have just created:

authorize: C:\Users\lwdls.ssh\id_rsa.pub
keys:
     - C:\Users\lwdls.ssh\id_rsa

Then you return to Section – 5 and give the command: vagrant up

The first time you have to await some time to download the Vagrant VM – Ubuntu Server from the repositories…

After the VM OK is launched go to: http://homestead.test/phpinfo.php to see the webpage of phpinfo():

phpinfo.php

<?php
phpinfo();
?>

if any problem put the phpinfo.php

in

public/phpinfo.php

to stop the VM – shutdown the PC – give

vagrant suspend

To add additional sites:

Adding Additional Sites

https://laravel.com/docs/10.x/homestead#adding-additional-sites

To create a Laravel Site – start with download Laravel files with the:

https://laravel.com/docs/10.x/installation#your-first-laravel-project

At Terminal d:\htdocs_xampp\

composer create-project laravel/laravel example-laravel-app

Composer can be installed from:

https://getcomposer.org/download/

Also, the composer comes preinstalled in Homestead/Vagrant/VM

And, a second way is:

After:

vagrant up 

Give:

vagrant ssh

and from Terminal at /home/vagrant/ give the command:

 composer create-project laravel/laravel example-laravel-app

Any way you choose, be sure to edit the Homestead.yaml and every new website added to run:

vagrant reload --provision

And lastly

To run a new URL locally modify the host file at:

On macOS and Linux, this file is located at /etc/hosts. On Windows, it is located at C:\Windows\System32\drivers\etc\hosts:

192.168.56.56 homestead.test
192.168.56.56 another1.test
192.168.56.56 another2.test

Again, according to

Homestead.yaml

After, download the Laravel 10.x bootstrap code base, view the Laravel homepage accordingly by going to http://another1.test.

Happy Laravel Web Development & Coding…!

Why Ubuntu Studio OS is the Best Linux Distribution

Ubuntu Studio is a free and open-source Linux distribution that is designed for content creators, musicians, and other multimedia professionals. It is based on Ubuntu and has all the benefits of Ubuntu, Kubuntu, and other Ubuntu flavors. In this blog post, we will discuss why Ubuntu Studio OS is the best Linux distribution and how it can benefit content creators who are also programmers.

A. Ubuntu Studio is based on Debian, which is known for its stability and security. As a result, Ubuntu Studio inherits all the benefits of Ubuntu, Kubuntu, and other Ubuntu flavors. This includes access to a wide range of desktop environments, an app store, and other useful features. You can customize Ubuntu Studio to suit your needs, and it is easy to use even if you are not familiar with Linux.

B. Ubuntu Studio has more pre-installed apps than any other Linux distribution, and it includes a range of apps for content creation. For example, it has video and audio editing apps like Ardour and Audacity, image, and photo editing apps like GIMP and Darktable, eBook and desktop publishing apps like Scribus, and internet applications like Firefox and Thunderbird. It also includes a range of office FOSS apps like LibreOffice, making it a complete package for content creators.

C. Ubuntu Studio can be easily modified and extended for usage on additional programming tasks. You can install additional text/code editors, IDEs, and emulators for software development, making it the perfect choice for content creators who are also programmers. Ubuntu Studio is also compatible with popular programming languages like Python, C++, and Java, making it a flexible and versatile platform for development.

In conclusion, Ubuntu Studio OS is the best Linux distribution for content creators, musicians, and other multimedia professionals. It is free and open source, making it accessible to everyone. With its wide range of pre-installed apps and the ability to be extended for additional programming tasks, Ubuntu Studio is the absolute perfect choice for content creators who are also programmers. Whether you are a professional or a hobbyist, Ubuntu Studio OS can help you unleash your creativity and take your content creation to the next level.

And all this for free!