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.

September 15, 2016

mysql-server meta package for mariadb-server

OMD (and probably a lot of other packages) depends on mysql-server, so we can’t just use mariadb-server easily. Or can we? Sure, we can rebuild the whole OMD thing with different dependencies, which will take a while. Or, we can just create a meta-package called mysql-server, which just depends on mariadb-server and satisfies the dependency for OMD. I do not care about packaging hell, i just use fpm, which requires ruby. Read more