From 70b1876fa3ef282da4cb016332be52809eb85275 Mon Sep 17 00:00:00 2001 From: DoTheEvolution Date: Wed, 17 Feb 2021 23:31:28 +0100 Subject: [PATCH] update --- arch_linux_host_install/readme.md | 32 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/arch_linux_host_install/readme.md b/arch_linux_host_install/readme.md index 39227f5..613e115 100644 --- a/arch_linux_host_install/readme.md +++ b/arch_linux_host_install/readme.md @@ -49,10 +49,10 @@ So if theres boot menu option choose non-uefi. `mkfs.ext4 /dev/sda1` * mount the new partition
`mount /dev/sda1 /mnt` -* choose geographicly close mirror, `dd` deletes entire line in vim
- `vim /etc/pacman.d/mirrorlist` +* choose geographicly close mirror
+ `micro /etc/pacman.d/mirrorlist` * install the base system
- `pacstrap /mnt base linux linux-firmware base-devel grub vim` + `pacstrap /mnt base linux linux-firmware base-devel grub micro` * generate fstab
`genfstab -U /mnt > /mnt/etc/fstab` * chroot in to the new system
@@ -75,14 +75,14 @@ So if theres boot menu option choose non-uefi. `useradd -m -G wheel bastard`
`passwd bastard` * edit sudoers to allow users of the group wheel to sudo
- `EDITOR=vim visudo`
+ `EDITOR=micro visudo`
*%wheel ALL=(ALL) ALL* * check the network interface name
`ip link` * setup networking using systemd-networkd and systemd-resolved
create `20-wired.network` file either in static or dhcp configuration - `vim /etc/systemd/network/20-wired.network` + `micro /etc/systemd/network/20-wired.network` ``` [Match] @@ -114,7 +114,7 @@ So if theres boot menu option choose non-uefi. * `systemctl enable --now systemd-networkd` * uncomment desired locales in locale.gen
- `vim /etc/locale.gen`
+ `micro /etc/locale.gen`
* generate new locales and set one system wide
`locale-gen`
`localectl set-locale LANG=en_US.UTF-8` @@ -128,7 +128,7 @@ So if theres boot menu option choose non-uefi. `dd if=/dev/zero of=/swapfile bs=1M count=8192 status=progress`
`chmod 600 /swapfile`
`mkswap /swapfile`
- `vim /etc/fstab`
+ `micro /etc/fstab`
*/swapfile none swap defaults 0 0* * reboot
`reboot` @@ -144,7 +144,7 @@ From now on its login as non-root user. * install openssh package
`sudo pacman -S openssh` * edit sshd_config
- `sudo vim /etc/ssh/sshd_config`
+ `sudo micro /etc/ssh/sshd_config`
*PasswordAuthentication yes* * enable sshd service
`sudo systemctl enable --now sshd` @@ -176,10 +176,10 @@ it's the fastest zsh framework and set up nicely out of the box ##### Adding stuff to .zshrc -`vim .zshrc` +`micro .zshrc` -* `export EDITOR=vim`
- `export VISUAL=vim` +* `export EDITOR=micro`
+ `export VISUAL=micro` * for ctrl+f prepending sudo @@ -224,7 +224,7 @@ Using [Yay](https://github.com/Jguer/yay). Tools -* `sudo pacman -S fuse curl wget vim nnn bind-tools borg python-llfuse` +* `sudo pacman -S fuse curl wget micro nnn bind-tools borg python-llfuse` Monitoring and testing @@ -239,10 +239,10 @@ Monitoring and testing `sudo pacman -S util-linux`
`sudo systemctl enable --now fstrim.timer` * set noatime in fstab to prevent unnecessary tracking of read times
- `sudo vim /etc/fstab`
+ `sudo micro /etc/fstab`
*UUID=cdd..addb / ext4 rw,noatime 0 1* * enable use of all cpu cores for makepkg jobs and disable compression
- `sudo vim /etc/makepkg.conf`
+ `sudo micro /etc/makepkg.conf`
*MAKEFLAGS="-j$(nproc)"*
*PKGEXT='.pkg.tar'* * clean up old packages weekly, keep last 3
@@ -255,7 +255,7 @@ Monitoring and testing ### Comfort * enable colors in pacman.conf
- `sudo vim /etc/pacman.conf`
+ `sudo micro /etc/pacman.conf`
*Color* ### Notebook @@ -263,7 +263,7 @@ Monitoring and testing Lid closed should not make the machine go to sleep. * Set lid handle switch to ignore in systemd logind.conf
- `sudo vim /etc/systemd/logind.conf`
+ `sudo micro /etc/systemd/logind.conf`
*HandleLidSwitch=ignore* **But this alone leaves the screen running nonstop.**