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
# Rough AlmaLinux 10 kickstart file for base WSL image based on outdated AlmaLinux 8 kickstart file @ https://github.com/AlmaLinux/wsl-images/blob/master/rootfs/kickstart/almalinux-8-wsl-deprecated.ks | |
# install | |
url --url https://kitten.repo.almalinux.org/10-kitten/BaseOS/$basearch/os/ | |
lang en_US.UTF-8 | |
keyboard us | |
timezone --nontp --utc UTC | |
network --activate --bootproto=dhcp --device=link --onboot=on |
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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm64 5.15.90.1 Kernel Configuration | |
# | |
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4)" | |
CONFIG_CC_IS_GCC=y | |
CONFIG_GCC_VERSION=120201 | |
CONFIG_CLANG_VERSION=0 | |
CONFIG_AS_IS_GNU=y | |
CONFIG_AS_VERSION=23800 |
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
Seems more likely now. | |
First, what version of WSL are you on? | |
> wsl.exe --version | |
Second, to confirm this, we would add: | |
[wsl2] | |
debugConsole=true |
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
#install k3s | |
curl -sfL https://get.k3s.io | sh - | |
sudo chmod 755 /etc/rancher/k3s/k3s.yaml | |
k3s kubectl get node | |
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml | |
#install pachctl | |
curl -o /tmp/pachctl.tar.gz -L https://github.com/pachyderm/pachyderm/releases/download/v2.3.9/pachctl_2.3.9_linux_amd64.tar.gz && tar -xvf /tmp/pachctl.tar.gz -C /tmp && sudo cp /tmp/pachctl_2.3.9_linux_amd64/pachctl /usr/local/bin | |
pachctl version --client-only |
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
PS C:\Users\hayde> .\scoop\buckets\main\bin\checkver.ps1 -App C:\Users\hayde\Downloads\Main\bucket\determined.json | |
determined: 0.19.1 (scoop version is 0.18.4) autoupdate available | |
PS C:\Users\hayde> scoop install C:\Users\hayde\Downloads\Main\bucket\determined.json | |
Installing 'python' (3.10.6) [64bit] from main bucket | |
Loading python-3.10.6-amd64.exe from cache. | |
Checking hash of python-3.10.6-amd64.exe ... ok. | |
Running pre_install script... | |
Running installer script... | |
Linking ~\scoop\apps\python\current => ~\scoop\apps\python\3.10.6 | |
Creating shim for 'python3'. |
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
(determined) [hayden@T730 determined]$ make all | |
make get-deps | |
make[1]: Entering directory '/home/hayden/determined' | |
pip install torch==1.9.0 | |
Requirement already satisfied: torch==1.9.0 in /home/hayden/.virtualenvs/determined/lib/python3.7/site-packages (1.9.0) | |
Requirement already satisfied: typing-extensions in /home/hayden/.virtualenvs/determined/lib/python3.7/site-packages (from torch==1.9.0) (3.7.4.3) | |
WARNING: You are using pip version 21.3.1; however, version 22.1.2 is available. | |
You should consider upgrading via the '/home/hayden/.virtualenvs/determined/bin/python3.7 -m pip install --upgrade pip' command. | |
pip install -r requirements.txt | |
Looking in links: https://download.openmmlab.com/mmcv/dist/cpu/torch1.9.0/index.html |
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
(determined) hayden@T730:~/determined$ make all | |
make get-deps | |
make[1]: Entering directory '/home/hayden/determined' | |
pip install torch==1.9.0 | |
Requirement already satisfied: torch==1.9.0 in /home/hayden/.virtualenvs/determined/lib/python3.8/site-packages (1.9.0) | |
Requirement already satisfied: typing-extensions in /home/hayden/.virtualenvs/determined/lib/python3.8/site-packages (from torch==1.9.0) (3.7.4.3) | |
WARNING: You are using pip version 22.0.4; however, version 22.1.2 is available. | |
You should consider upgrading via the '/home/hayden/.virtualenvs/determined/bin/python3.8 -m pip install --upgrade pip' command. | |
pip install -r requirements.txt | |
Looking in links: https://download.openmmlab.com/mmcv/dist/cpu/torch1.9.0/index.html |
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
Create a live bootable USB drive of your favorite distro with an extra exFAT partition large enough to hold the image you will be making (the used space on the HDD) | |
Boot the live bootable USB drive on the device with the HDD | |
Mount the HDD you want to create an image of, for example at /mnt/debiandrive | |
Mount the exFAT partition on your USB drive, for example at /mnt/exfatpart | |
Then you need to create a tar of the HDD contents /mnt/debiandrive in a tar on /mnt/exfatpart so something like: | |
sudo tar -cpzf /mnt/exfatpart/debian-image.tar.gz -C /mnt/debiandrive . | |
(sudo is necessary because some of the files you will be archiving will have higher permissions to read) |
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
adduser - add and remove users and groups | |
adwaita-icon-theme - default icon theme of GNOME | |
alien - convert and install rpm and other packages | |
ansible - Configuration management, deployment, and task execution system | |
ansible-lint - lint tool for Ansible playbooks | |
apache2 - Apache HTTP Server | |
apache2-bin - Apache HTTP Server (modules and other binary files) | |
apache2-data - Apache HTTP Server (common files) | |
apache2-utils - Apache HTTP Server (utility programs for web servers) | |
apparmor - user-space parser utility for AppArmor |
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
#!/bin/bash | |
echo 'Verify openSUSE Leap version 15.3' | |
cat /etc/os-release | |
echo 'Hardcode $releasever in Zypper repo files to 15.3' | |
sudo sed -i 's/15.3/${releasever}/g' /etc/zypp/repos.d/*.repo | |
echo 'Disable repos not yet available for openSUSE Leap 15.4 alpha. You should re-enable once 15.4 GA's.' | |
sudo sed -i 's/enabled=1/enabled=0/g' /etc/zypp/repos.d/repo-backports-update.repo |