docs: update test_transfer_odt_4
This commit is contained in:
parent
02c1315997
commit
deff071e9c
|
|
@ -2,15 +2,13 @@
|
||||||
title: transfer proxmox - HTML to Markdown
|
title: transfer proxmox - HTML to Markdown
|
||||||
description:
|
description:
|
||||||
published: 1
|
published: 1
|
||||||
date: 2024-02-01T19:42:31.508Z
|
date: 2024-02-01T20:40:47.101Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2024-02-01T19:16:08.517Z
|
dateCreated: 2024-02-01T19:16:08.517Z
|
||||||
---
|
---
|
||||||
|
|
||||||
# Title
|
|
||||||
|
|
||||||
Some text here
|
|
||||||
|
|
||||||
@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 }
|
@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 }
|
||||||
|
|
||||||
|
|
@ -18,9 +16,13 @@ Some text here
|
||||||
|
|
||||||
<mark>Marked text</mark>
|
<mark>Marked text</mark>
|
||||||
<span style="background-color: #FFFF00">Marked text</span>
|
<span style="background-color: #FFFF00">Marked text</span>
|
||||||
|
|
||||||
|
|
||||||
Proxmox
|
<br/><br/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Proxmox
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -64,7 +66,7 @@ lxc-info -n 111
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# avoid suspending after closing laptop lid
|
## avoid suspending after closing laptop lid
|
||||||
|
|
||||||
[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/)
|
[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/)
|
||||||
|
|
||||||
|
|
@ -87,7 +89,7 @@ Uncomment the line about HandleLidSwitch=suspend and change suspend to ignore
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
# Nextcloud
|
# Nextcloud
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -116,11 +118,11 @@ figure out IP address: ip addr >> eth0@if12
|
||||||
|
|
||||||
\>> http://\[CONTAINER\_IP\]:9000
|
\>> http://\[CONTAINER\_IP\]:9000
|
||||||
|
|
||||||
http://192.168.178.23:9000
|
http://<mark>192.168.178.23</mark>:9000
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
|
|
||||||
**in portainer:**
|
**in portainer:**
|
||||||
|
|
@ -147,9 +149,9 @@ volumes:
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
|
||||||
\- MYSQL\_ROOT\_PASSWORD=password
|
\- MYSQL\_ROOT\_PASSWORD=<mark>password</mark>
|
||||||
|
|
||||||
\- MYSQL\_PASSWORD=password
|
\- MYSQL\_PASSWORD=<mark>password</mark>
|
||||||
|
|
||||||
\- MYSQL\_DATABASE=nextcloud
|
\- MYSQL\_DATABASE=nextcloud
|
||||||
|
|
||||||
|
|
@ -177,7 +179,7 @@ volumes:
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
|
||||||
\- MYSQL\_PASSWORD=password
|
\- MYSQL\_PASSWORD=<mark>password</mark>
|
||||||
|
|
||||||
\- MYSQL\_DATABASE=nextcloud
|
\- MYSQL\_DATABASE=nextcloud
|
||||||
|
|
||||||
|
|
@ -194,7 +196,7 @@ environment:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
# Homeassistant VM
|
# Homeassistant VM
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -223,11 +225,11 @@ Test, bora
|
||||||
|
|
||||||
samba share: homeassistant, sharemyHA, WORKGROUP
|
samba share: homeassistant, sharemyHA, WORKGROUP
|
||||||
|
|
||||||
[smb://](smb://192.168.178.43/)[1](smb://192.168.178.43/)[92.168.178.43](smb://192.168.178.43/)
|
[smb://192.168.178.43](smb://192.168.178.43/)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
network storage on fritz.nas
|
network storage on fritz.nas
|
||||||
|
|
||||||
|
|
@ -245,7 +247,7 @@ Password:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
configure static IP address:
|
configure static IP address:
|
||||||
|
|
||||||
|
|
@ -257,13 +259,13 @@ in Fritzbox: 192.168.178.43
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
deConz: ConbeeIII, testtest
|
deConz: ConbeeIII, testtest
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
[smb://fritz.nas](smb://fritz.nas/)
|
[smb://fritz.nas](smb://fritz.nas/)
|
||||||
|
|
||||||
|
|
@ -271,6 +273,8 @@ homeassistant, \*\*\*, WORKGROUP
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
# MQTT Broker
|
# MQTT Broker
|
||||||
|
|
||||||
[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/)
|
[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/)
|
||||||
|
|
@ -285,7 +289,7 @@ http://192.168.178.80:1883
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
sudo mosquitto\_passwd -c /etc/mosquitto/passwd root
|
sudo mosquitto\_passwd -c /etc/mosquitto/passwd <mark>root</mark>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -303,7 +307,7 @@ sudo /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
**do not forget:**
|
**do not forget:**
|
||||||
|
|
||||||
|
|
@ -323,7 +327,7 @@ topic\_pub = f"homeassistant/sensor/node\_{node.nodeNumber}/state"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
add new user:
|
add new user:
|
||||||
|
|
||||||
|
|
@ -333,14 +337,15 @@ sudo mosquitto\_passwd -c /etc/mosquitto/passwd note4
|
||||||
|
|
||||||
note4
|
note4
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
**attention**: when migrating HAOS, the user/pswd of mqtt must be identical for correct operation of Tasmota, Shelly and Mycropython devices
|
**attention**: when migrating HAOS, the user/pswd of mqtt must be identical for correct operation of Tasmota, Shelly and Mycropython devices
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
## Wiki.js LXC
|
## Wiki.js LXC
|
||||||
|
|
||||||
https://tteck.github.io/Proxmox/
|
https://tteck.github.io/Proxmox/
|
||||||
|
|
@ -353,8 +358,9 @@ https://wiki.mywiki.com
|
||||||
|
|
||||||
diagrams can be created by inserting “diagram” from the left panel on Markdown pages
|
diagrams can be created by inserting “diagram” from the left panel on Markdown pages
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
### Backing up all pages on github
|
### Backing up all pages on github
|
||||||
|
|
||||||
how to access the file system of a proxmox container?
|
how to access the file system of a proxmox container?
|
||||||
|
|
@ -377,9 +383,9 @@ lvdisplay
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
using github:
|
<mark>using github:</mark>
|
||||||
|
|
||||||
[https://docs.requarks.io/storage/git](https://docs.requarks.io/storage/git)
|
[https://docs.requarks.io/storage/git](https://docs.requarks.io/storage/git)
|
||||||
|
|
||||||
|
|
@ -432,6 +438,7 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCy/UxBIoWGzWnRmHnLn89TwruJ3srW3ZeYPdUta5+M
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
TARGET CONFIGURATION
|
TARGET CONFIGURATION
|
||||||
|
|
||||||
|
|
@ -579,7 +586,7 @@ The default is every 5 minutes.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
### using self-hosted gitea
|
### using self-hosted gitea
|
||||||
|
|
||||||
|
|
@ -603,6 +610,8 @@ root, mygit90
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
#Install git
|
#Install git
|
||||||
|
|
||||||
apt update && apt install git -y
|
apt update && apt install git -y
|
||||||
|
|
@ -643,7 +652,8 @@ chmod 770 /etc/gitea
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
checking permission:
|
checking permission:
|
||||||
|
|
||||||
|
|
@ -669,7 +679,9 @@ umount /var/lib/gitea
|
||||||
|
|
||||||
lsof +D /var/lib/gitea | awk '{print $2}' | tail -n +2 | xargs -r kill -9
|
lsof +D /var/lib/gitea | awk '{print $2}' | tail -n +2 | xargs -r kill -9
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
**need to delete the Linux lost+found directory to avoid issues with changing permissions:**
|
**need to delete the Linux lost+found directory to avoid issues with changing permissions:**
|
||||||
|
|
||||||
|
|
@ -683,7 +695,7 @@ find "-iname" lost+found -type d -exec rm -r "{}" \\;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
nano /etc/systemd/system/gitea.service
|
nano /etc/systemd/system/gitea.service
|
||||||
|
|
||||||
|
|
@ -729,7 +741,7 @@ instead of git@github.com:BoraEr90/WikiJS.git
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
TARGET CONFIGURATION
|
TARGET CONFIGURATION
|
||||||
|
|
||||||
|
|
@ -887,7 +899,7 @@ The default is every 5 minutes.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
### markdown syntax
|
### markdown syntax
|
||||||
|
|
||||||
[https://www.markdownguide.org/tools/wiki-js/](https://www.markdownguide.org/tools/wiki-js/)
|
[https://www.markdownguide.org/tools/wiki-js/](https://www.markdownguide.org/tools/wiki-js/)
|
||||||
|
|
@ -915,7 +927,7 @@ convert doc and odt to markdown: use pandox
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
## deCONZ LXC
|
## deCONZ LXC
|
||||||
|
|
||||||
http://192.168.178.70
|
http://192.168.178.70
|
||||||
|
|
@ -926,19 +938,19 @@ ConbeeIII, borabora
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
[https://tisgoud.nl/2020/08/conbee-in-home-assistant-on-proxmox/](https://tisgoud.nl/2020/08/conbee-in-home-assistant-on-proxmox/)
|
[https://tisgoud.nl/2020/08/conbee-in-home-assistant-on-proxmox/](https://tisgoud.nl/2020/08/conbee-in-home-assistant-on-proxmox/)
|
||||||
|
|
||||||
\>>lsusb
|
\>>lsusb
|
||||||
|
|
||||||
deCONZ shows up as ‘Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)’. Notice the ID of the device ‘ID 0403:6015’.
|
deCONZ shows up as ‘Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)’. Notice the ID of the device ‘<mark>ID 0403:6015</mark>’.
|
||||||
|
|
||||||
\>>qm list
|
\>>qm list
|
||||||
|
|
||||||
101 proxmoxhaos
|
101 proxmoxhaos
|
||||||
|
|
||||||
\>>qm set 101 -usb0 host=0403:6015
|
\>>qm set <mark>101</mark> -usb0 host=<mark>0403:6015</mark>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -950,33 +962,34 @@ ID: /dev/serial/by-id/usb-dresden\_elektronik\_ConBee\_III\_DE03188934-if00-port
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
[https://wiki.fhem.de/wiki/Conbee/deCONZ\_im\_Proxmox\_LXC-Container\_(Tutorial)](https://wiki.fhem.de/wiki/Conbee/deCONZ_im_Proxmox_LXC-Container_(Tutorial))
|
[https://wiki.fhem.de/wiki/Conbee/deCONZ\_im\_Proxmox\_LXC-Container\_(Tutorial)](https://wiki.fhem.de/wiki/Conbee/deCONZ_im_Proxmox_LXC-Container_(Tutorial))
|
||||||
|
|
||||||
\>>ls /dev/ttyUSB\*
|
\>>ls /dev/ttyUSB\*
|
||||||
|
|
||||||
/dev/ttyUSB0
|
/dev/<mark>ttyUSB0</mark>
|
||||||
|
|
||||||
\>>lsusb
|
\>>lsusb
|
||||||
|
|
||||||
Bus 002 Device 002: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
|
Bus 002 Device 002: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
|
||||||
|
|
||||||
\>>ls -l /dev/bus/usb/002/002
|
\>>ls -l /dev/bus/usb/<mark>002/002</mark>
|
||||||
|
|
||||||
crw-rw-r-- 1 root root 189, 8 Jan 21 19:54 /dev/bus/usb/002/002
|
crw-rw-r-- 1 root root <mark>189</mark>, 8 Jan 21 19:54 /dev/bus/usb/002/002
|
||||||
|
|
||||||
\>> cd /etc/pve/local/lxc/
|
\>> cd /etc/pve/local/lxc/
|
||||||
|
|
||||||
\>> nano <CONTAINER-ID>.conf
|
\>> nano \<CONTAINER-ID\>.conf
|
||||||
|
|
||||||
lxc.cgroup.devices.allow: c 189:\* rwm
|
lxc.cgroup.devices.allow: c <mark>189</mark>:\* rwm
|
||||||
|
|
||||||
lxc.mount.entry: /dev/bus/usb/002/002 dev/bus/usb/002/002 none bind,optional,create=file
|
lxc.mount.entry: <mark>/dev/bus/usb/002/002 dev/bus/usb/002/002</mark> none bind,optional,create=file
|
||||||
|
|
||||||
lxc.cgroup.devices.allow: c 188:\* rwm
|
lxc.cgroup.devices.allow: c 188:\* rwm
|
||||||
|
|
||||||
lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
|
lxc.mount.entry: /dev/<mark>ttyUSB0</mark> dev/<mark>ttyUSB0</mark> none bind,optional,create=file
|
||||||
|
|
||||||
LXC>>sudo reboot now
|
LXC>>sudo reboot now
|
||||||
|
|
||||||
|
|
@ -992,7 +1005,7 @@ LXC>>ls -l /dev/ttyUSB0
|
||||||
|
|
||||||
node>>nano /etc/udev/rules.d/50-lxcusb.rules
|
node>>nano /etc/udev/rules.d/50-lxcusb.rules
|
||||||
|
|
||||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", GROUP="users", MODE="0666"
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="<mark>0403</mark>", ATTRS{idProduct}=="<mark>6015</mark>", GROUP="users", MODE="0666"
|
||||||
|
|
||||||
LXC>>sudo systemctl enable deconz
|
LXC>>sudo systemctl enable deconz
|
||||||
|
|
||||||
|
|
@ -1001,13 +1014,15 @@ LXC>>sudo systemctl enable deconz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
## Deconz in Ubuntu VM
|
## Deconz in Ubuntu VM
|
||||||
|
|
||||||
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/vm/ubuntu-vm.sh)"
|
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/vm/ubuntu-vm.sh)"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
root, borabora
|
root, borabora
|
||||||
|
|
||||||
192.168.178.76
|
192.168.178.76
|
||||||
|
|
@ -1016,7 +1031,7 @@ root, borabora
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
https://phoscon.de/en/conbee/install#ubuntu
|
https://phoscon.de/en/conbee/install#ubuntu
|
||||||
|
|
||||||
|
|
@ -1027,7 +1042,7 @@ https://phoscon.de/en/conbee/install#ubuntu
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
## Grafana
|
## Grafana
|
||||||
|
|
||||||
http://192.168.178.63:3000
|
http://192.168.178.63:3000
|
||||||
|
|
@ -1035,6 +1050,7 @@ http://192.168.178.63:3000
|
||||||
admin, admin → borabora
|
admin, admin → borabora
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
[https://www.derekseaman.com/2023/04/home-assistant-installing-grafana-lxc.html](https://www.derekseaman.com/2023/04/home-assistant-installing-grafana-lxc.html)
|
[https://www.derekseaman.com/2023/04/home-assistant-installing-grafana-lxc.html](https://www.derekseaman.com/2023/04/home-assistant-installing-grafana-lxc.html)
|
||||||
|
|
||||||
|
|
@ -1043,12 +1059,12 @@ admin, admin → borabora
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
## InfluxDB LXC
|
## InfluxDB LXC
|
||||||
|
|
||||||
http://192.168.178.64:8086
|
~~http://192.168.178.64:8086~~
|
||||||
|
|
||||||
version 2 and Telegraf installed
|
~~version 2~~ and Telegraf installed
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1079,7 +1095,7 @@ homeassistant, savemydata
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
## Mariadb LXC
|
## Mariadb LXC
|
||||||
|
|
||||||
http://192.168.178.65
|
http://192.168.178.65
|
||||||
|
|
@ -1087,6 +1103,7 @@ http://192.168.178.65
|
||||||
adminer installed
|
adminer installed
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
|
@ -1095,6 +1112,7 @@ Run the security script:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
\>>mysql\_secure\_installation
|
\>>mysql\_secure\_installation
|
||||||
|
|
||||||
|
|
@ -1126,18 +1144,18 @@ Reload privilege tables now? \[Y/n\] y
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
We will create a new account called admin with the same capabilities as the root account, but configured for password authentication.
|
We will create a new account called admin with the same capabilities as the root account, but configured for password authentication.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\>>mysql
|
\>>mysql
|
||||||
|
|
||||||
Prompt will change to MariaDB \[(none)\]>
|
Prompt will change to MariaDB \[(none)\]>
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
Create a new local admin (Change the username and password to match your preferences)
|
Create a new local admin (Change the username and password to match your preferences)
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1148,6 +1166,8 @@ Create a new local admin (Change the username and password to match your prefere
|
||||||
|
|
||||||
\>>CREATE USER 'admin'@'localhost' IDENTIFIED BY 'salzbrezel';
|
\>>CREATE USER 'admin'@'localhost' IDENTIFIED BY 'salzbrezel';
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
Give local admin root privileges (Change the username and password to match above)
|
Give local admin root privileges (Change the username and password to match above)
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1156,6 +1176,8 @@ Give local admin root privileges (Change the username and password to match abov
|
||||||
|
|
||||||
\>>GRANT ALL ON \*.\* TO 'admin'@'localhost' IDENTIFIED BY 'salzbrezel' WITH GRANT OPTION;
|
\>>GRANT ALL ON \*.\* TO 'admin'@'localhost' IDENTIFIED BY 'salzbrezel' WITH GRANT OPTION;
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
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:
|
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:
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1164,6 +1186,8 @@ Now, we'll give the user admin root privileges and password-based access that ca
|
||||||
|
|
||||||
\>>GRANT ALL ON \*.\* TO 'admin'@'192.168.178.%' IDENTIFIED BY 'salzbrezel' WITH GRANT OPTION;
|
\>>GRANT ALL ON \*.\* TO 'admin'@'192.168.178.%' IDENTIFIED BY 'salzbrezel' WITH GRANT OPTION;
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
Flush the privileges to ensure that they are saved and available in the current session:
|
Flush the privileges to ensure that they are saved and available in the current session:
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1172,6 +1196,8 @@ Flush the privileges to ensure that they are saved and available in the current
|
||||||
|
|
||||||
\>>FLUSH PRIVILEGES;
|
\>>FLUSH PRIVILEGES;
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
command below this, exit the MariaDB shell:
|
command below this, exit the MariaDB shell:
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1180,6 +1206,8 @@ command below this, exit the MariaDB shell:
|
||||||
|
|
||||||
\>>exit
|
\>>exit
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
Log in as the new database user you just created:
|
Log in as the new database user you just created:
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1188,6 +1216,8 @@ Log in as the new database user you just created:
|
||||||
|
|
||||||
\>>mysql -u admin -p
|
\>>mysql -u admin -p
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
Create a new database:
|
Create a new database:
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1196,6 +1226,8 @@ Create a new database:
|
||||||
|
|
||||||
\>>CREATE DATABASE homeassistant;
|
\>>CREATE DATABASE homeassistant;
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
command below this, exit the MariaDB shell:
|
command below this, exit the MariaDB shell:
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1204,10 +1236,13 @@ command below this, exit the MariaDB shell:
|
||||||
|
|
||||||
\>>exit
|
\>>exit
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
⚠️ Reboot the lxc
|
⚠️ Reboot the lxc
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
Checking status.
|
Checking status.
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1216,11 +1251,13 @@ Checking status.
|
||||||
|
|
||||||
\>>systemctl status mariadb
|
\>>systemctl status mariadb
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
Change the recorder: db\_url: in your HA configuration.yaml
|
Change the recorder: db\_url: in your HA configuration.yaml
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Example:
|
**Example:**
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1228,13 +1265,13 @@ Example:
|
||||||
|
|
||||||
recorder:
|
recorder:
|
||||||
|
|
||||||
db\_url: mysql://admin:salzbrezel@192.168.178.65:3306/homeassistant?charset=utf8mb4
|
db\_url: mysql://<mark>admin:salzbrezel@192.168.178.65</mark>:3306/homeassistant?charset=utf8mb4
|
||||||
|
|
||||||
⚙️ Adminer is a full-featured database management tool
|
⚙️ Adminer is a full-featured database management tool
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Adminer Interface: 192.168.178.65/adminer/
|
Adminer Interface: <mark>192.168.178.65</mark>/adminer/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1244,7 +1281,7 @@ Adminer Interface: 192.168.178.65/adminer/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
[https://smarthomescene.com/guides/moving-home-assistants-database-to-mariadb-on-proxmox/](https://smarthomescene.com/guides/moving-home-assistants-database-to-mariadb-on-proxmox/)
|
[https://smarthomescene.com/guides/moving-home-assistants-database-to-mariadb-on-proxmox/](https://smarthomescene.com/guides/moving-home-assistants-database-to-mariadb-on-proxmox/)
|
||||||
|
|
||||||
|
|
@ -1272,8 +1309,8 @@ This setting essentially tells Proxmox that the MariaDB LXC needs to be started
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
## AdGuard Home LXC
|
## AdGuard Home LXC
|
||||||
|
|
||||||
[http://192.168.178.](http://192.168.178.67:3000/)[6](http://192.168.178.67:3000/)[7:3000](http://192.168.178.67:3000/)
|
[http://192.168.178.](http://192.168.178.67:3000/)[6](http://192.168.178.67:3000/)[7:3000](http://192.168.178.67:3000/)
|
||||||
|
|
@ -1281,12 +1318,14 @@ This setting essentially tells Proxmox that the MariaDB LXC needs to be started
|
||||||
admin, salzbrezel
|
admin, salzbrezel
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
AdGuard Home Setup Interface: IP:3000 (After Setup use only IP)
|
AdGuard Home Setup Interface: IP:3000 (After Setup use only IP)
|
||||||
|
|
||||||
(For the Home Assistant Integration, use port 80 not 3000)
|
(For the Home Assistant Integration, use port 80 not 3000)
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
127.0.0.1
|
127.0.0.1
|
||||||
|
|
||||||
|
|
@ -1303,12 +1342,13 @@ fe80::be24:11ff:fee1:a5a9%eth0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
## Frigate
|
## Frigate
|
||||||
|
|
||||||
[https://www.homeautomationguy.io/blog/running-frigate-on-proxmox](https://www.homeautomationguy.io/blog/running-frigate-on-proxmox)
|
[https://www.homeautomationguy.io/blog/running-frigate-on-proxmox](https://www.homeautomationguy.io/blog/running-frigate-on-proxmox)
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
http://192.168.178.69:9000
|
http://192.168.178.69:9000
|
||||||
|
|
||||||
|
|
@ -1319,7 +1359,7 @@ admin, takesomepics
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
## VS Code Server
|
## VS Code Server
|
||||||
|
|
||||||
https://www.kentoseth.com/posts/2021/may/28/how-to-install-visual-studio-codevscode-inside-an-lxc-container/
|
https://www.kentoseth.com/posts/2021/may/28/how-to-install-visual-studio-codevscode-inside-an-lxc-container/
|
||||||
|
|
@ -1331,7 +1371,7 @@ https://www.kentoseth.com/posts/2021/may/28/how-to-install-visual-studio-codevsc
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
# Nginx Proxy Manager LXC
|
# Nginx Proxy Manager LXC
|
||||||
|
|
||||||
bash -c "$(wget -qLO - [https://github.com/tteck/Proxmox/raw/main/ct/nginxproxymanager.sh](https://github.com/tteck/Proxmox/raw/main/ct/nginxproxymanager.sh))"
|
bash -c "$(wget -qLO - [https://github.com/tteck/Proxmox/raw/main/ct/nginxproxymanager.sh](https://github.com/tteck/Proxmox/raw/main/ct/nginxproxymanager.sh))"
|
||||||
|
|
@ -1348,7 +1388,7 @@ forwardmyports00
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
**add to configuration.yaml**
|
**add to configuration.yaml**
|
||||||
|
|
||||||
|
|
@ -1362,7 +1402,7 @@ trusted\_proxies:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
[https://peyanski.com/home-assistant-remote-access-using-nginx/](https://peyanski.com/home-assistant-remote-access-using-nginx/)
|
[https://peyanski.com/home-assistant-remote-access-using-nginx/](https://peyanski.com/home-assistant-remote-access-using-nginx/)
|
||||||
|
|
||||||
|
|
@ -1379,7 +1419,7 @@ trusted\_proxies:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
# GPU underclock & undervolt
|
# GPU underclock & undervolt
|
||||||
|
|
||||||
[https://graphicsreport.com/how-to-underclock-gpu/](https://graphicsreport.com/how-to-underclock-gpu/)
|
[https://graphicsreport.com/how-to-underclock-gpu/](https://graphicsreport.com/how-to-underclock-gpu/)
|
||||||
|
|
@ -1391,6 +1431,7 @@ trusted\_proxies:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
[https://wiki.archlinux.org/title/NVIDIA/Tips\_and\_tricks#Enabling\_overclocking](https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks#Enabling_overclocking)
|
[https://wiki.archlinux.org/title/NVIDIA/Tips\_and\_tricks#Enabling\_overclocking](https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks#Enabling_overclocking)
|
||||||
|
|
||||||
|
|
@ -1437,9 +1478,11 @@ The documentation of Coolbits can be found in /usr/share/doc/nvidia/html/xconfig
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
[https://devicetests.com/ubuntu-20-04-gpu-fan-control](https://devicetests.com/ubuntu-20-04-gpu-fan-control)
|
[https://devicetests.com/ubuntu-20-04-gpu-fan-control](https://devicetests.com/ubuntu-20-04-gpu-fan-control)
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
## Understanding Coolbits
|
## Understanding Coolbits
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue