$ sudo su
$ bootctl install
$ cat <<EOF>/boot/loader/loader.conf
#https://wiki.archlinux.org/index.php/Systemd-boot#Configuration
# menu timeout
timeout 3
| <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> | |
| <!-- ... --> | |
| <qemu:commandline> | |
| <qemu:arg value='-acpitable'/> | |
| <qemu:arg value='file=/some/path/slic.bin'/> | |
| <qemu:arg value='-acpitable'/> | |
| <qemu:arg value='file=/some/path/msdm.bin'/> | |
| <qemu:arg value='-smbios'/> | |
| <qemu:arg value='file=/some/path/smbios_type_0.bin'/> | |
| <qemu:arg value='-smbios'/> |
| echo 1 > /proc/sys/net/ipv4/ip_forward | |
| iptables -t nat -A POSTROUTING -o ens192 -j MASQUERADE | |
| iptables -A INPUT -i ens224 -j ACCEPT | |
| iptables -A INPUT -i ens192 -m state --state ESTABLISHED,RELATED -j ACCEPT | |
| iptables -A OUTPUT -j ACCEPT |
This turned out to be easier than I thought it would, especially after struggling with Ubuntu.
Both procedures use a common debian.env file to hold environment variables applied in the script.
When installing Debian always be sure to select an apt mirror when prompted, if you don't you'll regret it.
In a file, debian.env:
| server { | |
| set $monitorId <YOUR_ID>; | |
| server_name status.<YOUR_DOMAIN>; | |
| listen 80; | |
| location / { | |
| proxy_set_header Host "stats.uptimerobot.com"; | |
| proxy_set_header Accept-Encoding ""; | |
| proxy_pass_request_headers on; |
All you need is an Android buildsystem (LineageOS is recommended)
NOTE: For Lineage 21 and newer, different steps are required.
- Export your infos (replace examples with your infos)
subject='/C=US/ST=California/L=Mountain View/O=Android/OU=Android/CN=Android/emailAddress=android@android.com'
C: Country shortform
| #!/bin/bash | |
| echo "[i] Backing up root.hints ..." | |
| cd /var/lib/unbound | |
| sudo cp root.hints $(date +%F).root.hints | |
| if [ -s $(date +%F).root.hints ] | |
| then | |
| echo "[✓] Backup root.hints success!" | |
| echo "" |
| # Adjust the following variables as necessary | |
| REMOTE=origin | |
| BRANCH=$(git rev-parse --abbrev-ref HEAD) | |
| BATCH_SIZE=250 | |
| # check if the branch exists on the remote | |
| if git show-ref --quiet --verify refs/remotes/$REMOTE/$BRANCH; then | |
| # if so, only push the commits that are not on the remote already | |
| range=$REMOTE/$BRANCH..HEAD | |
| else |
This guide describes how to get Kodi running on Debian Bookworm based Raspberry Pi OS Lite 64Bit without having to run the full LXDE GUI of the desktop version.
It is based on this guide.
First, install kodi as usual with
apt install kodi
Official guide for PulseAudio: https://docs.audiorelay.net/instructions/linux/use-your-phone-as-a-mic-for-a-linux-pc
From: https://audiorelay.net/downloads/linux
Deb on debian or ubuntu, archive for others.