From e8c6392ae59509c42a3e48fd9c5a32b472a0b5ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 6 Oct 2022 18:46:57 +0200 Subject: tor 6 okt 2022 18:46:57 CEST --- Virtualization.wiki | 9 +++++++++ aur.wiki | 15 +++++++++------ aurbuilder.wiki | 9 --------- index.wiki | 7 ++++++- lsp.wiki | 9 +++++++++ lvm.wiki | 12 ++++++++++++ 6 files changed, 45 insertions(+), 16 deletions(-) create mode 100644 Virtualization.wiki delete mode 100644 aurbuilder.wiki create mode 100644 lsp.wiki diff --git a/Virtualization.wiki b/Virtualization.wiki new file mode 100644 index 0000000..83179e4 --- /dev/null +++ b/Virtualization.wiki @@ -0,0 +1,9 @@ += Virtualiserade miljöer = + +systemctl start libvirtd +sudo virsh list +virt-manager + +GRUB will fail to install, instead, set up [[https://qemu.readthedocs.io/en/latest/system/linuxboot.html|Direct Linux Boot]]. + +- apt install qemu-guest-agent spice-vdagent diff --git a/aur.wiki b/aur.wiki index 8f7c54f..85662bf 100644 --- a/aur.wiki +++ b/aur.wiki @@ -1,11 +1,14 @@ -https://wiki.archlinux.org/index.php/AUR_submission_guidelines += Arch Packaging Guide = -ssh://aur@aur.archlinux.org/PKGNAME.git +Information about how to package stuff for the Arch User Repository (AUR). -fetch or clone to init repo +https://wiki.archlinux.org/index.php/AUR_submission_guidelines -updpkgsums +== Create AUR entry == +A git Fetch or Clone at ssh://aur@aur.archlinux.org/PKGNAME.git will +create the package. -https://wiki.archlinux.org/index.php/.SRCINFO -makepkg --printsrcinfo > .SRCINFO +== Before Commiting == +`updpkgsums` :: Updates all checksums in `PKGBUILD` in current directory +`makepkg --printsrcinfo > .SRCINFO` :: Update source metadata, see https://wiki.archlinux.org/index.php/.SRCINFO diff --git a/aurbuilder.wiki b/aurbuilder.wiki deleted file mode 100644 index 73d5a19..0000000 --- a/aurbuilder.wiki +++ /dev/null @@ -1,9 +0,0 @@ -= Aurbuilder = - -Aurweb contains API for package info - -https://gitlab.archlinux.org/archlinux/aurweb/-/blob/master/doc/rpc.txt - -https://gitlab.archlinux.org/archlinux/aurweb - -file:///home/hugo/down/aurweb diff --git a/index.wiki b/index.wiki index ec8c65e..d346e9d 100644 --- a/index.wiki +++ b/index.wiki @@ -32,6 +32,8 @@ - [[emacs]] - [[ffmpeg]] - [[ansible]] +- [[lsp]] +- [[Virtualization]] == Projekt == - [[GitServer]] @@ -73,7 +75,6 @@ - [[Pikmin 3]] - [[rv290]] - [[aur]] -- [[aurbuilder]] - [[debian-pkg]] ----- - Pedalmontering - [[test]] @@ -119,6 +120,10 @@ - [ ] https://www.offismart.se/product/kaffemjolk-arla-15-2cl-100-fp = Generated Tags = +== TODO == + - [[GitServer#Git Server#Autentisering#Autentisering SSH#Problem]] + - [[GitServer#Taggning#Cleanup]] + == tidle == - [[Media#tidle]] diff --git a/lsp.wiki b/lsp.wiki new file mode 100644 index 0000000..92651a8 --- /dev/null +++ b/lsp.wiki @@ -0,0 +1,9 @@ += Languages = +== Haskell == +- arch package haskell-language-server + += Editors = +== Vim == +- https://github.com/prabirshrestha/vim-lsp +- https://github.com/dense-analysis/ale + - [[help:ale-haskell-options]] diff --git a/lvm.wiki b/lvm.wiki index 8e408b1..7256573 100644 --- a/lvm.wiki +++ b/lvm.wiki @@ -1,3 +1,5 @@ += Logical Volume Manager = + pvs :: physical volumes lvs :: logical volumes vgs :: volume groups @@ -6,3 +8,13 @@ vgs :: volume groups lvcreate -n vm- -V 100G --thinpool lvpoolData VolGroup Se även [[wn.private:adrift_space]] + + WARNING: Sum of all thin volume sizes (500.00 GiB) exceeds the size of thin pool VolGroup/lvpoolData and the amount of free space in volume group (188.78 GiB). + WARNING: You have not turned on protection against thin pools running out of space. + WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full. + Logical volume "vm-mintkrokant" created. + + +- `qemu-system-x86_64 -enable-kvm -m "2048" -usbdevice tablet -drive file=/dev/VolGroup/vm-mintkrokant,if=virtio,format=raw -drive file=/usr/net/os/linuxmint-20.3-cinnamon-64bit.iso,media=cdrom -boot d` +- `qemu-system-x86_64 -enable-kvm -m "2048" -usbdevice tablet -drive file=/dev/VolGroup/vm-mintkrokant,if=virtio,format=raw` + -- cgit v1.2.3