- Emulation (Not virtualization)
- Hardware: x86_64
- Directoruy Share Mode: VirtFS (https://docs.getutm.app/guest-support/linux/#virtfs)
- Network Mode: Emulated VLAN
- Port Fowarding: TCP 22:22
- CD/DVD: Download the ISO of Ubuntu Server x64 (https://ubuntu.com/download/server)
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
# https://multipass.run/install | |
multipass launch | |
multipass start | |
multipass stop | |
multipass list | |
multipass shell |
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
terraform graph | dot -Tsvg > graph.svg | |
terraform state list | |
terraform plan -out=FILENAME |
Overview
- Kubernetes on vSphere With Tanzu: https://www.wwt.com/article/primer-series-kubernetes-on-vsphere-with-tanzu
vSphere
ESXi
- ESXi Arm Edition: https://flings.vmware.com/esxi-arm-edition
vCenter
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
# https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli | |
az login | |
#https://learn.microsoft.com/en-us/cli/azure/manage-azure-subscriptions-azure-cli#change-the-active-subscription | |
az account show | |
az account list | |
az account tenant list | |
az account set --subscription "My Demos" | |
# https://learn.microsoft.com/en-us/cli/azure/interactive-azure-cli |
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
#on client | |
sudo vim cat .ssh/id_ed25519.pub | |
#on pi paste the public key | |
sudo vim .ssh/authorized_keys | |
# (optional) rename the hostname | |
sudo vim /etc/hostname | |
sudo vim /etc/hosts |
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
# https://helm.sh/docs/intro/using_helm/ | |
helm list | |
helm list -Aa # all NS all filter | |
helm get values <releasename> -n <namespace> | |
helm repo update | |
helm version --short | |
helm repo add wiz.io https://xxxx | |
helm pull xxxx | |
helm install test xxx --values xxx.yaml |
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
show dbs | |
use testdb | |
db.dropDatabase() | |
db.test.find( {} ) | |
db.test.remove({ "_id" : ObjectId("622fe6b767d3cd1a9e5d5eec") }) |
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
window.location.href = 'https://www.example.com'; | |
location.href; | |
document.body.innerHTML; |
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/zsh | |
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --headless --disable-gpu --remote-debugging-port=9222 https://www.example.com | |
echo "Connec to the remote target at chrome://inspect/#devices` | |
read -p "Press Return to Close..." |
NewerOlder