aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-10-06 18:46:57 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-10-06 18:46:57 +0200
commite8c6392ae59509c42a3e48fd9c5a32b472a0b5ef (patch)
treed57fdbd432a22a7bd16c81627d5b00b486a8c104
parentons 5 okt 2022 22:23:55 CEST (diff)
downloadwiki-public-e8c6392ae59509c42a3e48fd9c5a32b472a0b5ef.tar.gz
wiki-public-e8c6392ae59509c42a3e48fd9c5a32b472a0b5ef.tar.xz
tor 6 okt 2022 18:46:57 CEST
-rw-r--r--Virtualization.wiki9
-rw-r--r--aur.wiki15
-rw-r--r--aurbuilder.wiki9
-rw-r--r--index.wiki7
-rw-r--r--lsp.wiki9
-rw-r--r--lvm.wiki12
6 files changed, 45 insertions, 16 deletions
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-<hostname> -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`
+