← Back Home
Host Setup
Initialize a new Ubuntu host
# Update Dependencies
apt update
# Create default binaries folder (you might want to download binaries from https://carl-ambroselli.de/scripts/ here)
mkdir $HOME/.bin
if grep -q '/.bin' $HOME/.bashrc; then
printf '\nPATH=$PATH:$HOME/.bin\n' >> ~/.bashrc
fi
# Useful tools
snap install glow # markdown renderer
apt install git-extras # things like 'git ignore file.txt'
# Configuration
bash <(curl -s https://carl-ambroselli.de/scripts/source/create-vimrc.txt)
git config credential.helper 'cache --timeout=86400' # Store git https credentials in-memory for 24h
Tools for development
- Glow - a terminal markdown renderer.
snap install glow