WikiJS/test_transfer_odt_3.html

1698 lines
97 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--
title: transfer proxmox - HTML
description:
published: 1
date: 2024-02-01T19:12:40.656Z
tags:
editor: code
dateCreated: 2024-01-31T22:01:49.467Z
-->
<h1>Title</h1>
<p>Some text here</p>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title></title>
<meta name="generator" content="LibreOffice 7.3.7.2 (Linux)"/>
<meta name="created" content="2023-12-24T12:14:47.464627963"/>
<meta name="changed" content="2024-02-01T19:05:48.853241122"/>
<style type="text/css">
@page { size: 8.27in 11.69in; margin: 0.79in }
p { line-height: 115%; margin-bottom: 0.1in; background: transparent }
h1 { margin-bottom: 0.08in; background: transparent; page-break-after: avoid }
h1.western { font-family: "Liberation Sans", sans-serif; font-size: 18pt; font-weight: bold }
h1.cjk { font-family: "Noto Sans CJK SC"; font-size: 18pt; font-weight: bold }
h1.ctl { font-family: "Lohit Devanagari"; font-size: 18pt; font-weight: bold }
h2 { margin-top: 0.14in; margin-bottom: 0.08in; background: transparent; page-break-after: avoid }
h2.western { font-family: "Liberation Serif", serif; font-size: 18pt; font-weight: bold }
h2.cjk { font-family: "Noto Serif CJK SC"; font-size: 18pt; font-weight: bold }
h2.ctl { font-family: "Lohit Devanagari"; font-size: 18pt; font-weight: bold }
pre { background: transparent }
pre.western { font-family: "Liberation Mono", monospace; font-size: 10pt }
pre.cjk { font-family: "Noto Sans Mono CJK SC", monospace; font-size: 10pt }
pre.ctl { font-family: "Liberation Mono", monospace; font-size: 10pt }
h3 { margin-top: 0.1in; margin-bottom: 0.08in; background: transparent; page-break-after: avoid }
h3.western { font-family: "Liberation Sans", sans-serif; font-size: 14pt; font-weight: bold }
h3.cjk { font-family: "Noto Sans CJK SC"; font-size: 14pt; font-weight: bold }
h3.ctl { font-family: "Lohit Devanagari"; font-size: 14pt; font-weight: bold }
a:link { color: #000080; text-decoration: underline }
code.western { font-family: "Liberation Mono", monospace }
code.cjk { font-family: "Noto Sans Mono CJK SC", monospace }
code.ctl { font-family: "Liberation Mono", monospace }
a:visited { color: #800000; text-decoration: underline }
</style>
</head>
<body lang="en-US" link="#000080" vlink="#800000" dir="ltr"><p style="line-height: 100%; margin-bottom: 0in">
<br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Proxmox</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://github.com/tteck/Proxmox?tab=readme-ov-file">https://github.com/tteck/Proxmox?tab=readme-ov-file</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Pve login? root,
borabora</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Proxmox:
https://192.168.178.111:8006/, root, borabora, <a href="mailto:boraers@gmail.com">boraers@gmail.com</a>,
xy.proxmoxBE.lan</p>
<p style="line-height: 100%; margin-bottom: 0in">portainer:
http://192.168.178.23:9000/, admin, boraborabora</p>
<p style="line-height: 100%; margin-bottom: 0in">Unraid server:
http://192.168.178.23:8080/, Bora, bora90bora</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Ubuntu upgrade to
the latest version</p>
<p style="line-height: 100%; margin-bottom: 0in">sudo
do-release-upgrade</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">figure out IP
address of VM/container:</p>
<p style="line-height: 100%; margin-bottom: 0in">lxc-info -n 111</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h1 class="western">avoid suspending after closing laptop lid</h1>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://www.reddit.com/r/Proxmox/comments/kxdjrc/i_am_running_proxmox_on_a_thinkpad_laptop_how_can/">https://www.reddit.com/r/Proxmox/comments/kxdjrc/i_am_running_proxmox_on_a_thinkpad_laptop_how_can/</a></p>
<p style="line-height: 100%; margin-bottom: 0in">Im doing this
from memory, so google will help you verify, but theres an option
in /etc/systemd/logind.conf that should help. Uncomment the line
about HandleLidSwitch=suspend and change suspend to ignore. Save and
close that and restart systemd-logind and you should be in business.</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt; nano
/etc/systemd/logind.conf</p>
<p style="line-height: 100%; margin-bottom: 0in">Uncomment the line
about HandleLidSwitch=suspend and change suspend to ignore</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;systemctl
restart systemd-logind</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h1 class="western">Nextcloud</h1>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://www.wundertech.net/install-nextcloud-on-proxmox/">https://www.wundertech.net/install-nextcloud-on-proxmox/</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">in console of LXC
container: pct enter 100</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt; root &gt;&gt;
borabora</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">apt update &amp;&amp;
apt upgrade -y</p>
<p style="line-height: 100%; margin-bottom: 0in">apt install curl -y</p>
<p style="line-height: 100%; margin-bottom: 0in">curl -sSL
https://get.docker.com/ | sh</p>
<p style="line-height: 100%; margin-bottom: 0in">docker run --restart
always -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock
-v portainer_data:/data portainer/portainer-ce</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">figure out IP
address: ip addr &gt;&gt; eth0@if12</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;
http://[CONTAINER_IP]:9000</p>
<p style="line-height: 100%; margin-bottom: 0in">http://<span style="background: #ffff00">192.168.178.23</span>:9000</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><b>in portainer:</b></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">version: '2'</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">services:</p>
<p style="line-height: 100%; margin-bottom: 0in"> db:</p>
<p style="line-height: 100%; margin-bottom: 0in"> image:
mariadb:10.5</p>
<p style="line-height: 100%; margin-bottom: 0in"> restart: always</p>
<p style="line-height: 100%; margin-bottom: 0in"> command:
--transaction-isolation=READ-COMMITTED --binlog-format=ROW</p>
<p style="line-height: 100%; margin-bottom: 0in"> volumes:</p>
<p style="line-height: 100%; margin-bottom: 0in"> -
/var/lib/docker/volumes/Nextcloud_Database:/var/lib/mysql</p>
<p style="line-height: 100%; margin-bottom: 0in"> environment:</p>
<p style="line-height: 100%; margin-bottom: 0in"> -
MYSQL_ROOT_PASSWORD=<span style="background: #ffff00">password</span></p>
<p style="line-height: 100%; margin-bottom: 0in"> -
MYSQL_PASSWORD=<span style="background: #ffff00">password</span></p>
<p style="line-height: 100%; margin-bottom: 0in"> -
MYSQL_DATABASE=nextcloud</p>
<p style="line-height: 100%; margin-bottom: 0in"> -
MYSQL_USER=nextcloud</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"> app:</p>
<p style="line-height: 100%; margin-bottom: 0in"> image: nextcloud</p>
<p style="line-height: 100%; margin-bottom: 0in"> restart: always</p>
<p style="line-height: 100%; margin-bottom: 0in"> ports:</p>
<p style="line-height: 100%; margin-bottom: 0in"> - 8080:80</p>
<p style="line-height: 100%; margin-bottom: 0in"> links:</p>
<p style="line-height: 100%; margin-bottom: 0in"> - db</p>
<p style="line-height: 100%; margin-bottom: 0in"> volumes:</p>
<p style="line-height: 100%; margin-bottom: 0in"> -
/var/lib/docker/volumes/Nextcloud_Application:/var/www/html</p>
<p style="line-height: 100%; margin-bottom: 0in"> environment:</p>
<p style="line-height: 100%; margin-bottom: 0in"> -
MYSQL_PASSWORD=<span style="background: #ffff00">password</span></p>
<p style="line-height: 100%; margin-bottom: 0in"> -
MYSQL_DATABASE=nextcloud</p>
<p style="line-height: 100%; margin-bottom: 0in"> -
MYSQL_USER=nextcloud</p>
<p style="line-height: 100%; margin-bottom: 0in"> -
MYSQL_HOST=db</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h1 class="western">Homeassistant VM</h1>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://community.home-assistant.io/t/home-assistant-os-haos-with-proxmox-ve-8-0-install-guide/584972">https://community.home-assistant.io/t/home-assistant-os-haos-with-proxmox-ve-8-0-install-guide/584972</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://www.derekseaman.com/2023/10/home-assistant-proxmox-ve-8-0-quick-start-guide-2.html">https://www.derekseaman.com/2023/10/home-assistant-proxmox-ve-8-0-quick-start-guide-2.html</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">bash -c &quot;$(wget
-qLO -
https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh)&quot;</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">bash -c &quot;$(wget
-qLO - https://github.com/tteck/Proxmox/raw/main/vm/haos-vm.sh)&quot;</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">http://192.168.178.43:8123</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Test, bora</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">samba share:
homeassistant, sharemyHA, WORKGROUP</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="smb://192.168.178.43/">smb://</a><a href="smb://192.168.178.43/">1</a><a href="smb://192.168.178.43/">92.168.178.43</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">network storage on
fritz.nas</p>
<p style="line-height: 100%; margin-bottom: 0in">Name: fritzbox</p>
<p style="line-height: 100%; margin-bottom: 0in">Server: fritz.nas</p>
<p style="line-height: 100%; margin-bottom: 0in">Remote Share:
fritz.nas/USB-SanDisk3-2Gen1-01/Data</p>
<p style="line-height: 100%; margin-bottom: 0in">Username: see
Keepass</p>
<p style="line-height: 100%; margin-bottom: 0in">Password:
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">configure static IP
address:</p>
<p style="line-height: 100%; margin-bottom: 0in">in HA:
192.168.178.43/24, 192.168.178.1, 192.168.178.1</p>
<p style="line-height: 100%; margin-bottom: 0in">in Fritzbox:
192.168.178.43</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">deConz: ConbeeIII,
testtest</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="smb://fritz.nas/">smb://fritz.nas</a></p>
<p style="line-height: 100%; margin-bottom: 0in">homeassistant, ***,
WORKGROUP</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h1 class="western">MQTT Broker</h1>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://smarthomescene.com/guides/how-to-separate-zigbee2mqtt-from-home-assistant-in-proxmox/">https://smarthomescene.com/guides/how-to-separate-zigbee2mqtt-from-home-assistant-in-proxmox/</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">bash -c &quot;$(wget
-qLO - https://github.com/tteck/Proxmox/raw/main/ct/mqtt.sh)&quot;</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">http://192.168.178.80:1883</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">sudo
mosquitto_passwd -c /etc/mosquitto/passwd <span style="background: #ffff00">root</span></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">password: mqtt4bora</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">sudo nano
/etc/mosquitto/conf.d/default.conf</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">sudo systemctl
restart mosquitto</p>
<p style="line-height: 100%; margin-bottom: 0in">sudo
/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><b>do not forget:</b></p>
<p style="line-height: 100%; margin-bottom: 0in">chown
mosquitto:mosquitto /etc/mosquitto/passwd</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">chown root
/etc/mosquitto/passwd</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">topic_pub =
f&quot;homeassistant/sensor/node_{node.nodeNumber}/state&quot;</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">add new user:</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://stackoverflow.com/questions/41396710/adding-users-in-mqtt-broker">https://stackoverflow.com/questions/41396710/adding-users-in-mqtt-broker</a></p>
<p style="line-height: 100%; margin-bottom: 0in">sudo
mosquitto_passwd -c /etc/mosquitto/passwd note4</p>
<p style="line-height: 100%; margin-bottom: 0in">note4</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><b>attention</b>:
when migrating HAOS, the user/pswd of mqtt must be identical for
correct operation of Tasmota, Shelly and Mycropython devices</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h2 class="western">Wiki.js LXC</h2>
<p style="line-height: 100%; margin-bottom: 0in">https://tteck.github.io/Proxmox/</p>
<p style="line-height: 100%; margin-bottom: 0in">http://192.168.178.26:3000/,
borabora, <a href="mailto:boraers@gmail.com">boraers@gmail.com</a></p>
<p style="line-height: 100%; margin-bottom: 0in">https://wiki.mywiki.com</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">diagrams can be
created by inserting “diagram” from the left panel on Markdown
pages</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h3 class="western">Backing up all pages on github</h3>
<p style="line-height: 100%; margin-bottom: 0in">how to access the
file system of a proxmox container?</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://www.reddit.com/r/Proxmox/comments/fap1wx/beginner_question_where_are_container_filesystems/">https://www.reddit.com/r/Proxmox/comments/fap1wx/beginner_question_where_are_container_filesystems/</a></p>
<p style="line-height: 100%; margin-bottom: 0in">find / -size +500M
-ls</p>
<p style="line-height: 100%; margin-bottom: 0in">/var/lib/lxc/103/rootfs/</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">lvdisplay</p>
<p style="line-height: 100%; margin-bottom: 0in">/dev/pve/vm-103-disk-0</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><span style="background: #81d41a">using
github:</span></p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://docs.requarks.io/storage/git"><span style="background: #81d41a">https://docs.requarks.io/storage/git</span></a></p>
<p style="line-height: 100%; margin-bottom: 0in">ssh-keygen -t rsa -b
4096</p>
<p style="line-height: 100%; margin-bottom: 0in">/root/.ssh/id_rsa</p>
<p style="line-height: 100%; margin-bottom: 0in">Your identification
has been saved in /root/.ssh/id_rsa</p>
<p style="line-height: 100%; margin-bottom: 0in">Your public key has
been saved in /root/.ssh/id_rsa.pub</p>
<p style="line-height: 100%; margin-bottom: 0in">The key fingerprint
is:</p>
<p style="line-height: 100%; margin-bottom: 0in">SHA256:JmrdPXntGuqgopWrbAquqhZIGuy5rdo2vGLr/BHm3k4
root@wikijs</p>
<p style="line-height: 100%; margin-bottom: 0in">The key's randomart
image is:</p>
<p style="line-height: 100%; margin-bottom: 0in">+---[RSA 4096]----+</p>
<p style="line-height: 100%; margin-bottom: 0in">| |</p>
<p style="line-height: 100%; margin-bottom: 0in">| |</p>
<p style="line-height: 100%; margin-bottom: 0in">|. |</p>
<p style="line-height: 100%; margin-bottom: 0in">|.o |</p>
<p style="line-height: 100%; margin-bottom: 0in">|=..o . S |</p>
<p style="line-height: 100%; margin-bottom: 0in">|o+o .+ + . . . |</p>
<p style="line-height: 100%; margin-bottom: 0in">|..+o=E. o + o . |</p>
<p style="line-height: 100%; margin-bottom: 0in">|=**+=. . . + o |</p>
<p style="line-height: 100%; margin-bottom: 0in">|#@XBo+. .o ... |</p>
<p style="line-height: 100%; margin-bottom: 0in">+----[SHA256]-----+</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;nano
/root/.ssh/id_rsa.pub</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://unix.stackexchange.com/questions/122795/long-line-wrapping-in-nano">https://unix.stackexchange.com/questions/122795/long-line-wrapping-in-nano</a></p>
<p style="line-height: 100%; margin-bottom: 0in">!!complicated copy
procedure: esc → shift+4 → mar everything with mouse → Alt+6 or
right mouse!!</p>
<p style="line-height: 100%; margin-bottom: 0in">ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAACAQCy/UxBIoWGzWnRmHnLn89TwruJ3srW3ZeYPdUta5+Mv4l78IJsT+qIxyevQTH08kSktCz+J1M4aJSOXEpLdZmiy92kV5auFASNGbkwVKT9rV1+JihxZS14v3bcggOm8qfZZLDa/Wk54pcEvJOOuuZyjZpULAiaXtOUtIptd6Dt2jOHVnfuFRmqcNDokTJe6x/CCLcifcBb6W8GS2RbIORk/U4LMxqe+aXjdKwd6d3ksGq+nCzkRLgQ18h8ZnFrdFaq12ApP6xVmsZgM4aydWj7Y73j5Me0vJD1QltQGjb5sDOXJ3C3ZI8Oxnmaj+UWbwGXWEm5JlSuqqIdAjQCf8yWtfdQnxLtKa0zAtjt4YblD/l1zaOWg4+DxShMQ5qRPg3uHRxW0XBmGR7GTtjloFg6It4IUym+0g33JLlsQITVj9t5XAUFP6o5oTaFwvRT+wkUM/J4B4xkdeR9mha7Sxf8HjVThfrOBadqco37MuLRIGe76jQfglrn5w3AxyFFC4spd5CuFjdq+8vjxYYMnDorSSA5lHVpzswkd6UhJHgHD1L3lFEOkEK88k6D0nGMnj/S3N9ybdKWgaAy4vBYFj1FaAzsdh7p6trnSY9O+vPdA6lmZbFg89UDkmqnyu0mKUa/BSz5YtuqUNSqFRigmz6abq4fQ8fycmzLbaQsuCqJ3Q==
root@wikijs</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">TARGET CONFIGURATION</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Authentication Type</p>
<p style="line-height: 100%; margin-bottom: 0in">ssh</p>
<p style="line-height: 100%; margin-bottom: 0in">Use SSH for maximum
security.</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Repository URI</p>
<p style="line-height: 100%; margin-bottom: 0in">git@github.com:BoraEr90/WikiJS.git</p>
<p style="line-height: 100%; margin-bottom: 0in">Git-compliant URI
(e.g. git@github.com:org/repo.git for ssh,
https://github.com/org/repo.git for basic)</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Branch</p>
<p style="line-height: 100%; margin-bottom: 0in">main</p>
<p style="line-height: 100%; margin-bottom: 0in">The branch to use
during pull / push</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">SSH Private Key Mode</p>
<p style="line-height: 100%; margin-bottom: 0in">path</p>
<p style="line-height: 100%; margin-bottom: 0in">SSH Authentication
Only - The mode to use to load the private key. Fill in the
corresponding field below.</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">A - SSH Private Key
Path</p>
<p style="line-height: 100%; margin-bottom: 0in">/root/.ssh/id_rsa</p>
<p style="line-height: 100%; margin-bottom: 0in">SSH Authentication
Only - Absolute path to the key. The key must NOT be
passphrase-protected. Mode must be set to path to use this option.</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">B - SSH Private Key
Contents</p>
<p style="line-height: 100%; margin-bottom: 0in">SSH Authentication
Only - Paste the contents of the private key. The key must NOT be
passphrase-protected. Mode must be set to contents to use this
option.</p>
<p style="line-height: 100%; margin-bottom: 0in">Some hosts requires
SSL certificate checking to be disabled. Leave enabled for proper
security.</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Username</p>
<p style="line-height: 100%; margin-bottom: 0in">Basic Authentication
Only</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Password / PAT</p>
<p style="line-height: 100%; margin-bottom: 0in">Basic Authentication
Only</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Default Author Email</p>
<p style="line-height: 100%; margin-bottom: 0in">boraers@gmail.com</p>
<p style="line-height: 100%; margin-bottom: 0in">Used as fallback in
case the author of the change is not present.</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Default Author Name</p>
<p style="line-height: 100%; margin-bottom: 0in">BoraEr90</p>
<p style="line-height: 100%; margin-bottom: 0in">Used as fallback in
case the author of the change is not present.</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Local Repository
Path</p>
<p style="line-height: 100%; margin-bottom: 0in">/root/repo</p>
<p style="line-height: 100%; margin-bottom: 0in">Path where the local
git repository will be created.</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Git Binary Path</p>
<p style="line-height: 100%; margin-bottom: 0in">Optional - Absolute
path to the Git binary, when not available in PATH. Leave empty to
use the default PATH location (recommended).</p>
<p style="line-height: 100%; margin-bottom: 0in">SYNC DIRECTION</p>
<p style="line-height: 100%; margin-bottom: 0in">Choose how content
synchronization is handled for this storage target.</p>
<p style="line-height: 100%; margin-bottom: 0in">Bi-directional</p>
<p style="line-height: 100%; margin-bottom: 0in">In bi-directional
mode, content is first pulled from the storage target. Any newer
content overwrites local content. New content since last sync is then
pushed to the storage target, overwriting any content on target if
present.</p>
<p style="line-height: 100%; margin-bottom: 0in">Push to target</p>
<p style="line-height: 100%; margin-bottom: 0in">Content is always
pushed to the storage target, overwriting any existing content. This
is safest choice for backup scenarios.</p>
<p style="line-height: 100%; margin-bottom: 0in">Pull from target</p>
<p style="line-height: 100%; margin-bottom: 0in">Content is always
pulled from the storage target, overwriting any local content which
already exists. This choice is usually reserved for single-use
content import. Caution with this option as any local content will
always be overwritten!</p>
<p style="line-height: 100%; margin-bottom: 0in">SYNC SCHEDULE</p>
<p style="line-height: 100%; margin-bottom: 0in">For performance
reasons, this storage target synchronize changes on an interval-based
schedule, instead of on every change. Define at which interval should
the synchronization occur.</p>
<p style="line-height: 100%; margin-bottom: 0in">Every</p>
<p style="line-height: 100%; margin-bottom: 0in">5</p>
<p style="line-height: 100%; margin-bottom: 0in">Minute(s)</p>
<p style="line-height: 100%; margin-bottom: 0in">0</p>
<p style="line-height: 100%; margin-bottom: 0in">Hour(s)</p>
<p style="line-height: 100%; margin-bottom: 0in">0</p>
<p style="line-height: 100%; margin-bottom: 0in">Day(s)</p>
<p style="line-height: 100%; margin-bottom: 0in">0</p>
<p style="line-height: 100%; margin-bottom: 0in">Month(s)</p>
<p style="line-height: 100%; margin-bottom: 0in">0</p>
<p style="line-height: 100%; margin-bottom: 0in">Year(s)</p>
<p style="line-height: 100%; margin-bottom: 0in">Currently set to
every 5 minutes.</p>
<p style="line-height: 100%; margin-bottom: 0in">The default is every
5 minutes.</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h3 class="western">using self-hosted gitea</h3>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://www.reddit.com/r/wikijs/comments/uyfjlz/help_cannot_use_storage_targets/">https://www.reddit.com/r/wikijs/comments/uyfjlz/help_cannot_use_storage_targets/</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://www.youtube.com/watch?v=NaKExFTCKtg">https://www.youtube.com/watch?v=NaKExFTCKtg</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">192.168.178.79</p>
<p style="line-height: 100%; margin-bottom: 0in">attention: DHCP to
be activated manually!</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">root, mygit90</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">#Install git</p>
<p style="line-height: 100%; margin-bottom: 0in">apt update &amp;&amp;
apt install git -y</p>
<p style="line-height: 100%; margin-bottom: 0in">#Get the correct
download link for the latest version</p>
<p style="line-height: 100%; margin-bottom: 0in">wget
https://dl.gitea.com/gitea/1.21.4/gitea-1.21.4-linux-amd64</p>
<p style="line-height: 100%; margin-bottom: 0in">#Move the binary to
bin</p>
<p style="line-height: 100%; margin-bottom: 0in">mv gitea*
/usr/local/bin/gitea</p>
<p style="line-height: 100%; margin-bottom: 0in">#Make executable</p>
<p style="line-height: 100%; margin-bottom: 0in">chmod +x
/usr/local/bin/gitea</p>
<p style="line-height: 100%; margin-bottom: 0in">#Ensure it works</p>
<p style="line-height: 100%; margin-bottom: 0in">gitea --version</p>
<p style="line-height: 100%; margin-bottom: 0in">#Create the
user/group for gitea to operate as</p>
<p style="line-height: 100%; margin-bottom: 0in">adduser --system
--group --disabled-password --home /etc/gitea gitea</p>
<p style="line-height: 100%; margin-bottom: 0in">#Config directory
was created by adduser</p>
<p style="line-height: 100%; margin-bottom: 0in">#Create directory
structure (mountpoint should be /var/lib/gitea)</p>
<p style="line-height: 100%; margin-bottom: 0in">mkdir -p
/var/lib/gitea/{custom,data,log}</p>
<p style="line-height: 100%; margin-bottom: 0in">chown -R gitea:gitea
/var/lib/gitea/</p>
<p style="line-height: 100%; margin-bottom: 0in">chmod -R 750
/var/lib/gitea/</p>
<p style="line-height: 100%; margin-bottom: 0in">chown root:gitea
/etc/gitea</p>
<p style="line-height: 100%; margin-bottom: 0in">chmod 770 /etc/gitea</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">checking permission:</p>
<p style="line-height: 100%; margin-bottom: 0in">ls -l</p>
<p style="line-height: 100%; margin-bottom: 0in">/var/lib/gitea/lost+found</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">rmdir
/var/lib/gitea/</p>
<p style="line-height: 100%; margin-bottom: 0in">rm -r -f
/var/lib/gitea/</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">lsof +D
/var/lib/gitea/</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">umount
/var/lib/gitea</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">lsof +D
/var/lib/gitea | awk '{print $2}' | tail -n +2 | xargs -r kill -9</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><b>need to delete
the Linux lost+found directory to avoid issues with changing
permissions:</b></p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://www.baeldung.com/linux/lost-found-directory">https://www.baeldung.com/linux/lost-found-directory</a></p>
<p style="line-height: 100%; margin-bottom: 0in">find &quot;-iname&quot;
lost+found -type d -exec rm -r &quot;{}&quot; \;</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">nano
/etc/systemd/system/gitea.service</p>
<p style="line-height: 100%; margin-bottom: 0in">→ copy code from
aforementioned instruction webpage</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">ip a</p>
<p style="line-height: 100%; margin-bottom: 0in">192.168.178.79/24</p>
<p style="line-height: 100%; margin-bottom: 0in">fe80::be24:11ff:fee4:4091/64</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">systemctl
daemon-reload</p>
<p style="line-height: 100%; margin-bottom: 0in">systemctl enable
--now gitea</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">→ configure via
web gui: <a href="http://192.168.178.79:3000/">http://192.168.178.79:3000/</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">admin_bora,
<a href="mailto:boraers@gmail.com">boraers@gmail.com</a>, mygit90</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">after isntallation:
<a href="http://192.168.178.79:80/">http://192.168.178.79:80/</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="http://192.168.178.79:3000/admin_bora/WikiJS.git">http://192.168.178.79:3000/admin_bora/WikiJS.git</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">gitea@192.168.178.79:admin_bora/WikiJS.git</p>
<p style="line-height: 100%; margin-bottom: 0in">instead of
git@github.com:BoraEr90/WikiJS.git</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">TARGET CONFIGURATION</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Authentication Type</p>
<p style="line-height: 100%; margin-bottom: 0in">basic</p>
<p style="line-height: 100%; margin-bottom: 0in">Use SSH for maximum
security.</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Repository URI</p>
<p style="line-height: 100%; margin-bottom: 0in">http://192.168.178.79:80/admin_bora/WikiJS.git</p>
<p style="line-height: 100%; margin-bottom: 0in">Git-compliant URI
(e.g. git@github.com:org/repo.git for ssh,
https://github.com/org/repo.git for basic)</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Branch</p>
<p style="line-height: 100%; margin-bottom: 0in">main</p>
<p style="line-height: 100%; margin-bottom: 0in">The branch to use
during pull / push</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">SSH Private Key Mode</p>
<p style="line-height: 100%; margin-bottom: 0in">path</p>
<p style="line-height: 100%; margin-bottom: 0in">SSH Authentication
Only - The mode to use to load the private key. Fill in the
corresponding field below.</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">A - SSH Private Key
Path</p>
<p style="line-height: 100%; margin-bottom: 0in">/root/.ssh/id_rsa</p>
<p style="line-height: 100%; margin-bottom: 0in">SSH Authentication
Only - Absolute path to the key. The key must NOT be
passphrase-protected. Mode must be set to path to use this option.</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">B - SSH Private Key
Contents</p>
<p style="line-height: 100%; margin-bottom: 0in">SSH Authentication
Only - Paste the contents of the private key. The key must NOT be
passphrase-protected. Mode must be set to contents to use this
option.</p>
<p style="line-height: 100%; margin-bottom: 0in">Some hosts requires
SSL certificate checking to be disabled. Leave enabled for proper
security.</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Username</p>
<p style="line-height: 100%; margin-bottom: 0in">admin_bora</p>
<p style="line-height: 100%; margin-bottom: 0in">Basic Authentication
Only</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Password / PAT</p>
<p style="line-height: 100%; margin-bottom: 0in">mygit90</p>
<p style="line-height: 100%; margin-bottom: 0in">Basic Authentication
Only</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Default Author Email</p>
<p style="line-height: 100%; margin-bottom: 0in">boraers@gmail.com</p>
<p style="line-height: 100%; margin-bottom: 0in">Used as fallback in
case the author of the change is not present.</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Default Author Name</p>
<p style="line-height: 100%; margin-bottom: 0in">admin_bora</p>
<p style="line-height: 100%; margin-bottom: 0in">Used as fallback in
case the author of the change is not present.</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Local Repository
Path</p>
<p style="line-height: 100%; margin-bottom: 0in">/root/repo</p>
<p style="line-height: 100%; margin-bottom: 0in">Path where the local
git repository will be created.</p>
<p style="line-height: 100%; margin-bottom: 0in"></p>
<p style="line-height: 100%; margin-bottom: 0in">Git Binary Path</p>
<p style="line-height: 100%; margin-bottom: 0in">Optional - Absolute
path to the Git binary, when not available in PATH. Leave empty to
use the default PATH location (recommended).</p>
<p style="line-height: 100%; margin-bottom: 0in">SYNC DIRECTION</p>
<p style="line-height: 100%; margin-bottom: 0in">Choose how content
synchronization is handled for this storage target.</p>
<p style="line-height: 100%; margin-bottom: 0in">Bi-directional</p>
<p style="line-height: 100%; margin-bottom: 0in">In bi-directional
mode, content is first pulled from the storage target. Any newer
content overwrites local content. New content since last sync is then
pushed to the storage target, overwriting any content on target if
present.</p>
<p style="line-height: 100%; margin-bottom: 0in">Push to target</p>
<p style="line-height: 100%; margin-bottom: 0in">Content is always
pushed to the storage target, overwriting any existing content. This
is safest choice for backup scenarios.</p>
<p style="line-height: 100%; margin-bottom: 0in">Pull from target</p>
<p style="line-height: 100%; margin-bottom: 0in">Content is always
pulled from the storage target, overwriting any local content which
already exists. This choice is usually reserved for single-use
content import. Caution with this option as any local content will
always be overwritten!</p>
<p style="line-height: 100%; margin-bottom: 0in">SYNC SCHEDULE</p>
<p style="line-height: 100%; margin-bottom: 0in">For performance
reasons, this storage target synchronize changes on an interval-based
schedule, instead of on every change. Define at which interval should
the synchronization occur.</p>
<p style="line-height: 100%; margin-bottom: 0in">Every</p>
<p style="line-height: 100%; margin-bottom: 0in">5</p>
<p style="line-height: 100%; margin-bottom: 0in">Minute(s)</p>
<p style="line-height: 100%; margin-bottom: 0in">0</p>
<p style="line-height: 100%; margin-bottom: 0in">Hour(s)</p>
<p style="line-height: 100%; margin-bottom: 0in">0</p>
<p style="line-height: 100%; margin-bottom: 0in">Day(s)</p>
<p style="line-height: 100%; margin-bottom: 0in">0</p>
<p style="line-height: 100%; margin-bottom: 0in">Month(s)</p>
<p style="line-height: 100%; margin-bottom: 0in">0</p>
<p style="line-height: 100%; margin-bottom: 0in">Year(s)</p>
<p style="line-height: 100%; margin-bottom: 0in">Currently set to
every 5 minutes.</p>
<p style="line-height: 100%; margin-bottom: 0in">The default is every
5 minutes.</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><img src="proxmox_html_11fce3e5bceb2438.png" name="Image1" align="bottom" width="436" height="542" border="0"/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><img src="proxmox_html_8cda42542491ee35.png" name="Image2" align="bottom" width="461" height="573" border="0"/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h3 class="western">markdown syntax</h3>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://www.markdownguide.org/tools/wiki-js/">https://www.markdownguide.org/tools/wiki-js/</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://docs.requarks.io/en/editors/markdown">https://docs.requarks.io/en/editors/markdown</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">convert doc and odt
to markdown: use pandox</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://stackoverflow.com/questions/16383237/how-can-doc-docx-files-be-converted-to-markdown-or-structured-text">https://stackoverflow.com/questions/16383237/how-can-doc-docx-files-be-converted-to-markdown-or-structured-text</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h2 class="western">deCONZ LXC</h2>
<p style="line-height: 100%; margin-bottom: 0in">http://192.168.178.70</p>
<p style="line-height: 100%; margin-bottom: 0in">root, borabora</p>
<p style="line-height: 100%; margin-bottom: 0in">ConbeeIII, borabora</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://tisgoud.nl/2020/08/conbee-in-home-assistant-on-proxmox/">https://tisgoud.nl/2020/08/conbee-in-home-assistant-on-proxmox/</a></p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;lsusb</p>
<p style="line-height: 100%; margin-bottom: 0in">deCONZ shows up as
Future Technology Devices International, Ltd
Bridge(I2C/SPI/UART/FIFO). Notice the ID of the device <span style="background: #ffff00">ID
0403:6015</span>.</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;qm list</p>
<p style="line-height: 100%; margin-bottom: 0in">101 proxmoxhaos</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;qm set <span style="background: #ffff00">101</span>
-usb0 host=<span style="background: #ffff00">0403:6015</span></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Settings &gt; System
&gt; Hardware &gt; All hardware</p>
<p style="line-height: 100%; margin-bottom: 0in">Device path:
/dev/ttyUSB0</p>
<p style="line-height: 100%; margin-bottom: 0in">ID:
/dev/serial/by-id/usb-dresden_elektronik_ConBee_III_DE03188934-if00-port0</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://wiki.fhem.de/wiki/Conbee/deCONZ_im_Proxmox_LXC-Container_(Tutorial)">https://wiki.fhem.de/wiki/Conbee/deCONZ_im_Proxmox_LXC-Container_(Tutorial)</a></p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;ls
/dev/ttyUSB*</p>
<p style="line-height: 100%; margin-bottom: 0in">/dev/<span style="background: #ffff00">ttyUSB0</span></p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;lsusb</p>
<p style="line-height: 100%; margin-bottom: 0in">Bus 002 Device 002:
ID 0403:6015 Future Technology Devices International, Ltd
Bridge(I2C/SPI/UART/FIFO)</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;ls -l
/dev/bus/usb/<span style="background: #ffff00">00</span><span style="background: #ffff00">2</span><span style="background: #ffff00">/00</span><span style="background: #ffff00">2</span></p>
<p style="line-height: 100%; margin-bottom: 0in">crw-rw-r-- 1 root
root <span style="background: #ffff00">189</span>, 8 Jan 21 19:54
/dev/bus/usb/002/002</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt; cd
/etc/pve/local/lxc/</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt; nano
&lt;CONTAINER-ID&gt;.conf</p>
<p style="line-height: 100%; margin-bottom: 0in">lxc.cgroup.devices.allow:
c <span style="background: #ffff00">189</span>:* rwm</p>
<p style="line-height: 100%; margin-bottom: 0in">lxc.mount.entry:
<span style="background: #ffff00">/dev/bus/usb/00</span><span style="background: #ffff00">2</span><span style="background: #ffff00">/00</span><span style="background: #ffff00">2</span><span style="background: #ffff00">
dev/bus/usb/00</span><span style="background: #ffff00">2</span><span style="background: #ffff00">/00</span><span style="background: #ffff00">2</span>
none bind,optional,create=file</p>
<p style="line-height: 100%; margin-bottom: 0in">lxc.cgroup.devices.allow:
c 188:* rwm</p>
<p style="line-height: 100%; margin-bottom: 0in">lxc.mount.entry:
/dev/<span style="background: #ffff00">ttyUSB0</span> dev/<span style="background: #ffff00">ttyUSB0</span>
none bind,optional,create=file</p>
<p style="line-height: 100%; margin-bottom: 0in">LXC&gt;&gt;sudo
reboot now</p>
<p style="line-height: 100%; margin-bottom: 0in">LXC&gt;&gt;ls -l
/dev/bus/usb/002/002</p>
<p style="line-height: 100%; margin-bottom: 0in">LXC&gt;&gt;ls -l
/dev/ttyUSB*</p>
<p style="line-height: 100%; margin-bottom: 0in">node&gt;&gt;chmod
o+rw /dev/ttyUSB0</p>
<p style="line-height: 100%; margin-bottom: 0in">node&gt;&gt;ls -l
/dev/ttyUSB0</p>
<p style="line-height: 100%; margin-bottom: 0in">LXC&gt;&gt;ls -l
/dev/ttyUSB0</p>
<p style="line-height: 100%; margin-bottom: 0in">node&gt;&gt;nano
/etc/udev/rules.d/50-lxcusb.rules</p>
<p style="line-height: 100%; margin-bottom: 0in">SUBSYSTEMS==&quot;usb&quot;,
ATTRS{idVendor}==&quot;<span style="background: #ffff00">0403</span>&quot;,
ATTRS{idProduct}==&quot;<span style="background: #ffff00">6015</span>&quot;,
GROUP=&quot;users&quot;, MODE=&quot;0666&quot;</p>
<p style="line-height: 100%; margin-bottom: 0in">LXC&gt;&gt;sudo
systemctl enable deconz</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h2 class="western">Deconz in Ubuntu VM</h2>
<p style="line-height: 100%; margin-bottom: 0in">bash -c &quot;$(wget
-qLO - https://github.com/tteck/Proxmox/raw/main/vm/ubuntu-vm.sh)&quot;</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">root, borabora</p>
<p style="line-height: 100%; margin-bottom: 0in">192.168.178.76</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">https://phoscon.de/en/conbee/install#ubuntu</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h2 class="western">Grafana</h2>
<p style="line-height: 100%; margin-bottom: 0in">http://192.168.178.63:3000</p>
<p style="line-height: 100%; margin-bottom: 0in">admin, admin →
borabora</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://www.derekseaman.com/2023/04/home-assistant-installing-grafana-lxc.html">https://www.derekseaman.com/2023/04/home-assistant-installing-grafana-lxc.html</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h2 class="western">InfluxDB LXC</h2>
<p style="line-height: 100%; margin-bottom: 0in"><font color="#c9211e">http://192.168.178.64:8086</font></p>
<p style="line-height: 100%; margin-bottom: 0in"><font color="#c9211e">version
2</font> and Telegraf installed</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">nano
/etc/influxdb/influxdb.conf</p>
<p style="line-height: 100%; margin-bottom: 0in">nano
/etc/telegraf/telegraf.conf</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://www.derekseaman.com/2023/04/home-assistant-installing-influxdb-lxc.html">https://www.derekseaman.com/2023/04/home-assistant-installing-influxdb-lxc.html</a></p>
<p style="line-height: 100%; margin-bottom: 0in">http://192.168.178.68:8888</p>
<p style="line-height: 100%; margin-bottom: 0in">If you dont know
the IP of your container type &gt;&gt;ip a</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://www.influxdata.com/downloads/">https://www.influxdata.com/downloads/</a></p>
<p style="line-height: 100%; margin-bottom: 0in">root, salzbrezel</p>
<p style="line-height: 100%; margin-bottom: 0in">wget
https://dl.influxdata.com/chronograf/releases/chronograf_1.10.2_amd64.deb</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">homeassistant,
savemydata</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h2 class="western">Mariadb LXC</h2>
<p style="line-height: 100%; margin-bottom: 0in">http://192.168.178.65</p>
<p style="line-height: 100%; margin-bottom: 0in">adminer installed</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">The subsequent step
involves executing the included security script. This script modifies
certain default options that are less secure. Our purpose for running
it is to prevent remote root logins and eliminate unnecessary
database users.</p>
<p style="line-height: 100%; margin-bottom: 0in">Run the security
script:</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;mysql_secure_installation</p>
<p style="line-height: 100%; margin-bottom: 0in">Enter current
password for root (enter for none): enter</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Switch to
unix_socket authentication [Y/n] y</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Change the root
password? [Y/n] n</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Remove anonymous
users? [Y/n] y</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Disallow root login
remotely? [Y/n] y</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Remove test database
and access to it? [Y/n] y</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Reload privilege
tables now? [Y/n] y</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">We will create a new
account called admin with the same capabilities as the root account,
but configured for password authentication.</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;mysql</p>
<p style="line-height: 100%; margin-bottom: 0in">Prompt will change
to MariaDB [(none)]&gt;</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Create a new local
admin (Change the username and password to match your preferences)</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;CREATE USER
'admin'@'localhost' IDENTIFIED BY 'password';</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;CREATE USER
'admin'@'localhost' IDENTIFIED BY '<span style="background: #ffff00">salzbrezel</span>';</p>
<p style="line-height: 100%; margin-bottom: 0in">Give local admin
root privileges (Change the username and password to match above)</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;GRANT ALL ON
*.* TO 'admin'@'localhost' IDENTIFIED BY '<span style="background: #ffff00">salzbrezel</span>'
WITH GRANT OPTION;</p>
<p style="line-height: 100%; margin-bottom: 0in">Now, we'll give the
user admin root privileges and password-based access that can connect
from anywhere on your local area network (LAN), which has addresses
in the subnet 192.168.100.0/24. This is an improvement because
opening a MariaDB server up to the Internet and granting access to
all hosts is bad practice.. Change the username, password and subnet
to match your preferences:</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;GRANT ALL ON
*.* TO 'admin'@'<span style="background: #ffff00">192.168.1</span><span style="background: #ffff00">78</span>.%'
IDENTIFIED BY '<span style="background: #ffff00">salzbrezel</span>'
WITH GRANT OPTION;</p>
<p style="line-height: 100%; margin-bottom: 0in">Flush the privileges
to ensure that they are saved and available in the current session:</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;FLUSH
PRIVILEGES;</p>
<p style="line-height: 100%; margin-bottom: 0in">command below this,
exit the MariaDB shell:</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;exit</p>
<p style="line-height: 100%; margin-bottom: 0in">Log in as the new
database user you just created:</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;mysql -u
admin -p</p>
<p style="line-height: 100%; margin-bottom: 0in">Create a new
database:</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;CREATE
DATABASE homeassistant;</p>
<p style="line-height: 100%; margin-bottom: 0in">command below this,
exit the MariaDB shell:</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;exit</p>
<p style="line-height: 100%; margin-bottom: 0in">⚠️ Reboot the
lxc</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Checking status.</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">&gt;&gt;systemctl
status mariadb</p>
<p style="line-height: 100%; margin-bottom: 0in">Change the recorder:
db_url: in your HA configuration.yaml</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Example:</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">recorder:</p>
<p style="line-height: 100%; margin-bottom: 0in"> db_url:
mysql://<span style="background: #ffff00">admin:</span><span style="background: #ffff00">salzbrezel</span><span style="background: #ffff00">@192.168.178.</span><span style="background: #ffff00">6</span><span style="background: #ffff00">5</span>:3306/homeassistant?charset=utf8mb4</p>
<p style="line-height: 100%; margin-bottom: 0in">⚙️ Adminer is a
full-featured database management tool</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Adminer Interface:
<span style="background: #ffff00">192.168.178.</span><span style="background: #ffff00">6</span><span style="background: #ffff00">5</span>/adminer/</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://smarthomescene.com/guides/moving-home-assistants-database-to-mariadb-on-proxmox/">https://smarthomescene.com/guides/moving-home-assistants-database-to-mariadb-on-proxmox/</a></p>
<p style="line-height: 100%; margin-bottom: 0in">Delaying Container
Startup Time</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Select the MariaDB
container on the left</p>
<p style="line-height: 100%; margin-bottom: 0in">Click Options in the
middle column</p>
<p style="line-height: 100%; margin-bottom: 0in">Double click
Start/Shutdown order</p>
<p style="line-height: 100%; margin-bottom: 0in">Set Start/Shutdown
order: 1</p>
<p style="line-height: 100%; margin-bottom: 0in">Set Startup Delay:
240</p>
<p style="line-height: 100%; margin-bottom: 0in">This setting
essentially tells Proxmox that the MariaDB LXC needs to be started
before any other VMs or Containers. It also sets a 240 seconds delay
for starting subsequent containers. LXCs without a Start/Shutdown
order parameter will always start after those where the parameter is
set.</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h2 class="western">AdGuard Home LXC</h2>
<p style="line-height: 100%; margin-bottom: 0in"><a href="http://192.168.178.67:3000/">http://192.168.178.</a><a href="http://192.168.178.67:3000/">6</a><a href="http://192.168.178.67:3000/">7:3000</a></p>
<p style="line-height: 100%; margin-bottom: 0in">admin, salzbrezel</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">AdGuard Home Setup
Interface: IP:3000 (After Setup use only IP)</p>
<p style="line-height: 100%; margin-bottom: 0in">(For the Home
Assistant Integration, use port 80 not 3000)</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">127.0.0.1</p>
<p style="line-height: 100%; margin-bottom: 0in">192.168.178.67</p>
<p style="line-height: 100%; margin-bottom: 0in">::1</p>
<p style="line-height: 100%; margin-bottom: 0in">fe80::be24:11ff:fee1:a5a9%eth0</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h2 class="western">Frigate</h2>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://www.homeautomationguy.io/blog/running-frigate-on-proxmox">https://www.homeautomationguy.io/blog/running-frigate-on-proxmox</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">http://192.168.178.69:9000</p>
<p style="line-height: 100%; margin-bottom: 0in">admin, takesomepics</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h2 class="western">VS Code Server</h2>
<p style="line-height: 100%; margin-bottom: 0in">https://www.kentoseth.com/posts/2021/may/28/how-to-install-visual-studio-codevscode-inside-an-lxc-container/</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h1 class="western">Nginx Proxy Manager LXC</h1>
<p style="line-height: 100%; margin-bottom: 0in">bash -c &quot;$(wget
-qLO -
<a href="https://github.com/tteck/Proxmox/raw/main/ct/nginxproxymanager.sh">https://github.com/tteck/Proxmox/raw/main/ct/nginxproxymanager.sh</a>)&quot;</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="http://192.168.178.77:81/">http://192.168.178.77:81</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Bora, BE,
boraer@gmail.com</p>
<p style="line-height: 100%; margin-bottom: 0in">forwardmyports00</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><b>add to
configuration.yaml</b></p>
<p style="line-height: 100%; margin-bottom: 0in">http:</p>
<p style="line-height: 100%; margin-bottom: 0in">
use_x_forwarded_for: true</p>
<p style="line-height: 100%; margin-bottom: 0in"> trusted_proxies:</p>
<p style="line-height: 100%; margin-bottom: 0in"> - 192.168.178.77
###(Nginx Proxy Manager LXC IP)###</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://peyanski.com/home-assistant-remote-access-using-nginx/">https://peyanski.com/home-assistant-remote-access-using-nginx/</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://theprivatesmarthome.com/how-to/set-up-nginx-proxy-manager-in-home-assistant/">https://theprivatesmarthome.com/how-to/set-up-nginx-proxy-manager-in-home-assistant/</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://theprivatesmarthome.com/how-to/put-home-assistant-behind-existing-nginx-proxy-manager/">https://theprivatesmarthome.com/how-to/put-home-assistant-behind-existing-nginx-proxy-manager/</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<h1 class="western">GPU underclock &amp; undervolt</h1>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://graphicsreport.com/how-to-underclock-gpu/">https://graphicsreport.com/how-to-underclock-gpu/</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://www.reddit.com/r/linux_gaming/comments/bx9247/comment/eq6m7tg/?utm_source=share&amp;utm_medium=web3x&amp;utm_name=web3xcss&amp;utm_term=1&amp;utm_content=share_button">https://www.reddit.com/r/linux_gaming/comments/bx9247/comment/eq6m7tg/?utm_source=share&amp;utm_medium=web3x&amp;utm_name=web3xcss&amp;utm_term=1&amp;utm_content=share_button</a></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks#Enabling_overclocking">https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks#Enabling_overclocking</a></p>
<p style="line-height: 100%; margin-bottom: 0in">Note:</p>
<p style="line-height: 100%; margin-bottom: 0in">Overclocking
settings cannot be applied if the Xorg server is running in rootless
mode. Consider running Xorg as root.</p>
<p style="line-height: 100%; margin-bottom: 0in">Enabling DRM kernel
mode setting may cause overclocking to become unavailable, regardless
of the Coolbits value.</p>
<p style="line-height: 100%; margin-bottom: 0in">Overclocking is
controlled via Coolbits option in the Device section, which enables
various unsupported features:</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">Option &quot;Coolbits&quot;
&quot;value&quot;</p>
<p style="line-height: 100%; margin-bottom: 0in">Tip: The Coolbits
option can be easily controlled with the nvidia-xconfig, which
manipulates the Xorg configuration files:</p>
<p style="line-height: 100%; margin-bottom: 0in"># nvidia-xconfig
--cool-bits=value</p>
<p style="line-height: 100%; margin-bottom: 0in">The Coolbits value
is the sum of its component bits in the binary numeral system. The
component bits are:</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">1 (bit 0) - Enables
overclocking of older (pre-Fermi) cores on the Clock Frequencies page
in nvidia-settings.</p>
<p style="line-height: 100%; margin-bottom: 0in">2 (bit 1) - When
this bit is set, the driver will &quot;attempt to initialize SLI when
using GPUs with different amounts of video memory&quot;.</p>
<p style="line-height: 100%; margin-bottom: 0in">4 (bit 2) - Enables
manual configuration of GPU fan speed on the Thermal Monitor page in
nvidia-settings.</p>
<p style="line-height: 100%; margin-bottom: 0in">8 (bit 3) - Enables
overclocking on the PowerMizer page in nvidia-settings. Available
since version 337.12 for the Fermi architecture and newer.[4]</p>
<p style="line-height: 100%; margin-bottom: 0in">16 (bit 4) - Enables
overvoltage using nvidia-settings CLI options. Available since
version 346.16 for the Fermi architecture and newer.[5]</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">To enable multiple
features, add the Coolbits values together. For example, to enable
overclocking and overvoltage of Fermi cores, set Option &quot;Coolbits&quot;
&quot;24&quot;.</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in">The documentation of
Coolbits can be found in
/usr/share/doc/nvidia/html/xconfigoptions.html and here.</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><a href="https://devicetests.com/ubuntu-20-04-gpu-fan-control">https://devicetests.com/ubuntu-20-04-gpu-fan-control</a></p>
<h2 class="western" style="font-variant: normal; letter-spacing: normal; font-style: normal; font-weight: normal">
<font face="Open Sans, sans-serif"><font size="6" style="font-size: 22pt">Understanding
Coolbits</font></font></h2>
<p style="font-variant: normal; letter-spacing: normal; font-style: normal; font-weight: normal; orphans: 2; widows: 2; margin-bottom: 0in; border: none; padding: 0in">
<font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt">Coolbits
is a feature provided by NVIDIA that allows users to manipulate
several advanced properties of the NVIDIA graphics driver. These
properties include GPU clock offsets, memory transfer rate offsets,
and fan speed control. The value of Coolbits is a sum of its
component bits in the binary numeral system. For example, a Coolbits
value of 4 enables manual GPU fan control.</font></font></font></p>
<h2 class="western" style="font-variant: normal; letter-spacing: normal; font-style: normal; font-weight: normal; line-height: 120%; orphans: 2; widows: 2; margin-top: 0in; margin-bottom: 0.21in; border: none; padding: 0in"><a name="prerequisites"></a>
<font face="Open Sans, sans-serif"><font size="6" style="font-size: 22pt">Prerequisites</font></font></h2>
<p style="font-variant: normal; letter-spacing: normal; font-style: normal; font-weight: normal; orphans: 2; widows: 2; margin-bottom: 0in; border: none; padding: 0in">
<font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt">Before
we begin, ensure you have administrative privileges on your Ubuntu
20.04 system and the NVIDIA graphics driver installed.</font></font></font></p>
<h2 class="western" style="font-variant: normal; letter-spacing: normal; font-style: normal; font-weight: normal; line-height: 120%; orphans: 2; widows: 2; margin-top: 0in; margin-bottom: 0.21in; border: none; padding: 0in"><a name="step-1-editing-the-x-configuration-file"></a>
<font face="Open Sans, sans-serif"><font size="6" style="font-size: 22pt">Step
1: Editing the X Configuration File</font></font></h2>
<p style="font-variant: normal; letter-spacing: normal; font-style: normal; font-weight: normal; orphans: 2; widows: 2; margin-bottom: 0in; border: none; padding: 0in">
<font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt">First,
we need to edit the X configuration file. Open the terminal and run
the following command:</font></font></font></p>
<pre class="western" style="line-height: 0.33in; orphans: 2; widows: 2; border: none; padding: 0in; background: #e9e9e9"><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="4" style="font-size: 13pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">sudo nano /etc/X11/xorg.conf</span></span></span></span></span></font></font></font></span></code></pre><p style="orphans: 2; widows: 2; margin-bottom: 0in; border: none; padding: 0in">
<span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">This
command uses the&nbsp;</span></span></span></font></font></font></span><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="3" style="font-size: 11pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">nano</span></span></span></span></span></font></font></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">&nbsp;text
editor to open the&nbsp;</span></span></span></font></font></font></span><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="3" style="font-size: 11pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">xorg.conf</span></span></span></span></span></font></font></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">&nbsp;file
located in the&nbsp;</span></span></span></font></font></font></span><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="3" style="font-size: 11pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">/etc/X11/</span></span></span></span></span></font></font></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">&nbsp;directory.
The&nbsp;</span></span></span></font></font></font></span><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="3" style="font-size: 11pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">sudo</span></span></span></span></span></font></font></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">&nbsp;command
is used to run operations that require administrative privileges.</span></span></span></font></font></font></span></p>
<p style="orphans: 2; widows: 2; margin-bottom: 0in; border: none; padding: 0in">
<span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">In
the file, locate the “Device” section. Here, you need to add the
line&nbsp;</span></span></span></font></font></font></span><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="3" style="font-size: 11pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">Option
&quot;Coolbits&quot; &quot;4&quot;</span></span></span></span></span></font></font></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">.
The “Device” section should look something like this:</span></span></span></font></font></font></span></p>
<pre class="western" style="line-height: 0.33in; orphans: 2; widows: 2; border: none; padding: 0in; background: #e9e9e9"><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="4" style="font-size: 13pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">Section &quot;Device&quot;</span></span></span></span></span></font></font></font></span></code>
<span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><span style="letter-spacing: normal"><span style="background: #e9e9e9"><code class="western"> </span></span></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="4" style="font-size: 13pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">Identifier &quot;Device0&quot;</span></span></span></span></span></font></font></font></span></code>
<span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><span style="letter-spacing: normal"><span style="background: #e9e9e9"><code class="western"> </span></span></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="4" style="font-size: 13pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">Driver &quot;nvidia&quot;</span></span></span></span></span></font></font></font></span></code>
<span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><span style="letter-spacing: normal"><span style="background: #e9e9e9"><code class="western"> </span></span></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="4" style="font-size: 13pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">VendorName &quot;NVIDIA Corporation&quot;</span></span></span></span></span></font></font></font></span></code>
<span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><span style="letter-spacing: normal"><span style="background: #e9e9e9"><code class="western"> </span></span></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="4" style="font-size: 13pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">BoardName &quot;GeForce GTX 1070&quot;</span></span></span></span></span></font></font></font></span></code>
<span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><span style="letter-spacing: normal"><span style="background: #e9e9e9"><code class="western"> </span></span></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="4" style="font-size: 13pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">Option &quot;Coolbits&quot; &quot;4&quot;</span></span></span></span></span></font></font></font></span></code>
<span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="4" style="font-size: 13pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">EndSection</span></span></span></span></span></font></font></font></span></code></pre><p style="orphans: 2; widows: 2; margin-bottom: 0in; border: none; padding: 0in">
<span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">Press&nbsp;</span></span></span></font></font></font></span><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="3" style="font-size: 11pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">Ctrl
+ O</span></span></span></span></span></font></font></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">&nbsp;to
save the file, then&nbsp;</span></span></span></font></font></font></span><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="3" style="font-size: 11pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">Ctrl
+ X</span></span></span></span></span></font></font></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">&nbsp;to
exit the editor.</span></span></span></font></font></font></span></p>
<h2 class="western" style="font-variant: normal; letter-spacing: normal; font-style: normal; font-weight: normal; line-height: 120%; orphans: 2; widows: 2; margin-top: 0in; margin-bottom: 0.21in; border: none; padding: 0in"><a name="step-2-editing-the-xwrapper-configuration-file"></a>
<font face="Open Sans, sans-serif"><font size="6" style="font-size: 22pt">Step
2: Editing the Xwrapper Configuration File</font></font></h2>
<p style="font-variant: normal; letter-spacing: normal; font-style: normal; font-weight: normal; orphans: 2; widows: 2; margin-bottom: 0in; border: none; padding: 0in">
<font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt">Next,
we need to edit the Xwrapper configuration file. Run the following
command in terminal:</font></font></font></p>
<pre class="western" style="line-height: 0.33in; orphans: 2; widows: 2; border: none; padding: 0in; background: #e9e9e9"><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="4" style="font-size: 13pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">sudo nano /etc/X11/Xwrapper.config</span></span></span></span></span></font></font></font></span></code></pre><p style="orphans: 2; widows: 2; margin-bottom: 0in; border: none; padding: 0in">
<span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">In
the file, locate the line that starts with&nbsp;</span></span></span></font></font></font></span><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="3" style="font-size: 11pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">allowed_users=</span></span></span></span></span></font></font></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">.
Comment it out by adding a&nbsp;</span></span></span></font></font></font></span><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="3" style="font-size: 11pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">#</span></span></span></span></span></font></font></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">&nbsp;at
the beginning. It should look like this:</span></span></span></font></font></font></span></p>
<pre class="western" style="line-height: 0.33in; orphans: 2; widows: 2; border: none; padding: 0in; background: #e9e9e9"><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="4" style="font-size: 13pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western"># allowed_users=console</span></span></span></span></span></font></font></font></span></code></pre><p style="font-variant: normal; letter-spacing: normal; font-style: normal; font-weight: normal; orphans: 2; widows: 2; margin-bottom: 0in; border: none; padding: 0in">
<font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt">Below
the commented line, add the following two lines:</font></font></font></p>
<pre class="western" style="line-height: 0.33in; orphans: 2; widows: 2; border: none; padding: 0in; background: #e9e9e9"><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="4" style="font-size: 13pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">allowed_users = anybody</span></span></span></span></span></font></font></font></span></code>
<span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="4" style="font-size: 13pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">needs_root_rights = yes</span></span></span></span></span></font></font></font></span></code></pre><p style="orphans: 2; widows: 2; margin-bottom: 0in; border: none; padding: 0in">
<span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">The&nbsp;</span></span></span></font></font></font></span><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="3" style="font-size: 11pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">allowed_users
= anybody</span></span></span></span></span></font></font></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">&nbsp;line
allows any user to start the X server. The&nbsp;</span></span></span></font></font></font></span><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="3" style="font-size: 11pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">needs_root_rights
= yes</span></span></span></span></span></font></font></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">&nbsp;line
grants the X server root rights, which are necessary for Coolbits to
function correctly.</span></span></span></font></font></font></span></p>
<p style="orphans: 2; widows: 2; margin-bottom: 0in; border: none; padding: 0in">
<span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">Press&nbsp;</span></span></span></font></font></font></span><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="3" style="font-size: 11pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">Ctrl
+ O</span></span></span></span></span></font></font></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">&nbsp;to
save the file, then&nbsp;</span></span></span></font></font></font></span><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="3" style="font-size: 11pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">Ctrl
+ X</span></span></span></span></span></font></font></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">&nbsp;to
exit the editor.</span></span></span></font></font></font></span></p>
<h2 class="western" style="font-variant: normal; letter-spacing: normal; font-style: normal; font-weight: normal; line-height: 120%; orphans: 2; widows: 2; margin-top: 0in; margin-bottom: 0.21in; border: none; padding: 0in"><a name="step-3-changing-the-permissions-of-the-xwrapper-configuration-file"></a>
<font face="Open Sans, sans-serif"><font size="6" style="font-size: 22pt">Step
3: Changing the Permissions of the Xwrapper Configuration File</font></font></h2>
<p style="font-variant: normal; letter-spacing: normal; font-style: normal; font-weight: normal; orphans: 2; widows: 2; margin-bottom: 0in; border: none; padding: 0in">
<font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt">Finally,
we need to change the permissions of the Xwrapper configuration file.
Run the following command in terminal:</font></font></font></p>
<pre class="western" style="line-height: 0.33in; orphans: 2; widows: 2; border: none; padding: 0in; background: #e9e9e9"><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="4" style="font-size: 13pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">sudo chmod 2644 /etc/X11/Xwrapper.config</span></span></span></span></span></font></font></font></span></code></pre><p style="orphans: 2; widows: 2; margin-bottom: 0in; border: none; padding: 0in">
<span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">This
command changes the permissions of the&nbsp;</span></span></span></font></font></font></span><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="3" style="font-size: 11pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">Xwrapper.config</span></span></span></span></span></font></font></font></span></code><span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">&nbsp;file
to 2644. In this permission set, the owner can read and write the
file, while the group and others can only read the file.</span></span></span></font></font></font></span></p>
<h2 class="western" style="font-variant: normal; letter-spacing: normal; font-style: normal; font-weight: normal; line-height: 120%; orphans: 2; widows: 2; margin-top: 0in; margin-bottom: 0.21in; border: none; padding: 0in"><a name="step-4-rebooting-the-system"></a>
<font face="Open Sans, sans-serif"><font size="6" style="font-size: 22pt">Step
4: Rebooting the System</font></font></h2>
<p style="font-variant: normal; letter-spacing: normal; font-style: normal; font-weight: normal; orphans: 2; widows: 2; margin-bottom: 0in; border: none; padding: 0in">
<font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt">Reboot
your computer for the changes to take effect. You can do this by
running the following command:</font></font></font></p>
<pre class="western" style="line-height: 0.33in; orphans: 2; widows: 2; border: none; padding: 0in; background: #e9e9e9"><span style="display: inline-block; border: none; padding: 0in"><span style="font-variant: normal"><font color="#494b51"><font face="Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace"><font size="4" style="font-size: 13pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: #e9e9e9"><code class="western">sudo reboot</span></span></span></span></span></font></font></font></span></code></pre><h2 class="western" style="font-variant: normal; letter-spacing: normal; font-style: normal; font-weight: normal; line-height: 120%; orphans: 2; widows: 2; margin-top: 0in; margin-bottom: 0.21in; border: none; padding: 0in">
<a name="conclusion"></a><font face="Open Sans, sans-serif"><font size="6" style="font-size: 22pt">Conclusion</font></font></h2>
<p style="orphans: 2; widows: 2; margin-bottom: 0in; border: none; padding: 0in">
<span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">By
following these steps, you should be able to set the Coolbits in
Ubuntu 20.04 and enable manual GPU fan control. Remember to adjust
the Coolbits value according to your requirements. For more
information on Coolbits and its different values, you can refer to
the&nbsp;</span></span></span></font></font></font></span><a href="https://download.nvidia.com/XFree86/Linux-x86_64/435.21/README/xconfigoptions.html" target="_blank"><span style="font-variant: normal"><font color="#0066ff"><span style="text-decoration: none"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal"><span style="background: transparent">NVIDIA
documentation</span></span></span></span></font></font></span></font></span></a><span style="font-variant: normal"><font color="#494b51"><font face="Inter, sans-serif"><font size="4" style="font-size: 15pt"><span style="letter-spacing: normal"><span style="font-style: normal"><span style="font-weight: normal">.</span></span></span></font></font></font></span></p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in"><br/>
</p>
<p style="line-height: 100%; margin-bottom: 0in; page-break-before: always">
<br/>
</p>
</body>
</html>