This article will be mainly used as a reference when I write about installing software on a Raspberry Pi running Arch Linux, so I can assume some basic software and settings to be present. It will also be updated from time to time.
Create the SD card following these instructions
Before doing anything else its a good idea to change the root password.
passwd
You will need a wired internet connection (or an open wireless network).
If you later want to use a secure wifi you will need to install wpa_supplicant and setup the network with netctl.
pacman -Syu
pacman -S wpa_supplicant crda
Uncomment your country
nano /etc/conf.d/wireless-regdom
Configure your network
cd /etc/netctl/
cp examples/wireless-wpa some_name
nano some_name
Either enable your network config
netctl enable some_name
reboot
or enable auto switching of network configs
pacman -S wpa_actiond
systemctl enable netctl-auto@wlan0.service
Add a new user xyz
useradd xyz
passwd xyz
mkdir /home/xyz
chown xyz /home/xyz
Install sudo
pacman -S sudo
Uncomment %sudo ALL=(ALL) ALL
export EDITOR=nano
visudo
Enable sudo for user xyz
groupadd sudo
usermod -aG sudo xyz
Disable root login
passwd -l root
Remove default user alarm
userdel alarm
rm -r /home/alarm
Change timezone
timedatectl set-timezone Europe/Berlin
Change the hostname
hostnamectl set-hostname new_name_here
Change the keyboard layout
localectl set-keymap de-latin1