diff --git a/arch_linux_host_install/readme.md b/arch_linux_host_install/readme.md index d694882..9d3ed31 100644 --- a/arch_linux_host_install/readme.md +++ b/arch_linux_host_install/readme.md @@ -50,10 +50,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, ctrl+k deletes a line in nano
- `nano /etc/pacman.d/mirrorlist` +* choose geographicly close mirror, `dd` deletes entire line in vim
+ `vim /etc/pacman.d/mirrorlist` * install the base system
- `pacstrap /mnt base linux linux-firmware base-devel grub nano` + `pacstrap /mnt base linux linux-firmware base-devel grub vim` * gnerate fstab
`genfstab -U /mnt > /mnt/etc/fstab` * chroot in to the new system
@@ -76,13 +76,13 @@ 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=nano visudo`
+ `EDITOR=vim visudo`
*%wheel ALL=(ALL) ALL* * check the network interface name
`ip link` * set static IP systemd-networkd
- `nano /etc/systemd/network/20-wired.network` + `vim /etc/systemd/network/20-wired.network` ``` [Match] @@ -99,7 +99,7 @@ So if theres boot menu option choose non-uefi. `systemctl enable --now systemd-resolved` * uncomment desidred locales in locale.gen
- `nano /etc/locale.gen`
+ `vim /etc/locale.gen`
* generate new locales and set one system wide
`locale-gen`
`localectl set-locale LANG=en_US.UTF-8` @@ -113,7 +113,7 @@ So if theres boot menu option choose non-uefi. `fallocate -l 8G /swapfile`
`chmod 600 /swapfile`
`mkswap /swapfile`
- `nano /etc/fstab`
+ `vim /etc/fstab`
*/swapfile none swap defaults 0 0* * reboot
`reboot` @@ -129,8 +129,7 @@ From now on its login as non-root user. * install openssh package
`sudo pacman -S openssh` * edit sshd_config
- `sudo nano /etc/ssh/sshd_config`
- *PermitRootLogin prohibit-password*
+ `sudo vim /etc/ssh/sshd_config`
*PasswordAuthentication yes* * enable sshd service
`sudo systemctl enable --now sshd` @@ -149,7 +148,7 @@ it's the fastest zsh framework and out of the box setup nicely ##### Adding stuff to .zshrc -`export EDITOR=nano` +`export EDITOR=vim` for ctrl+f prepending sudo @@ -210,10 +209,10 @@ Monitoring and testing `sudo pacman -S util-linux`
`sudo systemctl enable --now fstrim.timer` * set noatime in fstab to prevent unnecessary keep of read times
- `sudo nano /etc/fstab`
+ `sudo vim /etc/fstab`
*UUID=cdd..addb / ext4 rw,noatime 0 1* * enable use of all cpu cores for makepkg jobs and disable compression
- `sudo nano /etc/makepkg`
+ `sudo vim /etc/makepkg`
*MAKEFLAGS="-j$(nproc)"*
*PKGEXT='.pkg.tar'* * clean up old packages weekly, keep last 3
@@ -226,12 +225,12 @@ Monitoring and testing ### Comfort * enable colors in pacman.conf
- `sudo nano /etc/pacman.conf`
+ `sudo vim /etc/pacman.conf`
*Color* ### Notebook * control power events, lid close for example
- `sudo nano /etc/systemd/logind.conf`
+ `sudo vim /etc/systemd/logind.conf`
*HandleLidSwitch=ignore*