November 21, 2016

Docker and ZFS in practice

Today i was stumbling upon ZFS in Docker Docs. The ZFS on Linux (ZoL) port is healthy and maturing. However, at this point in time it is not recommended to use the zfs Docker storage driver for production use unless you have substantial experience with ZFS on Linux. I do have, so let’s try things out. I’m not installting any Ubuntu ZFS thingy, just grabbed one of my lab Proxmox installations with ZFS builtin. In this test, there was no running Docker daemon before the next steps. If you already are running Docker, you should stop the service, rename (or delete) /var/lib/docker and continue. Read more

October 17, 2016

Check_MK / Debian Jessie with php7

If you want to run Check_MK with PHP7.0 (Dotdeb) on Debian Jessie, you need to update the package dependencies. Make sure you run these commands as root, or file permissions will be wrong after repacking. wget https://mathias-kettner.de/support/1.2.8p12/check-mk-raw-1.2.8p12_0.jessie_amd64.deb mkdir check-mk-raw-1.2.8p12_0_php7.0.jessie_amd64 dpkg-deb -R check-mk-raw-1.2.8p12_0.jessie_amd64.deb check-mk-raw-1.2.8p12_0_php7.0.jessie_amd64 cd check-mk-raw-1.2.8p12_0_php7.0.jessie_amd64 sed -i 's,php5,php7.0,g' DEBIAN/control sed -i 's,php7.0-sqlite,php7.0-sqlite3,g' DEBIAN/control for file in $(grep -sRli php5-cgi opt/omd/versions/1.2.8p12.cre/skel) do sed -i 's,/usr/bin/php5-cgi,/usr/lib/cgi-bin/php7.0,g' $file done dpkg-deb -b check-mk-raw-1.2.8p12_0_php7.0.jessie_amd64 check-mk-raw-1.2.8p12_0_php7.0.jessie_amd64.deb Also you need to adjust existing site configs to use the new php binaries: Read more

September 23, 2016

PVE: Kickstart CentOS/Preseed Ubuntu

You can use KVMs direct kernel boot feature to boot things without having an ISO or using PXE. These options can be set in args: in Proxmox. Doing so, we can simply kickstart a CentOS or preseed an Ubuntu installation by passing all necessary options. UPDATE 2017-11-06 Ansible approach Example: CentOS Prepare kernel Grab CentOS kernel (if not alreay done, then skip this step and adjust paths in qm create command) Read more

September 21, 2016

Nextcloud install via packages on Debian Jessie

Similiar to the “old” owncloud-files package, which allows to have an up to date version of it while still beiing able to maintain your custom setup around it (webserver stack, database server, …), i’ve created a package for Nextcloud. It get’s uploaded to my repo, so can throw this in a mix with MariaDB and Dotdeb PHP7.0 repos to easily create your Nextcloud instance.