Difference between revisions of "Windows Anamolies"

From PKC
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
Since [[PKC]] is designed around Linux-based containerization technology, which means that it will have many incompatibilities with [[Windows]] inherently. There are some tips that we captured here:
Since [[PKC]] is designed around Linux-based containerization technology, which means that it will have many incompatibilities with [[Windows]] inherently. There are some tips that we captured here:
#Under Windows 10 Environment, some VPN software might interfere with [[Docker]]'s Windows Subsystem for Linux, a.k.a. [[wikipedia:Windows Subsystem for Linux|Windows Subsystem for Linux (WSL)]], you will need to remove VPN software before [[Docker Runtime Installation|installing Docker]]. In case you don't want to remvoe your VPN software, or your Docker and Bash have compatibility issues, please try the following solution:[[Installing VirtualBox for PKC]].
===Consult the System Administrator of the Computer===
#Access to the Internet during intallation time. Please try to perform the installation on a network with 10Mbps+ to the Internet. After installation, this system can operated without access to the Internet.
Some system administrators will block users from installing WSL2.0. If this is the case, the Windows operating system needs to be reinstalled to avoid that blocking. See [https://docs.microsoft.com/en-us/windows/wsl/troubleshooting Windows WSL Troubleshooting] and this webpage<ref>[https://www.tenforums.com/tutorials/46769-enable-disable-windows-subsystem-linux-wsl-windows-10-a.html Enable/Disable Windows Sybsystem on Windows 10]</ref>.
 
===Windows Subsystem for Linux (WSL) Update===
After installing Docker Desktop, Windows 10 will often ask for the installation of [https://docs.microsoft.com/en-us/windows/wsl/install-win10 WSL update]. Please follow the wizard, and install the update accordingly.
 
===VPN Software Interfering with WSL===
Under Windows 10 Environment, some VPN software might interfere with [[Docker]]'s Windows Subsystem for Linux, a.k.a. [[wikipedia:Windows Subsystem for Linux|Windows Subsystem for Linux (WSL)]], you will need to remove the interfering VPN software before [[Docker Runtime Installation|installing Docker]]. Please note that not all VPN software interferes with WSL. In case you don't want to remove your VPN software, or your Docker and Bash have compatibility issues, please try the following solution:[[Installing VirtualBox for PKC]].
 
===Choosing adequate directories===
[[Mitch Altman]] identified the following scenarios for [[PKC]] installation on [[Windows 10]], which indicate that Windows users will face many unexpected problems during installation, the following lists are some important ones. Make sure that you don't pick a directory outside of your usual Users/Documents directory. If you choose some directories outside of your User/Documents directory, it is possible that certain batch script commands will stop to work, due to file right access authority issues.
 
===GNU TAR might not work===
[[Mitch Altman|Mitch]] also found that tar command may not work on certain machines. To ensure that [[PKC]] will install smoothly on [[Windows 10]] machines, we put an <code>.exe</code> (Windows executable) file <code>[[unzip.exe]]</code><ref>{{:Unzip.exe}}</ref> in the <code>PKC/resources</code> directory. We also made sure that a initial data package, namely mountPoint.zip is included in the <code>resources</code> directory, so that the <code>up.bat</code> script will be able to conduct the automatic installation and initial launch process completely.
<noinclude>
==References==
<references/>
</noinclude>

Latest revision as of 13:33, 10 February 2022

Since PKC is designed around Linux-based containerization technology, which means that it will have many incompatibilities with Windows inherently. There are some tips that we captured here:

Consult the System Administrator of the Computer

Some system administrators will block users from installing WSL2.0. If this is the case, the Windows operating system needs to be reinstalled to avoid that blocking. See Windows WSL Troubleshooting and this webpage[1].

Windows Subsystem for Linux (WSL) Update

After installing Docker Desktop, Windows 10 will often ask for the installation of WSL update. Please follow the wizard, and install the update accordingly.

VPN Software Interfering with WSL

Under Windows 10 Environment, some VPN software might interfere with Docker's Windows Subsystem for Linux, a.k.a. Windows Subsystem for Linux (WSL), you will need to remove the interfering VPN software before installing Docker. Please note that not all VPN software interferes with WSL. In case you don't want to remove your VPN software, or your Docker and Bash have compatibility issues, please try the following solution:Installing VirtualBox for PKC.

Choosing adequate directories

Mitch Altman identified the following scenarios for PKC installation on Windows 10, which indicate that Windows users will face many unexpected problems during installation, the following lists are some important ones. Make sure that you don't pick a directory outside of your usual Users/Documents directory. If you choose some directories outside of your User/Documents directory, it is possible that certain batch script commands will stop to work, due to file right access authority issues.

GNU TAR might not work

Mitch also found that tar command may not work on certain machines. To ensure that PKC will install smoothly on Windows 10 machines, we put an .exe (Windows executable) file unzip.exe[2] in the PKC/resources directory. We also made sure that a initial data package, namely mountPoint.zip is included in the resources directory, so that the up.bat script will be able to conduct the automatic installation and initial launch process completely.

References