How to use GNU Stow to manage programs installed from source and dotfiles

Objective

Easily manage programs installed from source and dotfiles using GNU stow

Requirements

  • Root permissions

Difficulty

EASY

Conventions

  • # – requires given linux commands to be executed with root privileges either
    directly as a root user or by use of sudo command
  • $ – requires given linux commands to be executed as a regular non-privileged user

Introduction

Sometimes we have to install programs from source: maybe they are not available through standard channels, or maybe we want a specific version of a software. GNU stow is a very nice symlinks factory program which helps us a lot by keeping files organized in a very clean and easy to maintain way.

Read more

guest_installer

How to create and manage KVM virtual machines from CLI

Objective

Learn how to create and manage KVM virtual machines from command line

Operating System and Software Versions

  • Operating System: – All Linux distributions

Requirements

  • Root access
  • Packages:
    • qemu-kvm – The main package
    • libvirt – Includes the libvirtd server exporting the virtualization support
    • libvirt-client – This package contains virsh and other client-side utilities
    • virt-install – Utility to install virtual machines
    • virt-viewer – Utility to display graphical console for a virtual machine

Difficulty

MEDIUM

Conventions

Read more

Introduction to SELinux concepts and management

Objective

Introduction to SELinux concepts and management

Operating System and Software Versions

  • Operating System: – Linux distribution agnostic

Requirements

  • Root access on a working Linux installation with a valid SElinux policy
  • policycoreutils package: it provides getsebool, setsebool, restorecon utilities
  • coreutils package: provides chcon utility
  • policycoreutils-python package: provides semanage command
  • policycoreutils-newrole: provides the newrole program
  • setools-console: provides seinfo command

Difficulty

MEDIUM

Conventions

Read more

How to manage ACLs on Linux

Objective

Introduction to the management of ACLs ( Access Control List ) on Linux

Operating System and Software Versions

  • Operating System: – Linux distribution agnostic

Requirements

  • Root access on a working Linux installation
  • Knowledge of Discretionary permission system
  • A filesystem which supports ACLs (e.g xfs, ext2, ext3, ext4), mounted with the ‘acl’ option
  • Having the ‘acl’ package installed

Difficulty

MEDIUM

Conventions

Read more