This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| arch-install [2020/10/26 11:05] – gwsadmin | arch-install [2023/05/17 22:52] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| <code bash> | <code bash> | ||
| Loadkeys uk | Loadkeys uk | ||
| + | |||
| </ | </ | ||
| Line 19: | Line 20: | ||
| n fdisk, " | n fdisk, " | ||
| In fdisk, " | In fdisk, " | ||
| + | |||
| </ | </ | ||
| Line 31: | Line 33: | ||
| swapon /dev/sda2 | swapon /dev/sda2 | ||
| mkfs.ext4 /dev/sda3 | mkfs.ext4 /dev/sda3 | ||
| + | |||
| </ | </ | ||
| + | |||
| * Base Install | * Base Install | ||
| Line 39: | Line 43: | ||
| pacstrap /mnt base linux-lts linux-firmware | pacstrap /mnt base linux-lts linux-firmware | ||
| genfstab -U / | genfstab -U / | ||
| + | |||
| </ | </ | ||
| + | |||
| * | * | ||
| Line 54: | Line 60: | ||
| nano / | nano / | ||
| nano /etc/hosts | nano /etc/hosts | ||
| + | |||
| </ | </ | ||
| + | |||
| ==== Users and passwords: ==== | ==== Users and passwords: ==== | ||
| Line 63: | Line 71: | ||
| passwd ‘username’ (set that user's password) | passwd ‘username’ (set that user's password) | ||
| usermod -aG wheel, | usermod -aG wheel, | ||
| + | |||
| </ | </ | ||
| + | |||
| * Add Sudo: | * Add Sudo: | ||
| Line 70: | Line 80: | ||
| pacman -S sudo | pacman -S sudo | ||
| EDITOR=nano visudo | EDITOR=nano visudo | ||
| + | |||
| </ | </ | ||
| + | |||
| ==== Add GRUB: ==== | ==== Add GRUB: ==== | ||
| Line 81: | Line 93: | ||
| grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck (if doing UEFI) | grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck (if doing UEFI) | ||
| grub-mkconfig -o / | grub-mkconfig -o / | ||
| + | |||
| </ | </ | ||
| + | |||
| ==== Add Networking: ==== | ==== Add Networking: ==== | ||
| Line 88: | Line 102: | ||
| pacman -S networkmanager | pacman -S networkmanager | ||
| systemctl enable NetworkManager | systemctl enable NetworkManager | ||
| + | |||
| </ | </ | ||
| + | |||
| ==== Add SSH Server, make package, GIT and Firewall ==== | ==== Add SSH Server, make package, GIT and Firewall ==== | ||
| Line 98: | Line 114: | ||
| sudo pacman -S base-devel git ufw | sudo pacman -S base-devel git ufw | ||
| + | |||
| </ | </ | ||
| + | |||
| ==== Before Reboot: ==== | ==== Before Reboot: ==== | ||
| Line 106: | Line 124: | ||
| umount /mnt (unmounts /mnt) | umount /mnt (unmounts /mnt) | ||
| reboot (or shutdown now if doing this in VirtualbBox) | reboot (or shutdown now if doing this in VirtualbBox) | ||
| + | |||
| </ | </ | ||
| - | **Reboot: | + | **Reboot: |
| - | < | + | **To add a desktop environment, |
| - | <font 10pt/ | + | |