Alpine Linux LXC Container Setup

Here are the necessary commands to set up an Alpine Linux LXC container after a fresh install. Basic Installation Upgrade packages: apk -U upgrade Run Alpine setup: setup-alpine Install essential tools: apk add nano curl wget htop git zsh ZSH Configuration Install Oh My Zsh: sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" Edit password file to change default shell to zsh: nano /etc/passwd (Find your user and change /bin/ash or /bin/sh to /bin/zsh) ...

November 20, 2023 · 1 min

Things to Do After Installing a Debian Linux Server

In this page, we will go over things to install, configure the debian server to harden the security and get ready for general use. Assuming all the commands are run from the user root, else add the sudo keyword as prefix to all commands below. Update to Latest Patches Keep your system up to date. apt update apt dist-upgrade -y apt clean apt autoremove reboot SSH - Reconfigure SSH Server Regenerate the SSH host keys to ensure uniqueness. ...

November 15, 2023 · 2 min