VERDE 8.2.1 and 8.2.2 Installing Android Studio in Windows 10 Images

VERDE 8.2.1 and 8.2.2 Installing Android Studio in Windows 10 Images

Product Line:  VERDE

Some customers need to be able to install and use Android Studio in a Windows 10 image.  The first instructions are specific to VERDE running on Centos 6.x.  Following we'll provide instructions for VERDE running on Centos 7.x.

Android Studio emulator uses qemu-kvm for device emulation. So you need to enable nested virtualization in Verde. But CentOS 6.9 has very old kernel (2.6.32) that doesn't support this feature.
We can resolve this problem by upgrading Linux kernel to modern version (4.4.168) and make simple change of kernel and grub parameters.
You must do these steps to allow nested virtualization on you Verde Server (bare-metal or rpm-installation):

KEEP IN MIND, THIS WILL CAUSE ISSUES IN THE FUTURE WHEN YOU DECIDE TO UPGRADE TO A NEW RELEASE OF VERDE.

1. Download new kernel https://elrepo.org/linux/kernel/el6/x86_64/RPMS/kernel-lt-4.4.168-1.el6.elrepo.x86_64.rpm (or other from folder https://elrepo.org/linux/kernel/el6/x86_64/RPMS/)
2. Install this rpm
3. Create file /etc/modprobe.d/kvm-intel.conf and add to it:
options kvm-intel nested=Y
4. Check content of /boot/grub/grub.conf (you must see line "default=1" and line with new installed version of kernel (4.4.168)).
5. If grub.conf is ok, change line "default=1" to "default=0" to boot new kernel by default.
6. Reboot your server
7. Install/update new version of Verde Server (build 14847:
https://verde-vdi.s3.amazonaws.com/scand/VERDEOS/rel/2019-01-09/VERDE_8.2.2/02-47-46/VERDEOS-6.9.0.17068-rel.14847-x86_64.iso
https://verde-vdi.s3.amazonaws.com/scand/auto-builds/2019-01-09/VERDE_8.2.2/07-40-48/artifacts-centos64-14847.zip


If you are running VERDE on Centos 7.x, all you need to do is the following:


. Create file /etc/modprobe.d/kvm-intel.conf and add to it:
options kvm-intel nested=Y
4. Check content of /boot/grub/grub.conf (you must see line "default=1" and line with new installed version of kernel (4.4.168)).
5. If grub.conf is ok, change line "default=1" to "default=0" to boot new kernel by default.
6. Reboot your server
7. Install/update new version of Verde Server (build 14847:
https://verde-vdi.s3.amazonaws.com/scand/VERDEOS/rel/2019-01-09/VERDE_8.2.2/02-47-46/VERDEOS-6.9.0.17068-rel.14847-x86_64.iso