Advertisement
Guest User

Untitled

a guest
Nov 5th, 2018
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.68 KB | None | 0 0
  1. $ lsb_release -a
  2. No LSB modules are available.
  3. Distributor ID: Ubuntu
  4. Description: Ubuntu 18.04 LTS
  5. Release: 18.04
  6. Codename: bionic
  7.  
  8. °install https://www.python.org/ftp/python/3.7.1/python-3.7.1.exe
  9.  
  10. PS C:\Users\potato\WSL-Distribution-Switcher-master> ls
  11.  
  12.  
  13. Directory: C:\Users\potato\WSL-Distribution-Switcher-master
  14.  
  15.  
  16. Mode LastWriteTime Length Name
  17. ---- ------------- ------ ----
  18. d----- 11/5/2018 7:36 AM ntfsea
  19. -a---- 12/19/2017 7:31 AM 75 .gitignore
  20. -a---- 12/19/2017 7:31 AM 3216 get-prebuilt.py
  21. -a---- 12/19/2017 7:31 AM 5208 get-source.py
  22. -a---- 12/19/2017 7:31 AM 10068 hook_postinstall_all.sample.sh
  23. -a---- 12/19/2017 7:31 AM 16455 install.py
  24. -a---- 12/19/2017 7:31 AM 1098 LICENSE.md
  25. -a---- 12/19/2017 7:31 AM 7442 ntfsea.py
  26. -a---- 12/19/2017 7:31 AM 13824 ntfsea_x64.dll
  27. -a---- 12/19/2017 7:31 AM 11264 ntfsea_x86.dll
  28. -a---- 12/19/2017 7:31 AM 1161 pyinstaller.spec
  29. -a---- 12/19/2017 7:31 AM 17547 README.md
  30. -a---- 12/19/2017 7:31 AM 4568 switch.py
  31. -a---- 12/19/2017 7:31 AM 15026 utils.py
  32.  
  33.  
  34.  
  35. PS C:\Users\potato\WSL-Distribution-Switcher-master> Set-Alias c -Value cls
  36.  
  37. > python .\get-source.py centos
  38. [*] Fetching official-images info for centos:latest...
  39. [*] Fetching Dockerfile from repo CentOS/sig-cloud-instance-images/72c01dc74ef482ce318167c5c10646be65ac682e/docker...
  40. [*] Downloading archive https://raw.githubusercontent.com/CentOS/sig-cloud-instance-images/72c01dc74ef482ce318167c5c10646be65ac682e/docker/centos-7-docker.tar.xz...
  41. [*] Rootfs archive for centos:latest saved to rootfs_centos_latest.tar.xz.
  42.  
  43.  
  44. > python .\install.py centos
  45. [*] Probing the Linux subsystem...
  46. [!] The Linux subsystem is not installed. Please go through the standard installation procedure first.
  47.  
  48.  
  49. > lxrun.exe /install
  50. Warning: lxrun.exe is only used to configure the legacy Windows Subsystem for Linux distribution.
  51. Distributions can be installed by visiting the Microsoft Store:
  52. https://aka.ms/wslstore
  53.  
  54. This will install Ubuntu on Windows, distributed by Canonical and licensed under its terms available here:
  55. https://aka.ms/uowterms
  56.  
  57. Type "y" to continue: y
  58. Downloading from the Microsoft Store... 100%
  59. Extracting filesystem, this will take a few minutes...
  60. Extracting filesystem, this will take a few minutes...
  61. Please create a default UNIX user account. The username does not need to match your Windows username.
  62. For more information visit: https://aka.ms/wslusers
  63. Enter new UNIX username: n0rbertt
  64. Enter new UNIX password:
  65. Retype new UNIX password:
  66. passwd: password updated successfully
  67. Installation successful!
  68. Documentation is available at: https://aka.ms/wsldocs
  69.  
  70. > wslconfig /list /all
  71. Windows Subsystem for Linux Distributions:
  72. Ubuntu-18.04 (Default)
  73. Legacy
  74.  
  75.  
  76. > lxrun /setdefaultuser root
  77. Warning: lxrun.exe is only used to configure the legacy Windows Subsystem for Linux distribution.
  78. Distributions can be installed by visiting the Microsoft Store:
  79. https://aka.ms/wslstore
  80.  
  81. Found UNIX user: root
  82. Default UNIX user set to: root
  83.  
  84. > bash
  85. Performing one-time upgrade of the Windows Subsystem for Linux file system for this distribution...
  86. -bash: mesg: command not found
  87. # bash
  88. # cat /etc/redhat-release
  89. CentOS Linux release 7.5.1804 (Core)
  90.  
  91. # yum install sysvinit-tools -y
  92.  
  93.  
  94.  
  95. https://github.com/RoliSoft/WSL-Distribution-Switcher
  96.  
  97.  
  98. https://github.com/RoliSoft/WSL-Distribution-Switcher/issues/64
  99. https://puu.sh/BWIP0/c21a1d4ca9.png
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement