Installing Apache on Windows Subsystem for Linux
In order to eliminate this warning Invalid argument: AH00076: Failed to enable APR_TCP_DEFER_ACCEP Add this to the end of /etc/apache2/apache2.conf AcceptFilter http none
In order to eliminate this warning Invalid argument: AH00076: Failed to enable APR_TCP_DEFER_ACCEP Add this to the end of /etc/apache2/apache2.conf AcceptFilter http none
You need to add yourself to the crontab group. usermod -a -G crontab (username) Once you have done this, you also need to make sure that cron is running. Usually this is started with start cron however upstart does not work on WSL from what I can tell, but sudo cron does the job. One … Read more
Running below command(and accessing the console again) fixed the “Network Unreachable” issue for me wsl –shutdown
I solved this problem by shutting down wsl and then restarting it in powershell. wsl –shutdown wsl
I found that if you create a C:\tmp\karma folder under Windows, this error goes away, and Chrome finds and uses this folder for temp files. You can also change the temporary folder that Chrome uses for its data by setting the TEMP environment variable like so: export TEMP=’/path/to/your/folder’ The important thing is that C:\path\to\your\folder must … Read more
There is an issue with DNS Forwarding in WSL2 when using VPN (see github Issue). Plus there is a issue with the Cisco AnyConnect. So here is a workaround for these problems. Should work for Ubuntu and Debian. Workaround (new – automatic) This solution is automatic and was created by EdwardCooke (see https://www.frakkingsweet.com/automatic-dns-configuration-with-wsl-and-anyconnect-client/). This is … Read more
I was installing the fonts in the Ubuntu system, but it is Windows that is rendering the characters from the terminal, so I should install the fonts on Windows (facepalm). I followed this blog post to install the Powerline fonts on Windows, and then I had to change the font in the settings of the … Read more
The VScode needs permissions thus Try this command on your WSL terminal sudo chown -R username /path/to/working/directory Replace : ‘username’ with your username and the path of your directory
The two git installations (native windows and WSL) are using a different setting for the core.autocrlf configuration, because these two installations are not using the same global config file. Put simply, the native windows client is converting LF to CRLF upon checkout, and hence the presence of CRLF is not “seen” as a change by … Read more
Try to change the host system’s name from System –> Change Settings –> Change. In some sense, it makes sense for WSL to update its hostname to match that of the host computer.