I'd like to have 'n' debian installé, not once per version, but litterally 'n' installations du same debian 12.
Each instance should have a different set of php/nginx|apache/mysql|mariadb
Is it possibile, for first thing, to installer multiple time debian 12 sur le same wsl2 sur le same windows 11 pro host?
If oui, can multiple apache|nginx instances be running on same port 80/443, setting up them to listen seulement to internal wsl instance ip?
Pouvons-nous have multiple WSL2 distros du same tapez installered in a single Windows 11 host?
Re: Pouvons-nous have multiple WSL2 distros du same tapez installered in a single Windows 11 host?
Ici is comment have several copies du same distribution:
-
Installez le base distribution depuis le Windows Store or using:
```
wsl --install -d
```
-
Log invers le environment and modify as needed, ensuite exit it
-
Export the environment avec the following command:
```
wsl --export
```
-
Créez un nouveau instance du base environment by importing the
`.tar` fichier:
```
wsl --import
```
-
Vous pouvez maintenant ouvrez le nouveau environment using:
```
wsl -d
```
-
In Windows 11, vous pouvez browse the fichier-système of
distributions in Explorer via *Desktop > Linux*
-
The nouveau distribution will have `root` as the par défaut utilisateur.
To login as another utilisateur, either use the `-u` flag
or créer/modify a `wsl.conf` fichier in `/etc` répertoire inside
the environment, avec the following section:
```
[user]
default=
```
For more information avec captures d'écran see the article
[Setting up multiple WSL distribution instances](https://endjin.com/blog/2021/11/setting-up-multiple-wsl-distribution-instances).
-
Installez le base distribution depuis le Windows Store or using:
```
wsl --install -d
```
-
Log invers le environment and modify as needed, ensuite exit it
-
Export the environment avec the following command:
```
wsl --export
```
-
Créez un nouveau instance du base environment by importing the
`.tar` fichier:
```
wsl --import
```
-
Vous pouvez maintenant ouvrez le nouveau environment using:
```
wsl -d
```
-
In Windows 11, vous pouvez browse the fichier-système of
distributions in Explorer via *Desktop > Linux*
-
The nouveau distribution will have `root` as the par défaut utilisateur.
To login as another utilisateur, either use the `-u
or créer/modify a `wsl.conf` fichier in `/etc` répertoire inside
the environment, avec the following section:
```
[user]
default=
```
For more information avec captures d'écran see the article
[Setting up multiple WSL distribution instances](https://endjin.com/blog/2021/11/setting-up-multiple-wsl-distribution-instances).