aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-14 14:30:00 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-14 14:30:00 +0200
commit0647bc0b7aee7d2a6bb84f748316e12683373ba8 (patch)
treec627d29ea361b0417b40eb9f9c41e0a52aeb03a1
parentons 25 maj 2022 02:32:00 CEST (diff)
downloadwiki-public-0647bc0b7aee7d2a6bb84f748316e12683373ba8.tar.gz
wiki-public-0647bc0b7aee7d2a6bb84f748316e12683373ba8.tar.xz
tis 14 jun 2022 14:30:00 CEST
-rw-r--r--Media.wiki1
-rw-r--r--deb.wiki22
-rw-r--r--index.wiki2
-rw-r--r--lvm.wiki8
-rw-r--r--nspawn.wiki17
-rw-r--r--php.wiki5
6 files changed, 55 insertions, 0 deletions
diff --git a/Media.wiki b/Media.wiki
index e78a17e..cb0f6e0 100644
--- a/Media.wiki
+++ b/Media.wiki
@@ -24,6 +24,7 @@ Teolog
- [ ] On looking: eleven walks with export eyes https://www.amazon.co.uk/Looking-Eleven-Walks-Expert-Eyes/dp/1439191255
- [ ] The Foundation Trilogy av Isaav Asimov
- [ ] Processen - Kafka
+- [ ] The Time Travaler's Wife
== Böcker (fackliga) ==
- [ ] "List Processing in Real Time on a Serial Computer" by Henry Baker
diff --git a/deb.wiki b/deb.wiki
index 646dd74..e413bb8 100644
--- a/deb.wiki
+++ b/deb.wiki
@@ -1,3 +1,5 @@
+See also [[debian-pkg]]
+
All commands assume (unless otherwise noted) that PWD is the source
dir of the upstream code, and that there is a `debian` repo in that
directory.
@@ -144,6 +146,7 @@ Paivyt6IdDM9P9VNcUwSPx2JjgMha6YBudp0XGBntHuXnAMalCuvlgBSQ86ldf9M
git-dch
== Reprepro ==
+Cutom repo
=== Deb ===
{{{sh
@@ -176,3 +179,22 @@ Se till att devscripts är installerat
- apt source <pkgname>
- cd <pkgname>-version
- debuild
+
+
+== licensecheck ==
+Possibly checks the debian/copyright file
+
+
+== Other files ==
+https://www.debian.org/doc/manuals/maint-guide/dother.en.html#install
+
+== All lintian errors ==
+https://lintian.debian.org/tags
+
+== No signing ==
+{{{
+debuild -u -uc
+}}}
+builds without signing
+
+
diff --git a/index.wiki b/index.wiki
index e8ef83c..c146c9c 100644
--- a/index.wiki
+++ b/index.wiki
@@ -21,6 +21,8 @@
- [[sudo]]
- [[yum]]
- [[nspawn]]
+- [[lvm]]
+- [[php]]
- [[framebuffer]]
== Projekt ==
diff --git a/lvm.wiki b/lvm.wiki
new file mode 100644
index 0000000..8e408b1
--- /dev/null
+++ b/lvm.wiki
@@ -0,0 +1,8 @@
+pvs :: physical volumes
+lvs :: logical volumes
+vgs :: volume groups
+
+== Create Thin Volume ==
+lvcreate -n vm-<hostname> -V 100G --thinpool lvpoolData VolGroup
+
+Se även [[wn.private:adrift_space]]
diff --git a/nspawn.wiki b/nspawn.wiki
index 9a9994c..2850562 100644
--- a/nspawn.wiki
+++ b/nspawn.wiki
@@ -1,8 +1,25 @@
+== Debian ==
+
+=== Create new debian container ===
+
{{{
debootstrap bullseye /var/lib/machines/debian-bullseye.base
+}}}
+
+https://puppet.com/docs/puppet/7/install_puppet.html#install_puppet
+
+== Copy existing container ==
+
+{{{
systemctl-nspawn --template=EXISTING_OS_TREE -D /var/lib/machines/NEW_MACHINE
}}}
+== Setting up container ==
+
+== Food for thought ==
+
overlayfs doesn't work with containers, due to something with UID/GID shift
btrfs subvolumes should be used for templates, since those enable COW.
+
+
diff --git a/php.wiki b/php.wiki
new file mode 100644
index 0000000..4dc5b08
--- /dev/null
+++ b/php.wiki
@@ -0,0 +1,5 @@
+Run a local webserver for testing PHP sites
+
+{{{
+php -S [::]:8000
+}}}