I hereby claim:
- I am andrewnk on github.
- I am andrewnk (https://keybase.io/andrewnk) on keybase.
- I have a public key ASDILxbhE9D6fXu2JyXgcP2TJjnj6dFQtTbovpvc_EEc0Ao
To claim this, I am signing this object:
# docker build -t megaminer . | |
# docker run -it megaminer megaminer --address <your wallet address> --threads 16 | |
FROM alpine | |
RUN apk update && \ | |
apk add --no-cache git gcc g++ | |
RUN git clone https://github.com/VeldsparCrypto/megaminer.git |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# Script for installing tmux on systems where you don't have root access. | |
# tmux will be installed in ${HOME}/local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. | |
# exit on error | |
set -e | |
TMUX_VERSION=2.9a |
# after the virtual disk has already been expanded (e.g. in proxmox) | |
apk add --no-cache cfdisk e2fsprogs-extra | |
# choose partition then "Resize" > "Write" (to finalize) | |
cfdisk | |
# replace * with partition you are resizing | |
resize2fs /dev/* |
Get a shell into the proxmox server. Change VM_STORAGE to the location where to store your clout-init and disk image (e.g. local
, local-zfs
, etc.).
export VM_ID="$VM_ID"
export VM_STORAGE="freenas"
qm create $VM_ID --name "ubuntu-focal-cloudinit" --memory 2048 --cores 2 --net0 virtio,bridge=vmbr0
qm importdisk $VM_ID focal-server-cloudimg-amd64.img $VM_STORAGE
qm set $VM_ID --scsihw virtio-scsi-pci --scsi0 $VM_STORAGE:$VM_ID/vm-$VM_ID-disk-0.raw