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

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

tmux cheat sheet

Tmux cheat sheet Intro I am trying to use tmux more than screen, but a cheat sheet could be usefull. Quick and dirty tmux detach from window ctrl-b d list sessions tmux ls connect to session tmux at -t create session tmux new -s “session_name” “command” create detached sessioni tmux new -d Extra info split window in multiple pane split horizontal ==== ctrl-b " split vertical || ctrl-b % move to other pane ctrl-b cursor-key-direction
One minute to read

Vim things i forget all the time

Introduction I try to put here some VIM keybindings, that i forget all the time so that i can find them easily, and maybe it will also help someone else. Recording Start recording press q in normal mode followed by a letter ( a to z) Stop recodring press q in normal mode again Replay recording @ Replay the last replay @@ More info you can find on Vim Tips Wiki Or sudo stuff Sudo TIps
One minute to read