THese are the steps I was supposed to follow I am actually trying to install cuckoo sandbox> I downloaded ubuntu from microsoft the latest version.
install WSL (Windows Subsystem Linux) in your Windows 10 OSPurpose: Install major dependencies using the WSL.
Check Windows Version: You can find this from Settings > Systems > About. Find the version and type of your system. Your system version should be newer than 1607.Enable WSL: Open WindowsPowerShell as an Administrator from the Start menu. Run the following command:Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-LinuxInstall Ubuntu: For build 16215 and above, go to Microsoft Store App and install Ubuntu. For build below 16215, enable developer mode and install Ubuntu via command prompt. Go to Microsoft Store > Search ‘Ubuntu’> Get. For older versions, go to Settings > Update & Security > For Developers > Developer Mode; go to CMD > type ‘bash’ to install Ubuntu. Set username and password. To use Ubuntu bash, type ‘bash’ in Windows CMD.Update and upgrade: Type in the following two commands in Ubuntu bash:sudo apt-get updatesudo apt-get upgradeInstall Dependencies using WSLPurpose: Cuckoo has many dependencies working together. Some of them are core dependencies like apache2, mysql, mongodb and few more. Failure of any of the major dependencies can stop cuckoo from running.
Lamp Server: Run the following command in Ubuntu bash. Don’t forget to add the ‘^’ character, it helps to find the latest package. Setup MySQL username and password when prompted.sudo apt-get install lamp-server^MongoDB: Run the following command in Ubuntu bash.sudo apt-get install mongodbStart services: Run the following commands in Ubuntu bash.sudo service apache2 startsudo service mysql startsudo service mongodb startCheck your installation: Run a web browser and type in ‘localhost’ in the address bar. You should find ‘Apache2 Ubuntu Default Page’.
My issue is below :
Install Cuckoo in WindowsCannot create directory trying to install dependencies using WSL
root@DESKTOP-9TNLLFF:/mnt/c/Users/Bipin# sudo service mysql start
Starting MySQL database server mysqld
No directory, logging in with HOME=/ mkdir: cannot create directory ‘//.cache’: Permission denied -su: 19: /etc/profile.d/wsl-integration.sh: cannot create //.cache/wslu/integration: Directory nonexistent