| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| start [2023/11/25 09:48] – [brimble.com Wiki Page] dirk | start [2024/07/31 18:02] (current) – [Dockers (installed on Ubuntu vm through Portainer)] dirk |
|---|
| * Case: [[equipment:meshify2xl|Fractal Design Meshify 2 XL]] Black ATX Tower Case | * Case: [[equipment:meshify2xl|Fractal Design Meshify 2 XL]] Black ATX Tower Case |
| * Power Supply: [[equipment:seasonicgx750|Seasonic FOCUS GX-750]] 750W 80 Plus Gold Power Supply | * Power Supply: [[equipment:seasonicgx750|Seasonic FOCUS GX-750]] 750W 80 Plus Gold Power Supply |
| * Operating System: [[server:unraid|Unraid]] version 6.11.2 Operating System | * Operating System: [[server:unraid|Unraid]] Operating System |
| * USB Cards: [[equipment:inateckpcie|Inateck PCI-E to USB 3.0]] PCI Express Card (x2: 1 for Monterey, 1 for Win11) | * USB Cards: [[equipment:inateckpcie|Inateck PCI-E to USB 3.0]] PCI Express Card (x2: 1 for Monterey, 1 for Win11) |
| * Other: [[equipment:linkupcable|LINKUP Riser Cable]] PCIE 4.0 x16 Riser Cable (for RX 6600 XT) | * Other: [[equipment:linkupcable|LINKUP Riser Cable]] PCIE 4.0 x16 Riser Cable (for RX 6600 XT) |
| | * KVM: [[equipment:kvm|Depzol]] 2 Port USB 3.0 KVM Switch DisplayPort for 2 Computers, 1 Monitor |
| |
| [[equipment:server|See previous iterations]] | [[equipment:server|See previous iterations]] |
| |
| ---- | ---- |
| | |
| | ===== Travel router with WireGuard VPN on Raspberry Pi ===== |
| | The following link will guide you through setting up a travel router using OpenWRT on a [[equipment:rbpi4|Raspberry Pi 4]]. It should contain all the steps required to configure the [[equipment:rbpi4|Raspberry Pi 4]] to run OpenWRT as a travel router with dual Wifi and a WireGuard VPN connection. |
| | * [[equipment:rbpi_openwrt|Setup OpenWRT on Raspberry Pi]]. |
| | |
| | ---- |
| | ===== Proxmox Setup ===== |
| | The following pages will guide you through the [[server:proxmox|Proxmox]] setup and settings. This was a huge switch from having [[server:unraid|Unraid]] as the barebones system controlling everything to [[server:proxmox|Proxmox]] being the OS. Unraid was then moved to a vm with it's sole purpose being data storage and parity while Proxmox handled the vms. An standalone vm was then installed to handle the Docker responsibilities that Unraid previously had. |
| | ==== Proxmox Install ==== |
| | * [[server:proxmox8.2.4|Install Proxmox Hypervisor]]. |
| | |
| | ==== Virtual Machines ==== |
| | * [[proxmox:virtual:unraid|Install Unraid as a Virtual Machine]]. |
| | * [[proxmox:virtual:monterey|Install OSX as a Virtual Machine]]. |
| | * [[proxmox:virtual:win10|Install Windows as a Virtual Machine]]. |
| | * [[proxmox:virtual:piholeU20.04|Install Pi-hole as a Virtual Machine]]. |
| | * [[proxmox:virtual:openvpnU16.04|Install Virtual Router with OpenVPN as a Virtual Machine on Ubuntu 16.04]]. |
| | * [[proxmox:virtual:portainer|Install Portainer on an Ubuntu Virtual Machine]] to handle docker containers. |
| | |
| | ==== Dockers (installed on Ubuntu vm through Portainer) ==== |
| | * [[portainer:dockers:bazarr|Bazarr]] |
| | * [[portainer:dockers:delugevpn|Deluge VPN]] |
| | * [[portainer:dockers:dokuwiki|Doku Wiki]] |
| | * [[portainer:dockers:minecraft|Minecraft Server]] |
| | * [[portainer:dockers:mysql|MySQL]] |
| | * [[portainer:dockers:nextcloud|Nextcloud]] |
| | * [[portainer:dockers:plex|Plex Media Server]] |
| | * [[portainer:dockers:radarr|Radarr]] |
| | * [[portainer:dockers:sabnzbdvpn|SABnzbd with VPN]] |
| | * [[portainer:dockers:sonarr|Sonarr]] |
| | * [[portainer:dockers:swag|Swag]] |
| | * [[portainer:dockers:tautulli|Tautulli]] |
| | * [[portainer:dockers:tomcat|Tomcat]] |
| | * [[portainer:dockers:unifi-controller|Unifi Controller]] |
| |
| ===== Unraid Setup ===== | ===== Unraid Setup ===== |
| The following pages will guide you through the [[server:unraid|Unraid]] setup and settings. It should contain all the steps gone through to configure brimble.com's [[server:unraid|Unraid]] setup. | The following pages will guide you through the [[server:unraid|Unraid]] setup and settings. It should contain all the steps gone through to configure brimble.com's [[server:unraid|Unraid]] setup. (this is no longer completely accurate as [[server:proxmox|Proxmox]] now runs the system with a basic Unraid running only the storage system (no dockers or vms). |
| ==== Virtual Machines ==== | ==== Virtual Machines ==== |
| * [[unraid:virtual:webpageU20.04|Install www.brimble.com as Unraid Virtual Machine on Ubuntu 20.04]]. | * [[unraid:virtual:monterey|Install OSX as Unraid Virtual Machine]]. |
| * [[unraid:virtual:monterey|Install OSX as Unraid Virtual Machine on Monterey]]. | * [[unraid:virtual:win10|Install Windows as Unraid Virtual Machine]]. |
| * [[unraid:virtual:win10|Install Windows as Unraid Virtual Machine on Windows 10]]. | * [[unraid:virtual:piholeU20.04|Install Pi-hole as Unraid Virtual Machine]]. |
| * [[unraid:virtual:piholeU20.04|Install Pi-hole as Unraid Virtual Machine on Ubuntu 20.04]]. | |
| * [[unraid:virtual:hoobsU20.04|Install Hoobs as Unraid Virtual Machine on Ubuntu 20.04]]. | |
| * [[unraid:virtual:openvpnU16.04|Install Virtual Router with OpenVPN as Unraid Virtual Machine on Ubuntu 16.04]]. | * [[unraid:virtual:openvpnU16.04|Install Virtual Router with OpenVPN as Unraid Virtual Machine on Ubuntu 16.04]]. |
| | * [[unraid:virtual:hoobsU20.04|Install Hoobs as Unraid Virtual Machine on Ubuntu 20.04]]. |
| * [[unraid:virtual:hoobsF33|Install Hoobs as Unraid Virtual Machine on Fedora 33]]. | * [[unraid:virtual:hoobsF33|Install Hoobs as Unraid Virtual Machine on Fedora 33]]. |
| | * [[unraid:virtual:webpageU20.04|Install www.brimble.com as Unraid Virtual Machine on Ubuntu 20.04]]. |
| ==== Dockers ==== | ==== Dockers ==== |
| * [[unraid:dockers:bazarr|Bazarr]] | * [[unraid:dockers:bazarr|Bazarr]] |
| * [[unraid:dockers:tomcat|Tomcat]] | * [[unraid:dockers:tomcat|Tomcat]] |
| * [[unraid:dockers:unifi-controller|Unifi Controller]] | * [[unraid:dockers:unifi-controller|Unifi Controller]] |
| | |
| | ==== Scripts ==== |
| | * fix_mysql_timeouts |
| | <code>#!/bin/bash |
| | declare -r dockern="mysql" |
| | echo "checking if my.cnf is already updated" |
| | docker exec $dockern grep -q "wait_timeout = 600" /etc/my.cnf && a=1 || a=0 |
| | if [ $a == 1 ] |
| | then |
| | echo "it has already been updated... no changes made" |
| | else |
| | echo "it has not been updated... updating my.cnf to include new wait_timeout, interactive_timeout, and max_connection variables" |
| | docker exec $dockern sed -i '/user=mysql/a wait_timeout = 600\ninteractive_timeout = 600\nmax_connections = 500' /etc/my.cnf |
| | echo "done... restarting docker" |
| | sleep 5 |
| | docker container restart $dockern |
| | fi |
| | echo "script complete"</code> |
| | * fix_tomcat_jar_links |
| | <code>#!/bin/bash |
| | |
| | echo "fixing www.brimble.com" |
| | echo "creating simlinks for javax.activation.jar" |
| | docker exec website ln -sf /usr/local/tomcat/webapps/jar/javax.activation-1.2.0.jar /usr/local/tomcat/lib/javax.activation.jar |
| | echo "creating simlinks for javax.mail.jar" |
| | docker exec website ln -sf /usr/local/tomcat/webapps/jar/javax.mail.jar /usr/local/tomcat/lib/javax.mail.jar |
| | echo "creating simlinks for mysql-connector-java.jar" |
| | docker exec website ln -sf /usr/local/tomcat/webapps/jar/mysql-connector-j-8.0.32.jar /usr/local/tomcat/lib/mysql-connector-java.jar |
| | echo "done... restarting www.brimble.com" |
| | sleep 5 |
| | docker container restart website |
| | |
| | echo "fixing games.brimble.com" |
| | echo "creating simlinks for javax.activation.jar" |
| | docker exec games ln -sf /usr/local/tomcat/webapps/jar/javax.activation-1.2.0.jar /usr/local/tomcat/lib/javax.activation.jar |
| | echo "creating simlinks for javax.mail.jar" |
| | docker exec games ln -sf /usr/local/tomcat/webapps/jar/javax.mail.jar /usr/local/tomcat/lib/javax.mail.jar |
| | echo "creating simlinks for mysql-connector-java.jar" |
| | docker exec games ln -sf /usr/local/tomcat/webapps/jar/mysql-connector-j-8.0.32.jar /usr/local/tomcat/lib/mysql-connector-java.jar |
| | echo "done... restarting games.brimble.com" |
| | sleep 5 |
| | docker container restart games |
| | |
| | echo "done"</code> |
| | * minecraft_backup |
| | <code>#!/bin/bash |
| | sudo rsync -av --delete /mnt/disks/samsung_nvme/appdata/binhex-minecraftOreCity/minecraft/worlds/ /mnt/user/backup/minecraft/orecity/worlds/ |
| | sudo rsync -av --delete /mnt/disks/samsung_nvme/appdata/binhex-minecraftDirkland/minecraft/worlds/ /mnt/user/backup/minecraft/dirkland/worlds/ |
| | sudo rsync -av --delete /mnt/disks/samsung_nvme/appdata/binhex-minecraftDirklandII/minecraft/worlds/ /mnt/user/backup/minecraft/dirklandII/worlds/ |
| | cd /mnt/user/backup/minecraft/orecity |
| | tar -pzvcf $(date +%Y.%m.%d.%H.%M.%S).tar.gz worlds |
| | cd /mnt/user/backup/minecraft/dirkland |
| | tar -pzvcf $(date +%Y.%m.%d.%H.%M.%S).tar.gz worlds |
| | cd /mnt/user/backup/minecraft/dirklandII |
| | tar -pzvcf $(date +%Y.%m.%d.%H.%M.%S).tar.gz worlds</code> |
| | * mysql_database_backup |
| | <code>docker exec mysql /usr/bin/mysqldump -u"USERNAMEWITHNOQUOTES" -p"PASSWORDWITHNOQUOTES" --databases airports bracket casino chrono fantasy football logbook ncaab ncaaf nextcloud photoprism poker toddcard walk > /mnt/user/backup/webpage/mysql/mysqldump.sql |
| | cd /mnt/user/backup/webpage/mysql/ |
| | tar -pzvcf $(date +%Y.%m.%d.%H.%M.%S).tar.gz mysqldump.sql</code> |
| |
| ---- | ---- |
| | ===== Depzol Hot Keys ===== |
| | * Hotkey Change: |
| | * Double click right CTRL then the new Hotkey you want then Enter (ie: CTRL CTRL NUMLOCK ENTER) |
| | * Turn on/off beep: |
| | * Double click Hotkey then B then Enter (ie: CTRL CTRL B ENTER) |
| | * Reset KVM: |
| | * Double click Hotkey then R then Enter (ie: CTRL CTRL R ENTER) |
| |
| ===== Standalone Server Setup ===== | ===== Standalone Server Setup ===== |