User Tools

Site Tools


start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
start [2023/11/25 11:21] – [Scripts] dirkstart [2024/07/31 18:02] (current) – [Dockers (installed on Ubuntu vm through Portainer)] dirk
Line 20: Line 20:
   * 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]]
Line 44: Line 45:
  
 ---- ----
 +
 +===== 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]]
Line 78: Line 113:
 <code>#!/bin/bash <code>#!/bin/bash
 declare -r dockern="mysql" declare -r dockern="mysql"
-echo "updating my.cnf to include new wait_timeout, interactive_timeout, and max_connections variables" +echo "checking if my.cnf is already updated" 
-docker exec $dockern sed -i '/user=mysql/a wait_timeout = 600\ninteractive_timeout = 600\nmax_connections = 500' /etc/my.cnf +docker exec $dockern grep -q "wait_timeout = 600" /etc/my.cnf && a=1 || a=0 
-echo "done... restarting docker"+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 sleep 5
 docker container restart $dockern docker container restart $dockern
-echo "done"</code>+fi 
 +echo "script complete"</code>
   * fix_tomcat_jar_links   * fix_tomcat_jar_links
 <code>#!/bin/bash <code>#!/bin/bash
Line 122: Line 164:
 tar -pzvcf $(date +%Y.%m.%d.%H.%M.%S).tar.gz worlds</code> tar -pzvcf $(date +%Y.%m.%d.%H.%M.%S).tar.gz worlds</code>
   * mysql_database_backup   * mysql_database_backup
-<code>docker exec mysql /usr/bin/mysqldump -udirk -pwhirlwind --databases airports bracket casino chrono fantasy football logbook ncaab ncaaf nextcloud photoprism poker toddcard walk > /mnt/user/backup/webpage/mysql/mysqldump.sql+<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/ cd /mnt/user/backup/webpage/mysql/
 tar -pzvcf $(date +%Y.%m.%d.%H.%M.%S).tar.gz mysqldump.sql</code> 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 =====
start.1700932885.txt.gz · Last modified: by dirk