And generate them:
cat > /etc/locale.conf echo "LANG=en_US.UTF-8" > /etc/locale.conf
Example to make dvorak layout persistent:
cat > /etc/vconsole.conf echo "KEYMAP=dvorak" > /etc/vconsole.conf
Hostname - is a unique name created to identify a machine on a network.
uniquenamewith anything you want:
echo uniquename > /etc/hostname
Later you will see something like
hostnamectllater. This method is not working in arch-chroot.
hostnamectl set-hostname myhostname
Add matching entries to the hosts, edit
127.0.0.1 localhost ::1 localhost 127.0.1.1 uniquename.localdomain uniquename
If the system has a permanent IP address, it should be used instead of
See more in network configuration.
multilib is for 64bit system.
To do this open the
#[multilib] #Include = /etc/pacman.d/mirrorlist
You also may add unofficial repositories with caution.
And update the system. We should let system know about the changes.
usernamewith preferred one:
useradd -m -g users -G wheel,storage,power -s /bin/bash username
And set password for a new user:
Read about visudo before editing! Any errors makes sudo unusable.
/etc/sudoers file with
visudo to prevent errors.
Since you added user to the
wheel group, user will gain full root privileges, you need to uncomment this line:
%wheel ALL=(ALL) ALL
If you are using a server or someone else has access to the wheel group, you may want to require sudoers to type root password.
In this case add this line:
Read more about root password.
You should enable microcode updates, my laptop has intel CPU:
pacman -S intel-ucode
amd-ucode if you have AMD CPU.