Skip to content

Instantly share code, notes, and snippets.

@sharl
Last active April 30, 2020 00:53
Show Gist options
  • Save sharl/15359022f5f7937d32b15f548ad92d37 to your computer and use it in GitHub Desktop.
Save sharl/15359022f5f7937d32b15f548ad92d37 to your computer and use it in GitHub Desktop.
CentOS7 on WSL memo
  • https://github.com/yuk7/CentWSL
  • get release CentOS7.zip
  • mkdir somewhere(ex. %USERPROFILE%\AppData\Local\WSL\CentOS7), unpack (CentOS7.exe, rootfs.tar.gz) and run CentOS7.exe (install)
  • run CentOS7.exe (launch root)
  • adduser user
  • gpasswd -a user wheel
  • visudo -> NOPASSWD
  • exit
  • CentOS7.exe config --default-user user
  • CentOS7.exe config --default-uid 1000
  • CentOS7.exe config --default-term wt

enjoy.

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