Configuration
Installation steps 10-14: Configure timezone, locale, hostname, and user accounts. See Installation for an overview.
10. Set Timezone
List available timezones
ls /usr/share/zoneinfo/ Set your timezone (example: US Eastern)
ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime Sync hardware clock
hwclock --systohc 11. Set Locale
Enable and generate your locale:
Uncomment en_US.UTF-8 (or your preferred locale)
sed -i 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen Generate locales
locale-gen Set system locale
echo "LANG=en_US.UTF-8" > /etc/locale.conf For other locales, edit /etc/locale.gen and uncomment the lines you need before running locale-gen.
12. Set Hostname
Set your hostname (replace myhostname with your preferred name):
Set hostname
echo "myhostname" > /etc/hostname Create the hosts file
cat > /etc/hosts << 'EOF'
127.0.0.1 localhost
::1 localhost
127.0.1.1 myhostname.localdomain myhostname
EOF 13. Set Root Password
Set the root password
passwd 14. Create User Account
Create your user (replace yourname with your username):
Create user with home directory and add to wheel group
useradd -m -G wheel -s /bin/bash yourname Set user password
passwd yourname Enable sudo for the wheel group:
Create sudoers file for wheel group
echo '%wheel ALL=(ALL:ALL) ALL' > /etc/sudoers.d/wheel && chmod 0440 /etc/sudoers.d/wheel Continue to Bootloader & Finish (steps 15-18).