Finishing the Arch installation

Few things, I had to do after installation.

  1. Enable network. The easiest is to use systemd. Just:
    systemctl enable systemd-networkd
    systemctl enable systemd-resolved
  2. Install BTRFS utilities: pacman -S btrfs-progs
  3. Install micro-code updates for Intel procesors: pacman -S intel-ucode
  4. As having 2 and 3 completed, we shall recreate our boot configuration (2 enables btrfs.fsck in early user space - previously binary was not avaiable so was skipped from initial ram disk):
    mkinitcpio -p linux
    grub-mkconfig -o /boot/grub/grub.cfg
  5. Replace relatime with noatime for /boot partition (as this is on USB) in /etc/fstab.
  6. Install SSH client and server:
    pacman -S openssh
    systemctl enable sshd.socket
  7. Finally add a user not to play root anymore (also note that root is disabled to login using password via ssh):
    useradd -m -G wheel -s /bin/bash bart
    passwd bart
  8. Install sudo: pacman -S sudo, then use visudo to uncomment wheel group permission.
  9. Generate SSH keys for your user: ssh-keygen, upload them, where you need, i.e. to your GitHub account.
  10. Install git: pacman -S git

Comments

Popular posts from this blog

Hardening OpenWRT - adding non-root user account

Dropbear SSH keys and autossh on OpenWRT

SSH Tunel with OpenWRT