Skip to content

Instantly share code, notes, and snippets.

@valeryan
Last active May 4, 2021 09:25
Show Gist options
  • Star 32 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save valeryan/d071dad5a32ccf94d07e685a2bdd2818 to your computer and use it in GitHub Desktop.
Save valeryan/d071dad5a32ccf94d07e685a2bdd2818 to your computer and use it in GitHub Desktop.
Local WSL Setup

Deprecated in favor of Valet Wiki Page

I set up the wiki page for the valet-wsl project and moved the install guide there. This way it can have user contributions. Please have all disscussions or issues under the valet-wsl project so I can be aware of it. Please go to Valet Wsl Installation Guide

@apurbajnu
Copy link

Please fix this line export PATH=/.composer/vendor/bin:$PATH it will be export PATH=/.config/composer/vendor/bin:$PATH

@namelus
Copy link

namelus commented Mar 17, 2019

I am having some issues at the MySQL config step.

namelus@DESKTOP-2ORV3KU:/etc/mysql$ sudo mysqladmin -u root -h localhost password <myPassWord>
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

Any suggestions?

@namelus
Copy link

namelus commented Mar 19, 2019

@surahmans

Please help. I can't figure it out why this happens.
This site can’t be reached mysite.dev refused to connect.
But when I browse to 127.0.0.1 I can see "404 - Not found" by valet

follow this configuration on win 10 :
http://mayakron.altervista.org/wikibase/show.php?id=AcrylicWindows10Configuration

Did this work? I am still encountering the 404.

@valeryan
Copy link
Author

valeryan commented May 1, 2019

I set up the wiki page on this project and moved the install guide there. This way it can have user contributions. https://github.com/valeryan/valet-wsl/wiki/Installation-Guide

@khessels
Copy link

In order to have correct permissions i would add the following commands
sudo umount /mnt/c
sudo mount -t drvfs C: /mnt/c -o metadata

source:
https://devblogs.microsoft.com/commandline/chmod-chown-wsl-improvements/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment