CentOS in OpenVZ container update 7.1 -> 7.2 gone bad


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


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


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


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


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

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

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