-
The "archlinux" subfolder contains the
archlinux_initial_config.sh
that will get your new Arch Linux LXC ready to be used for whatever purpose you like.
You should run this script everytime you created a new Arch Linux LXC. -
Each subfolder contains an indiviual README.md file explaining how to install and configure certain services.
-
⚠️ Watch out for scripts and commands that need to be run as non-root user!⚠️
-
If you haven't updated your Arch Linux (LXC) in a while you will likely get some of the errors below when using any of my scripts or while trying to perform a normal system update:
- invalid or corrupted package
- Signature from "User [email protected]" is unknown trust
To fix that you will have to do what is shown in the following links or use my all-in-one command in step 2.
https://wiki.archlinux.org/title/Pacman/Package_signing#Resetting_all_the_keys
https://wiki.archlinux.org/title/Pacman/Package_signing#Upgrade_system_regularly -
This command will basically perform a full system maintenance (remove chunk & update all packages and signatures) as described in the links above.
rm -rf /etc/pacman.d/gnupg && pacman-key --init && pacman-key --populate archlinux && pacman -Sy --noconfirm archlinux-keyring && pacman -Su --noconfirm && if pacman -Qtdq >/dev/null; then pacman -Rns --noconfirm $(pacman -Qtdq); fi && yes | pacman -Scc && reboot
-
Arch Linux LXCs need to have
nesting=enabled
in order for networking to function properly. -
Partial system / package updates are not supported (not advisable) on Arch Linux.
Because of that my scripts always perform a full LXC system upgrade while installing new packages.
https://wiki.archlinux.org/title/System_maintenance#Partial_upgrades_are_unsupported
!!! Make a backup of your LXC before running any of my scripts or commands in it. !!!
These scripts are only tested to be working on a freshly made Arch Linux LXC running on Proxmox.
Even though I tested these scripts to be working well on my system they can still misbehave on your system.
I take no responsibility at all for anything that happens to your system or your data.