Beruflich Dokumente
Kultur Dokumente
Post Install
- localectl set-locale LANG="en_US.UTF-8" -> some apps won't run without this
especially gnome
- free -m / we see that swap is not on
- mkswap /dev/mapper/volgroup0/lv_swap -> you'll get swap uuid
- nano /etc/fstab and add uuid none swap defaults 0 0
if you use ssd, add discard, to your values after uuid in fstab
systemctl enable fstrim.timer -> use this option instead of discard in fstab
_____________________________________________________________
Linux Filesystem
- root directory /
- bin -> binary, executable programs and commands which can be used by all users on
system
- opt -> optional, software that is not by default installed, ie chrome goes here
- home -> users directory
- tmp -> temporary, temporary files which are often changed or deleted
- var -> variables, variable data, data that changes over time
_____________________________________________________________
Video 1: Introduction
Video 2: Starting the Installation
For anyone else following this who also uses a Lenovo laptop, in order to get wifi
working you need to:
echo "blacklist ideapad_laptop" >> /etc/modprobe.d/ideapad.conf
rfkill unblock all
nano /etc/resolv.conf
and change the DNS to either your DNS or a public DNS
Video 3: Partitioning
- fdisk -l
- fdisk /dev/sda
- m -> shows commands
- you can create gpt or dos partition table
- o -> creates a dos partition table
- n, p, 1, en, +30G -> a, -> make bootable -> root partition
- n, p, 2, en, en -> second partition for files
- w -> write, fdisk -l -> you'll see those new partition
- mkfs.ext4 /dev/sda1
- mkfs.ext4 /dev/sda2
Video 4: Pacstrap
Video 5: arch-chroot
- arch-chroot /mnt
- pacman -S openssh grub-bios linux-headers linux-lts linux-lts-headers
- pacman -S dialog network-manager-applet networkmanager networkmanager-openvpn
wireless_tools wpa_supplicant wpa_actiond
- mkinitcpio -p linux -> configuring the linux kernel, configure also the linux-lts
- log in as root
- ip a -> you don't have ip address
- systemctl start NetworkManager ->starting network services
- ip -a -> you should have ip address
- systemctl enable NetworkManager
- useradd -m jay -> -m tells it to create home directory
- passwd jay -> change the password for users
- in mate terminal
- su root
- pacman -S firefox
Video 9: Sudo
- visudo -> opens the sudoers file, config file for sudo users
- uncomment %wheel ALL=(ALL) ALL -> so everybody can use sudo, or you can
add your usersname under root ALL(ALL) ALL :wq
- usermod -aG wheel jay