Starting with Rock64, u-boot installed to SPI flash, Debian stretch installed to eMMC or micro SD card.
Add things like dtb and any images you want to eventually load with grub
From Debian:
sudo apt-get -y install grub2-common efivar grub-efi-arm64
| import click | |
| import difflib | |
| import numpy as np | |
| import random | |
| import sys | |
| import time | |
| from os import name, system | |
| from scipy.ndimage import convolve |
| # Add this to your .bashrc | |
| # Use it like: you@console_>$ _get https://website.org/file.txt | |
| _get () | |
| { | |
| IFS=/ read proto z host query <<< "$1" | |
| exec 3< /dev/tcp/$host/80 | |
| { | |
| echo GET /$query HTTP/1.1 | |
| echo connection: close | |
| echo host: $host |
| localhost:8080 { | |
| root ./my-site | |
| internal .repo | |
| git { | |
| repo https://github.com/kaushalmodi/hugo-bare-min-theme.git | |
| path .repo | |
| clone_args --depth 1 --recurse-submodules | |
| pull_args --recurse-submodules | |
| interval 3600 | |
| then hugo --source ./exampleSite --destination ../.. |
Create file /etc/systemd/system/docker-compose@.service. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin, you should use paths specific for your environment.
[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service| Service | SSL | status | Response Type | Allowed methods | Allowed headers |
|---|
| :80 | |
| root /usr/src/wordpress | |
| gzip | |
| fastcgi / wordpress:9000 php | |
| rewrite { | |
| if {path} not_match ^\/wp-admin | |
| to {path} {path}/ /index.php?_url={uri} | |
| } | |
| log stdout | |
| errors stderr |