mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Merge fb0d1527b2
into 722ba7c2f8
This commit is contained in:
commit
07f9550715
1 changed files with 8 additions and 2 deletions
|
@ -209,7 +209,10 @@ mkdir -p WSL\YunoHost
|
||||||
# Download the Debian appx package and unzip it
|
# Download the Debian appx package and unzip it
|
||||||
curl.exe -L -o debian.zip https://aka.ms/wsl-debian-gnulinux
|
curl.exe -L -o debian.zip https://aka.ms/wsl-debian-gnulinux
|
||||||
Expand-Archive .\debian.zip -DestinationPath .\debian
|
Expand-Archive .\debian.zip -DestinationPath .\debian
|
||||||
# Import the Debian base into a new distro
|
# Import the Debian base into a new distro - optional -
|
||||||
|
# depending on your powershell version you may need to run the installer manually from debian folder
|
||||||
|
# which will result ext4.vhdx being stored in AppData\Local\Packages\DebianProject(full-name)\LocalState
|
||||||
|
# instead of YunoHost directory (so it's a part of MStore - nothing unorthodox)
|
||||||
wsl --import YunoHost ~\WSL\YunoHost ~\debian\install.tar.gz --version 2
|
wsl --import YunoHost ~\WSL\YunoHost ~\debian\install.tar.gz --version 2
|
||||||
# Cleanup
|
# Cleanup
|
||||||
rmdir .\debian -R
|
rmdir .\debian -R
|
||||||
|
@ -223,8 +226,11 @@ It is under Debian 9 Stretch, so let's upgrade it:
|
||||||
# In WSL
|
# In WSL
|
||||||
sudo sed -i 's/stretch/bullseye/g' /etc/apt/sources.list`
|
sudo sed -i 's/stretch/bullseye/g' /etc/apt/sources.list`
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt upgrade
|
sudo apt upgrade -y
|
||||||
|
# optional
|
||||||
sudo apt dist-upgrade
|
sudo apt dist-upgrade
|
||||||
|
# wget needed for later setup
|
||||||
|
sudo apt install wget -y
|
||||||
```
|
```
|
||||||
|
|
||||||
## Prevent WSL from tweaking configuration files
|
## Prevent WSL from tweaking configuration files
|
||||||
|
|
Loading…
Add table
Reference in a new issue