Difference between revisions of "Linux"

From MgmtWiki
Jump to: navigation, search
(Shell)
(Installing on Windows)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Full Title==
 
==Full Title==
Some useful sites for Linux.
+
Some useful sites for Linux especially when run from a Windows VM.
 +
 
 +
==Context==
 +
* [https://youtu.be/HdV9QuvgS_w Linux Windows Kernel comparisons]. Mark Russinovich You Tube presentation (2004).
  
 
==Shell==
 
==Shell==
 
* [https://bash.cyberciti.biz/guide/Shell_commands Shell Commands].
 
* [https://bash.cyberciti.biz/guide/Shell_commands Shell Commands].
* [https://www.cyberciti.biz/faq/linux-list-all-environment-variables-env-command/ environmental variables] of interest.
+
* [https://www.cyberciti.biz/faq/linux-list-all-environment-variables-env-command/ Environmental variables] of interest.
 +
 
 +
==File System==
 +
* [https://www.pluralsight.com/blog/it-ops/linux-file-permissions Changing file permissions].
 +
* [https://thelinuxexperiment.com/using-rsync-via-the-windows-subsystem-for-linux-to-backup-a-windows-computer/ Using rsync from Windows] includes some pretty fancy shell scripting stuff.
 +
==Installing on Windows==
 +
Windows has had WSL -
 +
* [https://github.com/docker/for-win/issues/185 Put "C:\ProgramData\Docker" on a different drive]
 +
* [https://avinal.space/posts/development/wsl1.html#:~:text=There%20is%20no%20easy%20way%20to%20move%20the,%2B%20X%20shortcut%20and%20select%20Windows%20PowerShell%20%28Admin%29. Move WSL 2 Safely to another Drive]
 +
* Install Docker Desktop and add the following junctions: (after creating those target directories and copying any existing data into them.)
 +
mklink /j C:\ProgramData\Docker D:\ProgramData\Docker
 +
Junction created for C:\ProgramData\Docker <<===>> D:\ProgramData\Docker
 +
mklink /j C:\ProgramData\DockerDesktop D:\ProgramData\DockerDesktop
 +
Junction created for C:\ProgramData\DockerDesktop <<===>> D:\ProgramData\DockerDesktop
  
 
==Reference==
 
==Reference==

Latest revision as of 15:09, 28 August 2022

Full Title

Some useful sites for Linux especially when run from a Windows VM.

Context

Shell

File System

Installing on Windows

Windows has had WSL -

mklink /j C:\ProgramData\Docker D:\ProgramData\Docker
Junction created for C:\ProgramData\Docker <<===>> D:\ProgramData\Docker
mklink /j C:\ProgramData\DockerDesktop D:\ProgramData\DockerDesktop
Junction created for C:\ProgramData\DockerDesktop <<===>> D:\ProgramData\DockerDesktop

Reference