Arch linux installation with encrypted boot and encrypted zfs root

Why I wanted to install a new arch linux configuration but using zfs as root file system, so that i can see if i can configure snapshots for updates. But i want to have as much as posible encrypted so, my setup will be partition 1: efi partition, vfat unencrypted for /boot/efi maybe secure it with secure boot partition 2: luks 1 encrypted / ext4 formated for /boot and grub luks v1 is needed because grub can’t open luks v2 partition 3: luks 2 encrpted / lvm with swap and zfs root filesystem zfs can’t handle a swap file, so using lvm so that swap partition and zfsroot are encrypted i want the swap partition encrypted so that i can have a encrypted suspend to disk For who For a advanced linux user
7 minutes to read

Linux things to check

Linux things to check Intro Just another list Patching Patchman opsi client management system uyuni Automation saltstack Network sntop: simple network top ntopng: High-Speed Web-based Traffic Analysis and Flow Collection
One minute to read

Lxd/Lxc the containers in the wild [2024 version]

The other container solution Normaly we only think about docker containers if we want to containerize something in linux. But there are more options lxd/lxc is one of those other solutions. Where docker containers are mostly used to start one process, lxd containers are more like containerized vm’s How to install it sudo pacman -S lxd or sudo apt install lxd-installer or sudo snap install lxd –channel=latest/stable Add your user to the lxd group in /etc/group and restart lxd
3 minutes to read

Machine learning list stuff todo

Machine learning list Intro These are project i want to do a little bit more with, about machine learning Programming Machine learning course AI note taking app that runs locally Build you’re first machine learning model with python in 7 minutes Awesome machine learning curated list Python OpenAI projects Curated List op Chatgtp resources A curated list of all things awesome about OpenAI - the research company behind ChatGPT TTS Tortoise Ollama language models Hugging faces OpenWebUI litellm.
4 minutes to read

things i want to know more of, study more (so a todo list for me)

Study list/todo list Intro I need somewhere a list to remember things that i want to learn more off, i have a bunch of lists, so now one more list. Linux socat https://www.pentestpartners.com/security-blog/socat-fu-lesson/ dagger https://github.com/dagger/dagger mitmproxy to swagger https://github.com/alufers/mitmproxy2swagger Programming flask and angular https://auth0.com/blog/using-python-flask-and-angular-to-build-modern-apps-part-1/ flask fanstatic https://pypi.org/project/Flask-Fanstatic/ nice css https://getbootstrap.com/ bryton websocket example https://gist.github.com/attish/d58780226ed3a885425746782941fe9f htmx https://htmx.org/docs/ dash python framework for reactive web apps https://plotly.com/dash/ https://dash.plotly.com/layout marionette framework https://marionettejs.com/ css html bootstrap https://getbootstrap.
One minute to read

install older version of package on ubuntu/debian

Install older version of package on ubuntu/debian Intro I had a problem installing gitlab-ce a newer version, because it was a mayor update you first needed to install a older version. Fixing it [mermaid] flowchart TD start([Start]) –> step1(apt-get update) –> step2(apt-cache show gitlab-ce | grep Version) –> step3(apt-get install gitlab-ce=14.0.12-ce.0) –> step4(apt-get install gitlab-ce) –> finish([Finished]) [/mermaid] So in text apt-get update apt-cache show <package_name> apt-get install <package_name>= apt-get install <package_name> Later,
One minute to read

mermaid dialogs examples

Mermaid examples Intro Mermaid is a easy way to create easy graphics like flowcharts For example flowchart TD start([Start]) –> declare1(Declare variables a, b and c) –> assign1[/Assign a, b and c/] –> condition1{Is a>b?} – False –> condition1_false{Is c>b?} – False –> printb[/Print b/] –> stop([Stop]) condition1_false – True –> printc[/Print c/] –> stop condition1 – True –> condition1_true{Is a>c?} condition1_true – False –> printc condition1_true – True –> printa[/Print a/] –> stop classDef blue fill:#00f,color:#fff classDef blueline stroke:#00f style start fill:#0f0,color:#fff style stop fill:#f00,color:#fff class declare1,assign1,printb,printc,printa blue class condition1,condition1_false,condition1_true blueline Creates the following graph [mermaid] flowchart TD start([Start]) –> declare1(Declare variables a, b and c) –> assign1[/Assign a, b and c/] –> condition1{Is a>b?
2 minutes to read

how to bridge a local mosquitto mqtt broker to a free hivemq cloud bridge

Bridge Mosquitto mqtt to hivemq Intro How to bridge a local mosquitto mqtt broker to a free hivemq cloud bridge Debian installatie apt-get install mosquitto To install the package Change the mosquitto config file /etc/mosquitto/mosquitto.conf connection cloudmqtt address <url>.hivemq.cloud:8883 topic # both 1 bridge_attempt_unsubscribe false bridge_protocol_version mqttv311 notifications false remote_username <hivemq_username> remote_password <hivemq_password> try_private false bridge_capath /etc/ssl/certs/ You can add authentication to start mosquitto.conf per_listener_settings true allow_anonymous false password_file /etc/mosquitto/mosquitto.users And use the mosquitto_passwd command to create and add users to the file (it seems that you need to restart or reload mosquitto after changing password or adding users)
One minute to read

varnish debug cheat sheet

Varnish cheat sheet Intro How to see caching stats etc. Varnish show hitratio rate varnishstat Hitrate ratio: 10 100 1000 Hitrate avg: 0.3373 0.3012 0.3400 This Means the last 10 seconds we have a hitrate of 33.73% and the last 100 seconds only 30.12% show urls missed varnishlog -m “VCL_call:miss” | grep –line-buffered “RxURL” work in progress, because it’s my cheat sheet Richard
One minute to read