Post tagged: installation

Moving to Home Assistant

I am busy moving away from my VeraEdge installation to a Home Assistant running on a Raspberry Pi 4. This is because it looks like the maker of the VeraEdge was bought and it is slowly being phased out.

For this I am using the following parts:

flatpak

Flatpak is a utility for software deployment and package management for Linux. It is advertised as offering a sandbox environment in which users can run application software in isolation from the rest of the system. Flatpak was developed as part of the freedesktop.org project and was originally called xdg-app …

lnbin

This is my lnbin script.

This is a program for managing symlink in a /usr/local/bin directory. It is similar to stow, lndir, cleanlinks and others.

The approach used by lnbin is based on Stow, and it is to install each into its own tree, then use symbolic links …

Installing Void Linux

I made the switch to void linux. Except for compatibility issues around glibc, it works quite well. Most compatibility I have worked around with a combination of Flatpaks, chroots and namespaces.

The high lights of void linux:

  • musl build - which is very lightweigth
  • Does not depend on systemd …

Docker on Alpine Linux

Alpine Linux Quick installation

See wiki For Alpine Linux > 3.8

  1. Un-comment community repo from /etc/apk/repositories
  2. apk add docker
  3. rc-update add docker boot
  4. service docker start

Optional: (docker compose)

apk add docker-compose

Note 2021-03-21: When I tested this, the daemon.json did not work! Your mileage may vary …

using cachefiles on an Linux NFS share

If you often mount and access a remote NFS share on your system, you will probably want to know how to improve NFS file access performance. One possibility is using file caching. In Linux, there is a caching filesystem called FS-Cache which enables file caching for network file systems such …

Centos Install notes

Set-up local.repo

yum installs:

  • nfs-utils autofs
  • @x11
  • @xfce
  • wget
  • dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-serif-fonts
  • xorg-x11-fonts-{Type1,misc,75dpi,100dpi}
  • bitmap-console-fonts bitmap-fixed-fonts bitmap-fonts-compat bitmap-lucida-typewriter-fonts
  • ucs-miscfixed-fonts urw-fonts
  • open-sans-fonts
  • webcore-fonts webcore-fonts-vista
  • liberation-mono-fonts liberation-sans-fonts liberation-serif-fonts
  • bitstream-vera-sans-fonts bitstream-vera-serif-fonts
  • gnu-free-{mono,sans,serif}-fonts
  • tk
  • firefox
  • mplayer ffmpeg alsa-utils
  • xsensors xfce4-sensors-plugin
  • keepassx
  • git

Building RPM packages with …

OpenShift notes

THIS IS FOR ARCHIVAL PURPOSES. THIS IS OUT-OF-DATE

backup OpenShift

openshift getenv(USER) from OpenShift php
ssh to {user}@{app-domain} gear snapshot  > file

Run gear app

OpenShift migration further notes

Encrypt a file using a supplied password :

$ openssl enc -aes-256-cbc -salt -in file.txt -out file.txt.enc -k …

HP Envy 4504 Set-up

I bought a HP Envy 4504. Overall I am happy with it. This is how I configure it so I can use with Linux.

This mini howto applies to ArchLinux, void linux and Centos/RedHat distributions.

Installation

Archlinux:

cups, hplip, python2, sane

Centos:

cups, hplip, hplip-gui, sane

Some optional dependancies …

Enable local file caching for NFS share on Linux

In Linux, there is a caching filesystem called FS-Cache which enables file caching for network file systems such as NFS. FS-Cache is built into the Linux kernel 2.6.30 and higher. In order for FS-Cache to operate, it needs cache back-end which provides actual storage for caching. One such …

Diskless Archlinux

I am still to test this recipe

Server Configuration

First of all, we must install the following components:

  • A DHCP server to assign IP addresses to our diskless nodes.
  • A TFTP server to transfer the boot image (a requirement of all PXE option roms).
  • A form of network storage (NFS …

ArchLinux tips

A bunch of recipes useful for an ArchLinux system environment.

Mostly around system administration.

Custom Repos and Packages

In the repo directory, put all the packages in there.

repo-add ./custom.db.tar.gz ./*

Add to pacman.conf:

[custom]
SigLevel = [Package|Databse]Never|Optional|Required
Server = path-to-repo

See also repo-remove. A …