המדריך המלא להתקנת ARCH

המדריך המלא להתקנת ARCH Linux

  1. through the process of setting up Arch Linux from scratch. It'll start at the command-line, and we'll build the installation all the way up to a full desktop environment! The GNOME, Xfce, Plasma, and MATE desktop environments are all covered. In addition, you'll be shown how to add optional disk encryption for good measure. Individual Sections: 00:00:00 – Introduction 00:03:59 – Section 1: General info 00:08:36 – Section 2: Booting the installer 00:08:56 – Downloading the Arch Linux ISO 00:10:23 – Setting up bootable media 00:11:57 – Setting up networking 00:18:37 – Section 3a: Setting up the disk (non-UEFI) 00:30:26 – Section 3b: Setting up the disk (with UEFI) 00:44:37 – Section 3c: Setting up the disk (UEFI with Encryption) 01:01:26 – Section 4: Installing Arch Linux 01:18:38 – Section 5: Installing GRUB 01:28:57 – Section 6: Post-install Tweaks 01:44:02 – Section 7: Installing a desktop environment 01:44:03 – GNOME 01:50:03 – Plasma 01:52:40 – Xfce 01:54:57 – MATE

WARNING: The installation process for Arch Linux changed (slightly) a few weeks after I made this video. When you run the pacstrap command, you now need to "pacstrap /mnt base linux linux-firmware". For a more up-to-date version of this guide check out:
https://www.youtube.com/watch?v=PQgyW… – Arch Linux Installation Guide (2020)
https://www.youtube.com/watch?v=pouX5… – After The Base Install, Installing Xorg and a Window Manager

Today, I'm going to run through the Arch Linux installation inside a virtual machine (VirtualBox). If you have never tried to install Arch before, running through the installation in a VM a few times can boost your confidence a bit before taking the plunge on your real machine.

SOME OF THE COMMANDS I RAN:

# ping google.com (CTRL-c to kill the ping)
# timedatectl set-ntp true
# timedatectl status
# cfdisk
# mkfs.ext4 /dev/sda1
# mkswap /dev/sda2
# swapon /dev/sda2
# mount /dev/sda1 /mnt
# pacstrap /mnt base
# arch-chroot /mnt
# ln -sf /usr/share/zoneinfo/Region/City /etc/localtime
# hwclock –systohc
# locale-gen

# nano/etc/locale.conf
LANG=en_US.UTF-8

# nano /etc/hostname
myhostname (dt was what I used)

# nano /etc/hosts
127.0.0.1 localhost
::1 localhost
127.0.1.1 myhostname.localdomain myhostname

# passwd
# useradd -m newusername (I used derek)
# passwd yourusername
# usermod -aG wheel,audio,video,optical,storage yourusername
# pacman -S vim
# visudo
# pacman -S grub
# grub-install /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg
# pacman -S xorg