Raspberry Pi2 ir Archlinux

Taigi nusipirkau Raspberry Pi 2 Model B. Oficialiai rekomenduojama operacinė sistema šiam kompiuteriui yra Raspbian. Įsidiegiau, pasileidau ir jaučiu, kad jis vangiai veikia, net SSH atsakymai lyg vėluoja atrodo. Šiek tiek pasigooglinu ir randu, kad yra Archlinux alternatyva arm procesoriams, ku...

Socat and port forwarding

2019-03-25
I have found a way to forward requests from one machine's specific port to another machine's specific port. There is a package called socat for this. A short example: socat -v tcp4-listen:port1,reuseaddr,fork tcp4:address:port2 In this case: port1 - the port the local machine is listeni...

Docker logs

2018-12-04
One day I noticed that server disk space is running low, the culprit was docker. As I later found out, docker does not limit the maximum filesize of the log files. In order to limit the file size you need to pass some parameters when running containers, you can also make a global config file. Step...