Documente Academic
Documente Profesional
Documente Cultură
# dhcpcd
# ping -c 3 archlinux.org
If none is available, stop the dhcpcd service with systemctl stop dhcpcd@<TAB> and
see Network configuration.
https://wiki.archlinux.org/index.php/Network_configuration#Device_driver
Partitioning Disk
|--------------------------------------------------------------------|
| HDD 8GB - RAM 3GB |
|--------------------------------------------------------------------|
| /DEV/SDA | SIZE | MOUNT POINT |
|--------------------------------------------------------------------|
| sda1 | 10GB | / |
|--------------------------------------------------------------------|
| sda2 | 1GB | swap |
|--------------------------------------------------------------------|
| sda3 | 9GB | /home |
|--------------------------------------------------------------------|
# lsblk
# cfdisk /dev/sda
# mkfs.ext4 /dev/sda1
# mkswap /dev/sda2
# swapon /dev/sda2
# mkfs.ext4 /dev/sda3
# mkdir /mnt/home
# mount /dev/sda3 /mnt/home
# pacman -Sy
# pacman -S reflector
# reflector --verbose -l 5 --sort rate --save /etc/pacman.d/mirrorlist
# nano /etc/locale.gen
uncomment: en_US.UTF-8 UTF8
# locale-gen
# echo LANG=en_US.UTF-8 > /etc/locale.conf
# export LANG=en_US.UTF-8
# ls /usr/share/zoneinfo
# ln -s /usr/share/zoneinfo/America/New_York > /etc/localtime
ln -s /usr/share/zoneinfo/Region/City /etc/localtime
# nano /etc/pacman.conf
Uncomment the line: [multilib] and include = /etc/pacman.d/mirrorlist
# pacman -Sy
# passwd
# pacman -S sudo bash-completion
# useradd -m -g users -G wheel,storage,power -s /bin/bash henri
# passwd henri
Allow the users in wheel group to be able to preformance administrative tasks with
sudo:
# EDITOR=nano visudo
Uncomment the line: %wheel ALL=(ALL)
# mkinitcpio -p linux
# pacman -S grub os-prober
# grub-install /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg
# exit
# umount -R /mnt
# reboot