Advertisement
M-Q711599

Arch Linuxcity new 2023

Jan 7th, 2020
526
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.74 KB | None | 0 0
  1.  
  2. loadkeys br-abnt2
  3. ip link
  4. ping archlinux.org -c 3
  5. timedatectl set-ntp true
  6. fdisk -l
  7. cfdisk /dev/sda
  8. mkfs.ext4 /dev/sda1
  9. mkswap /dev/sda3
  10. swapon /dev/sda3
  11. mount /dev/sda1 /mnt
  12. pacstrap /mnt base linux linux-firmware
  13. genfstab -U /mnt >> /mnt/etc/fstab
  14. arch-chroot /mnt
  15. ln -sf /usr/share/zoneinfo/Region/City /etc/localtime
  16. hwclock --systohc
  17. vi /etc/locale.gen > en_US.UTF-8 UTF-8
  18. locale-gen
  19. vi /etc/vconsole.conf > KEYMAP=br-abnt2
  20. vi /etc/hostname > McFaceHappyFace
  21. vi /etc/hosts >
  22. "
  23. 127.0.0.1   localhost
  24. ::1     localhost
  25. 127.0.1.1   myhostname.localdomain  myhostname
  26. "
  27. mkinitcpio -P
  28. passwd
  29. useradd -m McFace
  30. passwd McFace
  31. curl -o /etc/pacman.d/mirrorlist https://www.archlinux.org/mirrorlist/all/
  32. exit
  33. umount -R /mnt
  34. reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement