From eb9114eb99c44fc04f12e4b200fd0ba16875b3bc Mon Sep 17 00:00:00 2001 From: committer Date: Wed, 14 Aug 2024 08:52:27 -0500 Subject: [PATCH] / updated walk-through as i am setting up the tuxwarrior --- README.md | 106 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 66 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 66dfa7c..fec76ba 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,15 @@ ## step one :: usb drive preparation -- download +- download iso - https://archlinux.org/download/ - download signature from main page: - - https://archlinux.org/iso/2024.04.01/archlinux-2024.04.01-x86_64.iso.sig + - (https://archlinux.org/iso/2024.04.01/archlinux-2024.04.01-x86_64.iso.sig) - this is also found on the mirror, but i prefer to use the signature from the main site. - - https://archmirror1.octyl.net/iso/2024.04.01/archlinux-2024.04.01-x86_64.iso.sig - - download iso from mirror - - https://archmirror1.octyl.net/iso/2024.04.01/ - - https://archmirror1.octyl.net/iso/2024.04.01/archlinux-2024.04.01-x86_64.iso + - (https://archmirror1.octyl.net/iso/2024.04.01/archlinux-2024.04.01-x86_64.iso.sig) + - download iso from a mirror close by + - (https://archmirror1.octyl.net/iso/2024.04.01/) + - (https://archmirror1.octyl.net/iso/2024.04.01/archlinux-2024.04.01-x86_64.iso) - verify iso ``` $ gpg --keyserver-options auto-key-retrieve --verify archlinux-2024.04.01-x86_64.iso.sig @@ -32,8 +32,9 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C - `lsblk` (alt: `df`) - ➔ usb = sda - `sudo dd bs=4M if=archlinux-2024.04.01-x86_64.iso of=/dev/sda status=progress oflag=sync` - - error: `dd: failed to open '/dev/sda': Device or resource busy` - - solution: using `gparted`, you can reformat the drive (from fat32) to ext4, then try again + - troubleshooting + - error: `dd: failed to open '/dev/sda': Device or resource busy` + - solution: using `gparted`, you can reformat the drive (from fat32) to ext4, then try again ## step two :: boot the iso @@ -41,19 +42,16 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C - tuxwarrior: `F2` for BIOS - thinkpad: `F12` for boot options (`F1` for BIOS) - select `ArchLinux install medium (x86_64, x64 UEFI)` - - grub error - - `error: you need to load the kernel first` - - `error start_image() returned 0x800000000000001` - - solution - - reinstall iso on usb - - arch iso error - - `squashfs error unable to read` - - solution - - re-install the ISO on another USB device - - arch iso error - - `ip link` gives no wifi - - solution - - re-install the ISO on another USB device + - troubleshooting + - grub error + - `error: you need to load the kernel first` + - `error start_image() returned 0x800000000000001` + - solution + - reinstall iso on usb + - arch iso error + - `squashfs error unable to read` + - solution + - re-install the ISO on another USB device ## step three :: generate config for new hosts @@ -120,7 +118,7 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C - `no` - `reboot` -## step four :: arch install :: software & dots +## step four :: arch install :: software & dot files (dots) - log in as `poq` - `nmtui` (activate internet connection) @@ -131,7 +129,7 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C - `chmod 755 curae_setup.sh` - `sudo ./curae_setup.sh` - `sudo curae yay` (install yay, which is used to install aur packages) -- `sudo curae uf` (full update, install packages, hostname is optional) +- `sudo curae uf` (full update, install packages) - same as running the two commands: - `sudo curae sw` - `sudo curae dots` @@ -139,44 +137,72 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C - `sudo ufw enable` (enable firewall) - `reboot` & re-login - `startx` (start window manager) -- start firefox -- (nextcloud and protonvpn will start automatically, just exit the applications) -- start firefox (`SUP + D` ➔ `firefox`) -- close firefox +- several windows will start, and in the background there will be a window where you are asked to set password for the gnome keyring + - the gnome keyring window will always be in focus, and there is no way to close the other windows while this is happening + - press `escape` to close the gnome window + - close the pCloudDrive, Nextcloud and ProtonVPN windows +- open and close firefox to have firefox's profile directory being created + - start firefox (`SUP + D` ➔ `firefox`) + - close firefox +- open the terminal (`SUP + Enter`) - create local sync folder for nextcloud - local folder must match `$SYNCDIR_HOSTNAME` in `dots/environment/environment` - - t470p: `/home/poq/nextcloud` - - tuxwarrior: `/home/poq/nextcloud` -- open the terminal (`SUP + Enter`) -- `curae sw` (install sw that were not installed first time around - not sure why this is needed) + - t470p: `mkdir /home/poq/nextcloud` + - tuxwarrior: `mkdir /home/poq/nextcloud` +- `curae sw` (install sw that were not installed first time around - not sure why not all sw is installed the first time around) - `curae dots` (the re-run of dots will deploy firefox settings) - `curae services` (enable services) - `reboot` & re-login -- set up nextcloud sync (it should start automatically) -- in nextcloud +- once again, press esc to close the gnome keyring window + - leave the other windows open +- open firefox and log into bitwarden.com + - here you will find the needed usernames, passwords and one time codes for logging into the below mentioned applications +- set up pCloud - log in - - pick local folder (created above), and - - choose to sync everything to the local nextcloud folder - - wait for nextcloud to sync (will take hours, depending on the internet speed) + - the first time login process takes quite a while +- set up protonvpn + - log in (but wait with enabling vpn until nextcloud has completed syncing) +- set up nextcloud + - log in + - server address: `https://nx.mz.fo` + - at this point the gnome keyring manager will pop up again, and ask for a password + - leave both (password and confirm) fields blank, and press continue, and chose to store passwords unencrypted + - _"To use automatic unlocking with automatic login, you can set a blank password for the default keyring. Note that the contents of the keyring are stored unencrypted in this case."_ + - https://wiki.archlinux.org/title/GNOME/Keyring + - pick local folder (created above, like `/home/poq/nextcloud`), and + - choose `Synchronize everything from server` + - and disable the two options `Ask before syncing folders larger than xxx` and `Ask before syncing external storages` + - click `Connect` +- wait for nextcloud to complete syncronisation + - this will take many hours, possibly days, depending on the internet speed + +## step five :: post syncronisation tasks + - `syncDirSetup.sh` (will set up `~/syncDir`) - `mountDownloadsDir.sh` (will mount `~/Downloads` to syncDir's download dir) - `deploySshKeys.sh` (deployment of ssh keys) - `importGnupgKeys.sh` (deployment of gnupgp keys) - `reboot` and re-login -## step five :: post installation tasks +## step six :: final tweaks -- gnome keyring - - _"To use automatic unlocking with automatic login, you can set a blank password for the default keyring. Note that the contents of the keyring are stored unencrypted in this case."_ - - https://wiki.archlinux.org/title/GNOME/Keyring - firefox - install dictionaries for [en-AU](https://addons.mozilla.org/en-US/firefox/addon/english-australian-dictionary/) and [no-NB](https://addons.mozilla.org/en-US/firefox/addon/norsk-bokm%C3%A5l-ordliste/) - singlefile name format: - old: `%if-empty<{page-title}|No title> ({date-locale} {time-locale}).{filename-extension}` - new: `{year-locale}{month-locale}{day-locale}_{url-href-flat}_.{filename-extension}` +- printer + - https://gitlab.com/pqq/pIssues.2/-/issues/254#note_1921407733 +- reaper + - https://gitlab.com/pqq/pIssues.2/-/issues/254#note_1897590421 +- gitkraken + - https://gitlab.com/pqq/pIssues.2/-/issues/254#note_1897590421 + # error solving +- lemur display/login manager does not log you in + - press (Alt-F2) `Alt-F3` to buypass the login screen, so you will get to the tty3 console - `sudo journalctl -b` shows error: - `ACPI Error AE_NOT_FOUND` and `could not resolve symbol _SB.PCI0.XDCI` - solution: