Skip to content

Instantly share code, notes, and snippets.

@Wurzelmann
Wurzelmann / Ganet_Xen_install.md
Last active January 19, 2021 12:55 — forked from valentin2105/Ganet_Xen_install.md
Install Xen and Ganeti on a Debian server

HOW-TO Install Ganeti/Xen/DRBD ?

You need a Volum Group on your server (LVM) named "vgganeti" for store VMs.
apt-get update && apt-get dist-upgrade
apt-get install git vim aptitude sudo htop screen curl openssh-server locales
apt-get -y install xen-linux-system xen-tools
dpkg-divert --divert /etc/grub.d/08_linux_xen --rename /etc/grub.d/20_linux_xen
sed -i '/TOOLSTACK/s/=.*/=xl/' /etc/default/xen
echo 'GRUB_CMDLINE_XEN_DEFAULT="dom0_mem=1024M,max:1024M \
  dom0_max_vcpus=1 dom0_vcpus_pin"' > /etc/default/grub
@Wurzelmann
Wurzelmann / hv_xen.py
Created February 1, 2021 17:28
fix for ganeti xen instance migration
--- hv_xen.py 2021-02-01 18:04:47.850790870 +0100
+++ hv_xen.py 2021-02-01 18:07:58.119056797 +0100
@@ -799,7 +799,9 @@
try:
file_content = utils.ReadFile(filename)
except EnvironmentError as err:
- raise errors.HypervisorError("Failed to load Xen config file: %s" % err)
+ ## temporarily fix xen migration with missing config
+ file_content = ""
+ #raise errors.HypervisorError("Failed to load Xen config file: %s" % err)
@Wurzelmann
Wurzelmann / overleaf_no_docker.md
Last active October 31, 2024 19:21
overleaf without docker (Debian 12.6)

Installing Overleaf (Sharelatex) without Docker (2024-07-30)

Tested on Debian 12.6 I started with another guide (https://gist.github.com/gelim/a840a99d15cb765cb7b65105b72f00c4), but quickly realized, I wanted to go another route (no runit for example)

Following this guide, it is possible to deploy Overleaf without Docker, but there are no guarantuees it will work nor is there any support for this method by the great folds of Overleaf. This procedure was tested by me on various machines and I did not find any problems with it, all services are running,

@Wurzelmann
Wurzelmann / signal-proxy_without_docker.md
Last active October 29, 2024 17:57
Signal-TLS-Proxy without Docker