vault backup: 2024-05-15 19:12:54
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# Allgemein
|
||||
## Enable root ssh
|
||||
|
||||
|
||||
```
|
||||
nano /etc/ssh/sshd_config
|
||||
```
|
||||
|
||||
Folgende Zeile entsprechend anpassen:
|
||||
|
||||
```
|
||||
PermitRootLogin yes
|
||||
```
|
||||
|
||||
```
|
||||
systemctl restart sshd
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
|
||||
|
||||
## ZFS Pool zuweisen
|
||||
|
||||
```
|
||||
chmod -R 777 /wd/media
|
||||
pct set 105 --mp1 /wd/media,mp=/root/metube/media
|
||||
pct set 108 --mp1 /wd/media,mp=/mnt/media
|
||||
```
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
## Starten
|
||||
|
||||
```
|
||||
cd /home/minecraft-vanilla
|
||||
```
|
||||
|
||||
```
|
||||
java -Xmx1024M -Xms1024M -jar server.jar nogui
|
||||
```
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
# Postgresql für andere im Netz zugänglich machen
|
||||
|
||||
im Ordner ``PostgreSQL/16/data`` in die Datei ``pg_hba.conf`` einfügen, folgendes einfügen:
|
||||
|
||||
```
|
||||
host all all IP/MASK scram-sha-256
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
Update server: https://github.com/techahold/rustdeskinstall
|
||||
|
||||
`wget https://raw.githubusercontent.com/techahold/rustdeskinstall/master/update.sh
|
||||
chmod +x update.sh
|
||||
./update.sh
|
||||
`
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
Cron Aufgaben bearbeiten:
|
||||
crontab -e
|
||||
|
||||
Tempstation:
|
||||
@reboot sleep 20 && screen -dmS temp-station bash -c 'cd /home/temperature_station/; ./server;'
|
||||
|
||||
Minecraft Velocity:
|
||||
@reboot sleep 30 && screen -dmS mc-velocity bash -c 'cd /home/velocity; java -jar velocity.jar;'
|
||||
|
||||
Minecraft Paper:
|
||||
@reboot sleep 30 && screen -dmS mc-paper bash -c 'cd /home/paper; java -Xmx4G -Xms4G -jar server.jar --nogui;'
|
||||
|
||||
MeTube: !!!Not working!!!
|
||||
@reboot sleep 30 && screen -dmS metube bash -c 'cd /metube; pipenv run python3 app/main.py;'
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
# IP's
|
||||
|
||||
| Geräte Name | IP | Address |
|
||||
| --------------- | ------------ | ------------------------------------------------ |
|
||||
| VPS | 10.7.0.1/24 | |
|
||||
| StandPC | 10.7.0.2/24 | |
|
||||
| MatthiasHandy | 10.7.0.3/24 | |
|
||||
| MatthiasSurface | 10.7.0.4/24 | |
|
||||
| ProxmoxRose | 10.7.0.5/24 | https://10.7.0.5:8006/ |
|
||||
| TrueNAS | 10.7.0.6/24 | https://10.7.0.6/ui/sessions/signin |
|
||||
| Shinobi | 10.7.0.7/24 | http://10.7.0.7:8080/ |
|
||||
| Paperless | 10.7.0.8/24 | http://10.7.0.8:8000/ |
|
||||
| MeTube | 10.7.0.9/24 | http://10.7.0.9:8081/ |
|
||||
| OctoprintPI | 10.7.0.10/24 | http://10.7.0.10/login |
|
||||
| Jellyfin | 10.7.0.11/24 | http://10.7.0.11:8096/web/index.html#!/home.html |
|
||||
| OpenMediaVault | 10.7.0.12/24 | http://10.7.0.12/#/login |
|
||||
| StirlingPDF | 10.7.0.13/24 | http://10.7.0.13:8080/ |
|
||||
| Proxmox | 10.7.0.14/24 | https://10.7.0.14:8006/ |
|
||||
| Minecraft | 10.7.0.15/24 | |
|
||||
| Dashy | 10.7.0.16/24 | http://10.7.0.16:4000/ |
|
||||
| Gitea | 10.7.0.17/24 | http://10.7.0.17:3000/ |
|
||||
|
||||
---
|
||||
|
||||
# Wireguard
|
||||
|
||||
## Installieren
|
||||
|
||||
```
|
||||
apt install wireguard
|
||||
|
||||
wg-quick up wg0
|
||||
|
||||
wg show
|
||||
```
|
||||
|
||||
## Als Service einrichten
|
||||
|
||||
```
|
||||
systemctl enable wg-quick@wg0.service
|
||||
systemctl daemon-reload
|
||||
|
||||
systemctl start wg-quick@wg0
|
||||
systemctl status wg-quick@wg0
|
||||
```
|
||||
|
||||
## Als Service entfernen
|
||||
|
||||
```
|
||||
systemctl stop wg-quick@wg0
|
||||
systemctl disable wg-quick@wg0.service
|
||||
rm -i /etc/systemd/system/wg-quick@wg0*
|
||||
systemctl daemon-reload sudo systemctl reset-failed
|
||||
```
|
||||
|
||||
## Resolve
|
||||
|
||||
```
|
||||
apt install openresolv
|
||||
```
|
||||
|
||||
DNS = 8.8.8.8, 8.8.4.4
|
||||
|
||||
Reference in New Issue
Block a user