Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:server:operating_systems:arch_linux [2022/01/06 11:02] – [zram] changed to 4GB and changed to single quotes dan | en:server:operating_systems:arch_linux [2024/03/07 20:30] (current) – [Microcode] updated upstream changes - microcode hook in mkinitcpio.conf by default dan | ||
---|---|---|---|
Line 12: | Line 12: | ||
* NetworkManager | * NetworkManager | ||
* zram | * zram | ||
- | * doas | + | * doas/sudo |
- | * nftables | + | |
**Desktop** | **Desktop** | ||
Line 19: | Line 18: | ||
* Xorg | * Xorg | ||
* KDE / Plasma | * KDE / Plasma | ||
- | * SDDM | + | * SDDM/xinit |
===== Download the ISO ===== | ===== Download the ISO ===== | ||
[[https:// | [[https:// | ||
+ | |||
+ | ==== Verify the ISO image ==== | ||
+ | |||
+ | Check the two files in the same folder with the following command(s): | ||
+ | |||
+ | * for Arch users | ||
+ | * '' | ||
+ | * other GnuPGP systems | ||
+ | * '' | ||
+ | * and check the sha256sum with the following command | ||
+ | * '' | ||
+ | |||
+ | <alert type=" | ||
===== Inital setup ===== | ===== Inital setup ===== | ||
Line 142: | Line 154: | ||
< | < | ||
- | pacstrap /mnt base base-devel linux-hardened linux-hardened-docs linux-hardened-headers linux-firmware nano networkmanager lvm2 opendoas openssh | + | pacstrap /mnt base base-devel linux-hardened linux-hardened-docs linux-hardened-headers linux-firmware nano networkmanager lvm2 opendoas openssh |
</ | </ | ||
+ | |||
+ | <alert type=" | ||
===== Configure the system ===== | ===== Configure the system ===== | ||
Line 220: | Line 234: | ||
< | < | ||
- | HOOKS=(base udev autodetect keyboard keymap | + | HOOKS=(base udev autodetect |
</ | </ | ||
Line 244: | Line 258: | ||
linux / | linux / | ||
initrd | initrd | ||
- | options cryptdevice=UUID=$(blkid -s UUID -o value /dev/sda2)=root root=/ | + | options cryptdevice=UUID=$(blkid -s UUID -o value /dev/sda2):root root=/ |
</ | </ | ||
Line 257: | Line 271: | ||
pacman -S amd-ucode | pacman -S amd-ucode | ||
</ | </ | ||
- | |||
- | and add '' | ||
- | |||
==== doas ==== | ==== doas ==== | ||
Line 278: | Line 289: | ||
pacman -Rsn opendoas | pacman -Rsn opendoas | ||
pacman -S sudo | pacman -S sudo | ||
+ | </ | ||
+ | |||
+ | Enable '' | ||
+ | |||
+ | < | ||
+ | visudo | ||
+ | </ | ||
+ | < | ||
+ | %wheel ALL=(ALL: | ||
</ | </ | ||
Line 285: | Line 305: | ||
echo "alias sudo=' | echo "alias sudo=' | ||
alias sudoedit=' | alias sudoedit=' | ||
+ | ln -s $(which doas) / | ||
</ | </ | ||
Line 354: | Line 375: | ||
</ | </ | ||
- | <alert type=" | + | === (Optional) Connect to wifi if needed |
+ | |||
+ | < | ||
+ | nmcli d wifi list | ||
+ | nmcli dev wifi connect SSID password ' | ||
+ | </ | ||
+ | |||
+ | |||
+ | <alert type=" |