Fedora

Fedora 22 on Raspberry Pi 2

Download one of the remix from http://arm.fedoraproject.org/ Download kernel cd /tmp/ git clone -depth 1 https://github.com/raspberrypi/firmware.git I am using LXDE: xzcat Fedora-LXDE-armhfp-22-3-sda.raw.xz | dd of=/dev/mmcblk0 bs=4M fdisk /dev/mmcblk0 change first partition type to B If you like, expand /dev/mmcblk0p3 to utilize all space and use resize2fs /dev/mmcblk0p3 to expand filesystem mkfs.vfat /dev/mmcblk0p1 mkdir /tmp/sdcard mount /dev/mmcblk0p3 /tmp/sdcard mount /dev/mmcblk0p1 /tmp/sdcard/boot cat >/tmp/sdcard/boot/config.txt #uncomment to overclock the arm. 700 MHz is the default.

openvpn certificate signature failure

CentOS and Fedora has stopped support for md5 certificates At client side if you get following error server log usually /var/log/messages VERIFY ERROR: depth=0, error=certificate signature failure: <snip> TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed TLS Error: TLS object -> incoming plaintext read error TLS Error: TLS handshake failed Fatal TLS error (check_tls_errors_co), restarting To fix this: vi /etc/systemd/system/NetworkManager.service and add following .include /usr/lib/systemd/system/NetworkManager.service [Service] Environment="OPENSSL_ENABLE_MD5_VERIFY=1 NSS_HASH_ALG_SUPPORT=+MD5" Now restart daemon

Running multiple PostgreSQL clusters using systemd

Requirements   Using systemd   Multiple instance of PostgreSQL       First instance running on port 5491       Second instance running on port 5492 Steps to setup first service STEP 1 create and edit service file sudo vi /etc/systemd/system/postgresql-9.4-5941.service STEP 2 Import original and Add Env .include /lib/systemd/system/postgresql-9.4.service [Service] Environment="PGDATA=/var/lib/pgsql/9.4/data1/" STEP 3 Modify postgresql.conf for instance sudo vi /var/lib/pgsql/9.4/data1/postgresql.conf" STEP 4 Change port for postgresql