arch_install_cheat_sheet
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| arch_install_cheat_sheet [2025/06/03 17:30] – Add less josh | arch_install_cheat_sheet [2025/06/23 14:35] (current) – Add plasma-x11-session josh | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Wireless Network Setup ====== | ====== Wireless Network Setup ====== | ||
| - | * '' | + | < |
| - | * '' | + | iwctl device list |
| - | * '' | + | iwctl station wlan0 scan |
| - | * '' | + | iwctl station wlan0 get-networks |
| + | iwctl --passphrase < | ||
| + | </ | ||
| ====== Base ====== | ====== Base ====== | ||
| - | * '' | + | < |
| - | * '' | + | gdisk |
| - | * '' | + | cryptsetup luksFormat / |
| - | * '' | + | mkfs.ext4 / |
| - | * '' | + | cryptsetup open / |
| - | * '' | + | mkfs.ext4 / |
| - | * '' | + | mount / |
| - | * '' | + | mkdir /mnt/boot |
| - | * '' | + | mount / |
| - | * '' | + | mkdir /mnt/efi |
| - | * '' | + | mount / |
| - | * '' | + | pacstrap -K /mnt base linux linux-firmware vim |
| - | * '' | + | genfstab -U /mnt >> / |
| - | * '' | + | arch-chroot /mnt |
| - | * '' | + | ln -sf / |
| - | * '' | + | vim / |
| - | * '' | + | locale-gen |
| - | * '' | + | vim / |
| - | * '' | + | vim / |
| - | * '' | + | </ |
| + | |||
| + | Reference | ||
| + | |||
| + | < | ||
| + | mkinitcpio -P | ||
| + | passwd | ||
| + | </ | ||
| + | |||
| ====== GRUB ====== | ====== GRUB ====== | ||
| - | * '' | + | < |
| - | * '' | + | pacman -S grub efibootmgr |
| - | * '' | + | grub-install --efi-directory=/ |
| - | | + | vim / |
| - | * Reference https:// | + | # Add cryptdevice=UUID=< |
| - | * # to boot Windows, add to ''/ | + | </code> |
| - | menuentry ' | + | Reference https://wiki.archlinux.org/title/Dm-crypt/ |
| - | insmod part_gpt | + | |
| - | insmod chain | + | |
| - | search --no-floppy --fs-uuid --set=root ABCD-EFGH | + | |
| - | chainloader | + | |
| - | } | + | |
| - | * # to chain to another Linux partition: | + | To boot Windows, add to ''/ |
| - | | + | < |
| - | insmod part_gpt | + | menuentry 'Windows' { |
| - | search --no-floppy --fs-uuid --set=root | + | insmod part_gpt |
| - | | + | |
| - | } | + | |
| + | | ||
| + | } | ||
| + | </ | ||
| - | * '' | + | To chain to another Linux partition: |
| + | |||
| + | < | ||
| + | menuentry | ||
| + | insmod part_gpt | ||
| + | search --no-floppy --fs-uuid --set=root < | ||
| + | configfile ($root)/ | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | grub-mkconfig -o / | ||
| + | </ | ||
| ====== Desktop Environment ====== | ====== Desktop Environment ====== | ||
| - | * '' | + | < |
| - | * '' | + | pacman -S xorg-server xorg-apps sddm sddm-kcm plasma-desktop |
| + | | ||
| + | systemctl enable sddm.service | ||
| + | </ | ||
| + | |||
| + | ====== Audio ====== | ||
| + | |||
| + | < | ||
| + | pacman -S alsa-utils pulseaudio pulseaudio-alsa kmix | ||
| + | </ | ||
| ====== Network ====== | ====== Network ====== | ||
| Line 64: | Line 94: | ||
| ===== Dynamic - Option 1 ===== | ===== Dynamic - Option 1 ===== | ||
| - | * '' | + | < |
| - | * '' | + | pacman -S dhcpcd |
| + | systemctl enable dhcpcd.service | ||
| + | </ | ||
| ===== Dynamic - Option 2 (good for wireless) ===== | ===== Dynamic - Option 2 (good for wireless) ===== | ||
| - | * '' | + | |
| - | * '' | + | < |
| + | pacman -S iwd networkmanager plasma-nm | ||
| + | systemctl enable NetworkManager.service | ||
| + | </ | ||
| ===== Static ===== | ===== Static ===== | ||
| Line 75: | Line 110: | ||
| Create ''/ | Create ''/ | ||
| - | | + | < |
| - | Name=enp8s0 | + | [Match] |
| - | + | Name=enp8s0 | |
| - | [Network] | + | |
| - | Address=192.168.16.68/ | + | [Network] |
| - | Gateway=192.168.16.1 | + | Address=192.168.16.68/ |
| - | DNS=192.168.16.10 | + | Gateway=192.168.16.1 |
| + | DNS=192.168.16.10 | ||
| + | </ | ||
| ====== User ====== | ====== User ====== | ||
| - | * '' | + | < |
| - | * '' | + | pacman -S sudo |
| - | * '' | + | useradd -m josh |
| - | * '' | + | passwd josh |
| - | * '' | + | visudo # enable wheel line |
| + | vim /etc/group # wheel, games | ||
| + | </ | ||
| ====== SSH ====== | ====== SSH ====== | ||
| - | * '' | + | < |
| + | pacman -S openssh x11-ssh-askpass | ||
| + | </ | ||
| ====== Printing ====== | ====== Printing ====== | ||
| - | * '' | + | < |
| - | * '' | + | pacman -S cups print-manager system-config-printer |
| + | systemctl enable cups.service | ||
| + | </ | ||
| ====== Misc ====== | ====== Misc ====== | ||
| - | * '' | + | < |
| + | pacman -S which man man-pages rsync kwalletmanager base-devel less | ||
| + | </ | ||
| ===== Setting GTK application theme ===== | ===== Setting GTK application theme ===== | ||
| - | * '' | + | |
| + | < | ||
| + | pacman -S kde-gtk-config | ||
| + | </ | ||
| ====== NFS ====== | ====== NFS ====== | ||
| - | * '' | + | < |
| + | pacman -S nfs-utils | ||
| + | </ | ||
| + | |||
| + | In ''/ | ||
| - | | + | < |
| + | server:/ | ||
| + | </ | ||
| ====== Reboot ====== | ====== Reboot ====== | ||
| - | * '' | + | < |
| - | * '' | + | exit |
| - | * '' | + | umount -R /mnt |
| + | reboot | ||
| + | </ | ||
| ====== After reboot, as user ====== | ====== After reboot, as user ====== | ||
| Line 123: | Line 179: | ||
| ===== ssh-agent setup ===== | ===== ssh-agent setup ===== | ||
| - | * '' | + | < |
| - | | + | systemctl --user enable ssh-agent.service |
| - | * '' | + | </ |
| - | | + | |
| + | Put in profile: | ||
| + | |||
| + | < | ||
| + | export SSH_AUTH_SOCK=" | ||
| + | </ | ||
| + | |||
| + | Reference https:// | ||
arch_install_cheat_sheet.1748986246.txt.gz · Last modified: by josh
