Category: Server

Good to know – HTTP Protocol

When tinkering with OData, as well as SAC i’m reminded of the good-old-days of web-development, POST and GET requests, AJAX and service workers: What sounds like a toilet cleaner and a waiter in the restaurant, actually it’s all about the early days of asynchronous web-development and webapps. – Time to have closer look at the prime father of the world...

Good to know: Linux services and Docker

Docker and Unix services As a general rule of thumb there is one docker container for each service. It’s like a mantra echoing in the internet to separate concerns and to follow the Unix design principle of doing one thing, and doing one thing right (see Wikipedia) (Btw. look at this video from the vaults explaining the UNIX operating system...

Lighttpd on arch

lighttpd, PHP, MariaDB https://wiki.ubuntuusers.de/lighttpd/ https://redmine.lighttpd.net/projects/lighttpd/wiki/TutorialConfiguration Installation pacman -S lighttpd pacman -S php php-cgi mariadb mariadb-clients mariadb-install-db –user=mysql –basedir=/usr –datadir=/var/lib/mysql Infos: Two accounts: root@localhost, mysql@localhost To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system You can start the MariaDB daemon with: cd ‘/usr’ ; /usr/bin/mysqld_safe –datadir=’/var/lib/mysql’ You can test the MariaDB daemon...

Matrix

not the movie, but the messenger – self-hosted set up and running Infos: https://matrix.org/ also: samuels-blog.de App: https://fluffychat.im/ Contact me @daniel:matrix.daniel-purucker.com

Wireguard

There (are some affiliate) needs a VPN-server in the near future (roadwarrior… not by choice).As my experiences with Wireguard on the EdgeRouterX were not very successful: I’l give it another try on Proxmox. Here we go… – as Wireguard is now part of the kernel it’s super easy (Virt. Maschine, no Container on Proxmox… due to Kernel!). see: https://www.cyberciti.biz/faq/ubuntu-20-04-set-up-wireguard-vpn-server/ and:...

HANA 2.0 & Log4J @Home

Monday to Friday: Log4J @Work Weekend: Log4J @Home 🙂 HANA 2.0: HANA XSA log4j CVE-2021-44228 Ubiquity: UniFi Controller security concern (zero-day Log4j exploit) Docker: https://www.docker.com/blog/apache-log4j-2-cve-2021-44228/ Eclipse https://wiki.eclipse.org/Eclipse_and_log4j2_vulnerability_(CVE-2021-44228) Full List Github – @SwitHak SwitHak/20211210-TLP-WHITE_LOG4J.md Other interesting stuff: https://www.cisecurity.org/log4j-zero-day-vulnerability-response/ https://log4jmemes.com/

SAP HANA 2.0 express edition on Proxmox

I finally finished the blog-post on the HANA 2.0 express edition installation on Proxmox. see SAP Community to read it Can’t wait to do the first release-upgrade 😉

Backup-script for TrueNas

As described in the previous post, i modified the awesome script from Jörg Binnewald @ https://esc-now.de/ to suit my needs. The script is automatically triggered, when the backup-HDD is attached to the TrueNAS-Server. The Datasets (and child-Datasets) are incrementally backed-up via send/receive (ZFS feature). The source code can be found here: script: https://github.com/dapuru/zfsbackup A devd-rule (can also be found at...

Data Backup Strategy for ZFS-Pool on TrueNas

In theory there is one solution to backup a TrueNas Data-Share to an external hard disc: Fiddle with send/receive (see below) In practice, there are different options: 1) use syncoid 2) use TrueNas “local replication” 3) use a script with send/receive 4) use rsync Options 1-3 expect ZFS on the target volume, option 4 works with any filesystem. Should i...

Ubiquity Edge Router X and Wireguard

Wireguard is some really cool stuff. However i still did not get it to work on the Edge Router X – shame on me.. Keeping this for later.. https://github.com/WireGuard/wireguard-vyatta-ubnt https://www.erianna.com/wireguard-ubiquity-edgeos/ https://neontom.com/blog/wireguard-on-edgeos/