This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| deb12:lamp [2024/05/23 06:21] – [WSL2 (mirrored)] Bernard Condrau | deb12:lamp [2025/11/17 14:53] (current) – [Create certificate for localhost] Bernard Condrau | ||
|---|---|---|---|
| Line 142: | Line 142: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| ===== MariaDB 10.11.6 Installation ===== | ===== MariaDB 10.11.6 Installation ===== | ||
| Line 182: | Line 183: | ||
| echo -e " | echo -e " | ||
| echo -e " | echo -e " | ||
| + | * Check the xdebug logfile with '' | ||
| + | |||
| + | === Windows host IP address === | ||
| * Alternatively you could use the Windows host IP address (feasible if it remains the same through re-boots) in which case you need to add a firewall rule to allow access through the xdebug port. Command to run in an elevated PowerShell:< | * Alternatively you could use the Windows host IP address (feasible if it remains the same through re-boots) in which case you need to add a firewall rule to allow access through the xdebug port. Command to run in an elevated PowerShell:< | ||
| * Commands to check or remove the firewall rule:< | * Commands to check or remove the firewall rule:< | ||
| Remove-NetFirewallRule -DisplayName " | Remove-NetFirewallRule -DisplayName " | ||
| - | * Check the xdebug logfile with '' | ||
| ==== WSL2 (mirrored) ==== | ==== WSL2 (mirrored) ==== | ||
| - | * The following instructions apply to the default '' | ||
| - | * WSL2: run the following command in PowerShell:< | ||
| - | * Check with:< | ||
| - | Remove-NetFirewallRule -DisplayName " | ||
| - | * Check logfile with tail -f / | ||
| - | |||
| * WSL2 set to '' | * WSL2 set to '' | ||
| * This networking mode is available for Windows 11 23H2 and later | * This networking mode is available for Windows 11 23H2 and later | ||
| - | * To enabled '' | + | * To enabled '' |
| - | networkingMode=mirrored</ | + | networkingMode=mirrored</ |
| * Your Linux box runs within a Hyper-V Virtual Machine | * Your Linux box runs within a Hyper-V Virtual Machine | ||
| - | * You can access the Windows host through the IP address '' | + | * You can access the Windows host through the IP address '' |
| * '' | * '' | ||
| * Check the xdebug logfile with '' | * Check the xdebug logfile with '' | ||
| + | * Note that WSL in '' | ||
| ==== Links ==== | ==== Links ==== | ||
| * [[https:// | * [[https:// | ||
| - | * [[https:// | ||
| ===== SSL for localhost ===== | ===== SSL for localhost ===== | ||
| Line 242: | Line 238: | ||
| * You can check the domain names included in the original certificate:< | * You can check the domain names included in the original certificate:< | ||
| + | ==== Trust localhost certificate on Windows 11 ==== | ||
| + | * Run '' | ||
| + | * Right-click on // | ||
| ==== Links ==== | ==== Links ==== | ||
| * [[https:// | * [[https:// | ||