User Tools

Site Tools


educare:arch_linux_installazione

This is an old revision of the document!


Arch Linux

Arch Linux si installa dal terminale dei comandi (richiede conoscenze approfondite)

Le istruzioni essenziali sono indicate qui: https://wiki.archlinux.org/index.php/Installation_guide

Questo è solo un riassunto personale:

  1. Scaricare il file iso (rigenerato mensilmente il primo di ogni mese)
  2. Creare una chiavetta USB avviabile con dd
    1. dd if=/path/file.iso of=/dev/sdx bs=4M status=progress oflag=sync 
  3. Avviare il computer con questa chiavetta e attendere il messaggio prompt (root)#
  4. Comandi:
    1. loadkeys it
    2. ls /sys/firmware/efi/efivars
    3. ip link
    4. rfkill
    5. rfkill unblock wlan
    6. rfkill 
    7. iwctl
      1. device list
      2. station wlan0 scan
      3. station wlan0 get-networks
      4. station wlan0 connect SSID...
        • passphrase...
    8. ping archlinux.org
    9. mkfs.ext4 /dev/nvme0n1p...
    10. mount /dev/nvme0n1p...
    11. pacstrap /mnt base linux linux-firmware
    12. genfstab -U /mnt >> /mnt/etc/fstab
    13. arch-chroot /mnt
    14. passwd
    15. pacman -S nano xterm iwd grub efibootmgr man lightdm lightdm-gtk-greeter xfce4 xorg-server network-manager network-manager-applet nm-connection-editor
    16. libreoffice-still-it firefox
    17. nano /etc/locale.conf
      1. LANG=en_US.UTF-8
        	LANGUAGE = en_US
    18. nano /etc/vconsole.conf
      1. KEYMAP=it
    19. useradd -m mario...
    20. passwd mario...
    21. nano /etc/hosts
      1.  127.0.0.1    localhost
        ::1    localhost
        127.0.1.1    mioshot...
    22. systemctl enable lightdm.service
    23. systemctl enable Network-Manager.service

      attenzione alle maiuscole

    24. se necessario aggiungere il nome del greeter in /etc/lightdm/lightdm.conf
      1. greeter-session=lightdm-slick-greeter
    25. mkinitcpio -P
    26. grub-install /dev/nvme0n1p... 

      produce errore perche' non trova una cartella…

    27. si puo' eseguire il comando update-grub da eventuale altra distribuzione già presente sullo stesso PC
    28. exit
    29. umount -R /mnt
    30. reboot

Al riavvio…

 pacman -Syu 
paccache -r
  1. il programma “man”, segna qualche errore nelle variabili di ambiene non correttamente configurate
  2. la tastiera è ancora in inglese, si deve configurare nel menu di xfce
  3. il font di sistema si chiama semplicemente “monospace” ma in realtà è un font “NimbusMonoPS-Regular.otf: “Nimbus Mono PS” “Regular”. È fastidioso perche' i caratteri “fi” si stringono e uniscono tra loro. La soluzione è installare prima il font Liberation.
    1. modificare il font nei seguenti 4 posti
      1. menu application > Appareance > Font
      2. Terminale xterm > menu preferences
      3. Gedit > Edit > preferences > interface > interface
      4. Firefox > General > Font > advanced > Mono

Altri programmi da installare

ttf-liberation tar lzip base-devel thunar gvfs pulseaudio xdg-user-dirs mousepad xfce4-screenshooter xfce4-screensaver thunar-archive-plugin xfce4-cpufreq-plugin xfce4-pulseaudio-plugin pavucontrol pavucontrol-qt usb_modeswitch modemmanager modem-manager-gui modemmanager-qt

gimp dia xorg-xcalc ristetto freemind

Comando da eseguire

LC_ALL=C xdg-user-dirs-update –force

Attenzione, se il disco è SSD può essere necesario modificare /etc/fstab

UUID=f31aee94-060c-4a4e-aaaa-ab32a7a3ec9e       /               ext4          rw,relatime     0 1

#swap on p9
UUID=9489eee9-29cf-4f06-aaa9-f69cdf60bef3 none            swap    sw                0       0


tmpfs /tmp tmpfs size=1G,noatime 0 0
tmpfs /var/tmp tmpfs size=1G,noatime 0 0
tmpfs /var/cache/pacman/pkg tmpfs size=500M,noatime 0 0
#
tmpfs /home/mario/.cache tmpfs noatime,size=1G,user 0 0
educare/arch_linux_installazione.1596284335.txt.gz · Last modified: 2020/08/01 14:18 by profpro