Create windowsinstall.sh

This commit is contained in:
notAperson535 2022-02-06 17:36:11 -05:00 committed by GitHub
parent cd40279967
commit a1e4e384a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

14
windowsinstall.sh Normal file
View File

@ -0,0 +1,14 @@
#!/bin/bash
sudo apt update && sudo apt -y upgrade
sudo apt -y install build-essential libncurses-dev bison flex libssl-dev libelf-dev cpu-checker qemu-kvm aria2
sudo apt-get install qemu-system qemu-utils python3 python3-pip -y
cd ~
aria2c -x 10 https://github.com/microsoft/WSL2-Linux-Kernel/archive/4.19.104-microsoft-standard.tar.gz
tar -xf WSL2-Linux-Kernel-4.19.104-microsoft-standard.tar.gz
cd WSL2-Linux-Kernel-4.19.104-microsoft-standard/
cp Microsoft/config-wsl .config
make menuconfig
kvm-ok
cat /sys/module/kvm_intel/parameters/nested
cd ~
nano .bashrc