Arch Mate 2r9yq

Post tags: | arch_linux | linux | linux_install |

wiki.archlinux.org/ Installation guide

todo

        craig oh my zsh?
        config vim gvim
        

Install Log

Boot the iso image

        boot archlinux-2019.11.01-x86_64.iso
        ip link -> enp0s3
        ping -c 3 google.com -> yes - wired connection auto started
        
        pacman -Syy - update pacman databases
        pacman -S python3
        pacman -S reflector
        reflector -c "United States" -f 20 -l 20 --save /etc/pacman.d/mirrorlist
        
        fdisk -l -> /dev/sda
        fdisk /dev/sda -> one partition sda1
        mkfs.ext4 /dev/sda
        
        mount /dev/sda1 /mnt
        
        pacstrap /mnt base base-devel linux linux-firmware dhcpcd netctl vim python3 reflector 
        
        genfstab -U -p /mnt >> /mnt/etc/fstab
        
        arch-chroot /mnt
        
        reflector -c "United States" -f 20 -l 20 --save /etc/pacman.d/mirrorlist
        
        ln -sf /usr/share/zoneinfo/America/Denver /etc/localtime
        hwclock --systohc
        
        Uncomment en_US.UTF-8 UTF-8 and other needed locales in /etc/locale.gen, and generate them with:
         # locale-gen
        
        Create the locale.conf(5) file, and set the LANG variable accordingly:
        /etc/locale.conf
        LANG=en_US.UTF-8
        
        Create file /etc/hostname
        arch-mate-2r9yq
        
        Add matching entries to /etc/hosts
        127.0.0.1 localhost
        ::1 localhost
        127.0.1.1 arch-mate-2r9yq.localdomain arch-mate-2r9yq
        
        set the root password
         # passwd
        
        pacman -S intel-ucode
        pacman -S dosfstools
        pacman -S grub
        
        grub-install /dev/sda
        
        generate /boot/grub/grub.cfg:
         # grub-mkconfig -o /boot/grub/grub.cfg
        exit # from chroot
        shutdown -h now
        

Boot the hard drive

        remove the iso image
        run the virtual machinee.
        

networking

        systemctl start dhcpcd.service
        systemctl enable dhcpcd.service
        
        ip link -> enp0s3
        cd /etc/netctl/examples
        cp ethernet-dhcp ..
        cd ..
        mv ethernet-dhcp enp0s3-dhcp
        
        edit enp0s3-dhcp
        Description='dhcp internet connection for virtualbox enp0s3'
        Interface=enp0s3
        IP=dhcp
        DHCPClient=dhcpcd
        
        netctl start enp0s3-dhcp
        netctl enable enp0s3-dhcp
        ping -c 3 google.com
        
        reboot and check the internet connection again
        ping -c 3 google.com
        

user craig

        pacman -S zsh
        
        useradd --create-home --shell /usr/bin/zsh craig
        passwd craig
        usermod -a -G wheel craig
        
        Enable vim for visudo
        As root: vim /etc/sudoers -> must :w!
        Near the top add this line
        Defaults  editor=/usr/bin/vim
        
        visudo
        uncomment this line:
        %wheel ALL=(ALL) NOPASSWD: ALL
        

install mate

        pacman -S xorg xorg-server
        pacman -S mate mate-extra
        pacman -S lightdm lightdm-gtk-greeter
        systemctl enable lightdm.service
        

virtualbox guest additions

wiki.archlinux.org/ Install the Guest Additions

        VirtualBox Guest Additions provides drivers and applications that optimize the guest operating system including improved image resolution and better control of the mouse. Within the installed guest system, install:
        
        virtualbox-guest-utils and xf86-video-vmware (FS#61183) for VirtualBox Guest utilities with X support
        
        Both packages will make you choose a package to provide guest modules:
        
        for the default linux kernel choose virtualbox-guest-modules-arch
        

git

        pacman -S git tig
        

yay

        git clone https://aur.archlinux.org/yay.git
        cd yay
        makepkg -si
        

brave browser

        yay brave-bin
        

sudoadmins - Linux Guides youtube How to Enable Neworking in Arch Linux

        ls -1 /etc/systemd/system/multi-user.target.wants/netctl*
        rm /etc/systemd/system/multi-user.target.wants/netctl*
        
        ip link
        ip link show dev enp0s3
        
        systemctl status dhcpcd@enp0s3
        systemctl start dhcpcd@enp0s3
        systemctl enable dhcpcd@enp0s3
        
        pacman -Syyu
        pacman -S alsa-utils
        pacman -S alsa-plugins
          late4r apulse from aur
        pacman -S mate mate-extra
        

wiki.archlinux.org Reflector

Reflector is a script which can retrieve the latest mirror list from the MirrorStatus page, filter the most up-to-date mirrors, sort them by speed and overwrite the file /etc/pacman.d/mirrorlist

wiki.archlinux.org/ Grub

GRUB (GRand Unified Bootloader) is a multi-boot loader. It is derived from PUPA which was a research project to develop the replacement of what is now known as GRUB Legacy. The latter had become too difficult to maintain and GRUB was rewritten from scratch with the aim to provide modularity and portability [1]. The current GRUB is also referred to as GRUB 2 while GRUB Legacy corresponds to versions 0.9x.

fosslinux.com/ How to install MATE Desktop on Arch Linux

wiki.archlinux.org/ Generate the main configuration file

network

wiki.archlinux.org/ Network Configuration - Tips and tricks

youtube videos on install

Piece of Cake youtube Fastest way to setup WIFI connection in Arch Linux

        cd /etc/netctl
        cp examples/wireless-wpa
        

Average Linux User youtube Arch Linux UEFI step-by-step installation guide

        16m 40s - grub
        18m 50s - grub config file
        

Average Linux User Installing Arch Linux in less than 10 minutes

ufoludek youtube [NEW - 2019] Installation Guide - Arch Linux (UEFI & systemd-boot)

eznix youtube Arch Linux Install - EFI UEFI System - Base MetaPackage - LXQt