CentOS in OpenVZ container update 7.1 -> 7.2 gone bad

Problem

Simple yum update canceled at bad time messes up your system...

Solution

yum update stuck on systemd-sysv package... pstree -a doesn't show anything useful.

Ctrl+c helps, but breaks the system, as yum stopped in update phase.

yum doesn't work after that, rpm still does.

I've followed advice from …

more ...

Install lxml in virtualenv

Problem

Installing lxml in virtualenv fails on libxml/xmlversion.h...

Solution

Install libxml2 and libxslt development packages, and then:

CFLAGS="-I/usr/include/libxml2" LDFLAGS="-L/usr/lib64/" pip install lxml
more ...

Managing your photo library

Problem

It would be nice if photo management software could organize all your photos in predictable and understandable way, without obfuscating anything etc.

Also, it would be nice to pile all photos from same place but different sources into one folder and sort them according to time taken, no?

Solution …

more ...


CentOS 7.1 Minimal Install

Boot options for cd install

ks.device=link inst.ks=http://....../ks.cfg

Kickstart itself

#version=RHEL7
# System authorization information
auth --enableshadow --passalgo=sha512

# Use CDROM installation media
cdrom
# Use graphical install
text
# Run the Setup Agent on first boot
firstboot --disable
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System …
more ...