sudo apk add --update python3 ffmpeg bash
python3 -m ensurepip --user
python3 -m pip install --upgrade pip setuptools --user
python3 -m pip install --user pipx
python3 -m pipx ensurepath
pipx completions
cat << EOF | sudo tee /etc/profile.d/pipx.sh
eval "\$(register-python-argcomplete pipx)"
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Abrir teminal com direitos de administrador
git-bash installed with LxRunOffline
download last version https://github.com/DDoSolitary/LxRunOffline/releases
Alternative Download
cd ~/Downloads
curl -L -O https://github.com/DDoSolitary/LxRunOffline/releases/download/v3.5.0/LxRunOffline-v3.5.0-mingw.zip
ls LxRunOffline-v3.5.0-mingw.zip
unzip -j "LxRunOffline-v3.5.0-mingw.zip" "LxRunOffline.exe" -d "/c/Program Files/Git/usr/bin/"
Instalar 7zip para windows
Abrir teminal com direitos de administrador
lista de pacotes disponiveis
cd ~/Downloads/
curl -O https://repo.msys2.org/msys/x86_64/xz-5.2.5-1-x86_64.pkg.tar.xz
curl -O https://repo.msys2.org/msys/x86_64/xz-5.2.6-1-x86_64.pkg.tar.zst
curl -O https://repo.msys2.org/msys/x86_64/liblzma-5.2.5-1-x86_64.pkg.tar.xz
# /etc/systemd/system/docker-compose-app.service
[Unit]
Description=Docker Compose Application Service
Requires=docker.service
After=docker.service
[Service]
Type=oneshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
did:3:kjzl6cwe1jw14a8uqxtxz01cyhcnx7vl4r5ti0tg68158jnefcxb5qqws872hqw |
Config fstab btrfs subvolume /containers to hold all LXC Containers
nano /etc/config/fstab
config mount 'lxc'
option target '/srv/lxc'
option uuid '68706ead-a626-4209-b3d0-1187b835f803'
option fstype 'btrfs'
option btrfs_raid '1'
wsl ~ -d Alpine
sudo nano /etc/apk/repositories
http://dl-cdn.alpinelinux.org/alpine/edge/main
http://dl-cdn.alpinelinux.org/alpine/edge/community
http://dl-cdn.alpinelinux.org/alpine/edge/testing
Instalar 7zip para windows
Abrir teminal com direitos de administrador
lista de pacotes disponiveis
cd ~/Downloads/
curl -O https://repo.msys2.org/msys/x86_64/xz-5.2.5-1-x86_64.pkg.tar.xz
curl -O https://repo.msys2.org/msys/x86_64/liblzma-5.2.5-1-x86_64.pkg.tar.xz
curl -O https://repo.msys2.org/msys/x86_64/zstd-1.4.7-1-x86_64.pkg.tar.xz