This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
win10:wsl [2020/03/13 01:12] – [Installation] Bernard Condrau | win10:wsl [2024/04/25 16:40] (current) – [LAMP] Bernard Condrau | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Windows Subsystem for Linux ===== | + | ====== Windows Subsystem for Linux - Debian 10.3 ===== |
+ | ===== Cassandra, Hera, Vulcan, Hercules, Poseidon, Iapetus | ||
===== Installation ===== | ===== Installation ===== | ||
+ | * Enable " | ||
+ | * Press Windows key + R and run **optionalfeatures.exe**. Enable //Windows Subsystem for Linux//. Restart the computer. | ||
* Open Windows Power Shell as Administrator, | * Open Windows Power Shell as Administrator, | ||
* Open the Microsoft Store and search for " | * Open the Microsoft Store and search for " | ||
Line 11: | Line 14: | ||
sudo apt install rsync</ | sudo apt install rsync</ | ||
* Create /run/sshd folder:< | * Create /run/sshd folder:< | ||
- | * If you want to add a shortcut to your desktop, run the following on the command line to find the exe file:< | + | * Create |
* The root file system can be found at a path similar to:< | * The root file system can be found at a path similar to:< | ||
* Add {{: | * Add {{: | ||
Line 30: | Line 33: | ||
* Run with highest privileges | * Run with highest privileges | ||
- Trigger | - Trigger | ||
- | * Begin the task: At log on | + | * Begin the task: At log on [OR] On an event |
+ | * (if you mount VeraCrypt volumes during boot it's better to use //On an event// and begin the task when the volumes are mounted) | ||
* Specific user: < | * Specific user: < | ||
* Enabled | * Enabled | ||
Line 36: | Line 40: | ||
* Action: Start a program | * Action: Start a program | ||
* Program/ | * Program/ | ||
- | * Add arguments (optional): -c "sudo / | + | * Add arguments (optional): -c "/usr/bin/sudo / |
- Conditions | - Conditions | ||
* Start the task only if the computer is on AC power | * Start the task only if the computer is on AC power | ||
- Settings | - Settings | ||
* //Uncheck// Stop the task if it runs longer than: | * //Uncheck// Stop the task if it runs longer than: | ||
+ | - Alternative Action when starting a non elevated script " | ||
+ | * Action: Start a program | ||
+ | * Program/ | ||
+ | * Add arguments (optional): -c "/ | ||
+ | * Script " | ||
+ | sudo / | ||
+ | |||
+ | ===== LAMP ===== | ||
+ | * [[deb12: | ||
+ | * [[deb9: | ||
+ | * [[deb9: | ||
===== Mounting encrypted drives ===== | ===== Mounting encrypted drives ===== | ||
Line 50: | Line 65: | ||
</ | </ | ||
</ | </ | ||
+ | * Remember to " | ||
+ | |||
+ | ===== Mounting external drives ===== | ||
+ | mkdir /mnt/f | ||
+ | mount -t drvfs f: /mnt/f | ||
===== Links ===== | ===== Links ===== | ||
* [[https:// | * [[https:// |