Linux Packages and Tools

Git Repo

We are maintaining a private git repository to store Docker Compose files, Ansible playbooks, and shell configuration scripts for setting up tools and utilities on our machines, VMs, and LXC. The following video explains setting up a git client on the Ubuntu server to access and update our repo.

How to Install and Configure Git

Some notes on the installation process above:

  • You must use your GitHub access token at any password prompts
  • Need to install ansible via sudo apt install ansible

Network and DNS Tools

Most of the systems here run Linux distributions in Debian or Ubuntu. We add a standard set of tools to our Linux machines to create our working environment. These packages are installed with the following commands:

# Update repository information
apt update

# Network utilities including nslookup & ifconfig
apt install dnsutils
apt install net-tools

# The tmux terminal multiplexor
apt install tmux

tmux on macOS

MacOS does not support repository access outside of the box. To enable this, we first need to install Brew, and then we can install tmux. The commands to do this are (from the macOS terminal in user mode) –

# install brew on macOS (this takes awhile...)
/bin/bash -c "$(curl -fsSL"

# Update PATH to include brew
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/<USER>/.zprofile

eval "$(/opt/homebrew/bin/brew shellenv)"

# Now install tmux
brew install tmux

Anita's and Fred's Home Lab

WordPress Appliance - Powered by TurnKey Linux